]> git.baikalelectronics.ru Git - kernel.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)
commitbf465e60b521337c2da7726ee74dbeedcd9b589f
tree3bd62a02d6a024cf022a4a129607ca08716e26d0
parent458dcb6bf0a6dbc68eb64ac6c1a2ea2b48cc5178
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