]> git.proxmox.com Git - mirror_ifupdown2.git/commit
This commit adds the feature to change offloads for nics.
authorSven Auhagen <Sven.Auhagen@voleatech.de>
Tue, 30 Jul 2019 17:59:34 +0000 (19:59 +0200)
committerSven Auhagen <Sven.Auhagen@voleatech.de>
Tue, 30 Jul 2019 17:59:34 +0000 (19:59 +0200)
commitebd1f30695671fda33f4430a5ac36437217dd3ea
tree47be4c1b8c4c197bd06dff079fa35ebb7bcd202d
parent5e8a4802f1a892642803a51eef302e2a5754e5b6
This commit adds the feature to change offloads for nics.
Currently GRO, LRO GSO, TSO, UFO, TX and RX Offload are supported.

One can read the current value with ethtool -k NICNAME.
Values are set with ethtool -K NICNAME gro on lro on gso on tso on ufo on tx on rx on

An example for the config file is:

iface eth0 static
gro-offload no

The default value will be kept in the statemanager. The default value might differ depending on the NIC and is saved upon the first change.
ifupdown2/addons/ethtool.py