How to write a NetworkManager dispatcher script to apply ethtool commands?

Solution Verified - Updated -

Issue

  • How to write a NetworkManager dispatcher script to apply ethtool commands?
  • Need to apply ethtool offloading to a network interface at boot or startup?
  • What is the correct syntax for a NM dispatcher script to enable or disable offloading like checksumming or large receive (GSO/LRO) or segmentation (GRO/LSO)?

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • NetworkManager used to manage network connections
  • Network interface supporting configurable offload via ethtool -K commands

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content