]> git.karo-electronics.de Git - linux-beck.git/commit
ixgbe: enable extremely low latency
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 27 Apr 2010 01:37:20 +0000 (01:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 19:53:27 +0000 (12:53 -0700)
commitf8d1dcaf88bddc7f282722ec1fdddbcb06a72f18
tree3bd62a02d6a024cf022a4a129607ca08716e26d0
parentec857fd40da41d7c50d9a97e07e364c93b8b8e05
ixgbe: enable extremely low latency

82598/82599 can support EITR == 0, which allows for the
absolutely lowest latency setting in the hardware.  This disables
writeback batching and anything else that relies upon a delayed
interrupt. This patch enables the feature of "override" when a
user sets rx-usecs to zero, the driver will respect that setting
over using RSC, and automatically disable RSC.  If rx-usecs is
used to set the EITR value to 0, then the driver should disable
LRO (aka RSC) internally until EITR is set to non-zero again.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c