FS#30332 - Make ethtool settings persist across reboots

Attached to Project: Arch Linux
Opened by Curtis (foxcm2000) - Sunday, 17 June 2012, 17:19 GMT
Last edited by Ionut Biru (wonder) - Sunday, 17 June 2012, 18:16 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I have a gigabit ethernet card (Intel 82574L) that I use with jumbo frames. Changes to the kernel driver for this card require me to disable either receive checksum offloading or receive hashing in order to actually turn on the jumbo frame support. I made the necessary changes using ethtool and everything is works fine, but the settings do not persist across reboots.

My feature request is that the networking configuration packages should be able to include settings for ethtool to be called during initialization of the network card. In my case, I'd need ethtool to be run *prior* to the setting of the MTU in the network configuration. From my limited understanding, ethtool is doing low-level hardware configuration of the card, while ifconfig (or the newer "ip" commmand) do the higher level stuff like setting up the network address. I think MTU falls in a gray area, but the ifconfig or "ip link" commands do MTU right now.

If there is an alternative way to doing the operation that would be great too. For example, I looked at the /sys directory for my NIC, but I didn't see any file that would provide an interface to turn features on and off for my NIC.

This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 17 June 2012, 18:16 GMT
Reason for closing:  Not a bug
Additional comments about closing:  netcfg supports PRE_UP statements. This feature doesn't belong in the default networking stack
Comment by Ionut Biru (wonder) - Sunday, 17 June 2012, 17:32 GMT
netcfg has support for pre-up support.
Comment by Curtis (foxcm2000) - Sunday, 17 June 2012, 17:56 GMT
Thanks for the note about PRE_UP support.. that might be the trick that I need. (Believe it or not I did try to RTFM, but I was mostly looking for ethtool specific references). I'll try to mess around with this when I get the chance and I may add an entry to the Wiki if I can get a working solution.

Loading...