Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disabling LRO using ethtool?

My NIC driver does not support H/W LRO but emulates LRO in the driver. Now GRO (which is a linux network stack feature) can be disabled using 'ethtool -k ethx gro off'. Is that available for LRO as well? i know most distros have either LRO or GRO. So if LRO is disabled using ethtool does it imply turning off the H/W LRO feature or the LRO emulation feature that i do in my driver?

like image 1000
smam Avatar asked May 26 '11 04:05

smam


1 Answers

Yes, if your ethtool is new enough.

On my Ubuntu box (Natty Narwhal), "man ethtool" and "ethtool --help" show that LRO is controlled just like GRO; i.e.

ethtool -K ethX lro off

Run "ethtool --help | grep lro" to see if yours supports it.

like image 91
Nemo Avatar answered Oct 18 '22 15:10

Nemo