]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ixgbe: Correct flag values set by ixgbe_fix_features
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 11 Feb 2012 07:18:57 +0000 (07:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Mar 2012 20:43:34 +0000 (13:43 -0700)
commit567d2de291b5ddb83654c5e87c14b4c6fa7216ed
treedb6880b7bf8ced1a59c1ea47d60ae22408292914
parentef6afc0caceebb3b49cd384f8c634f89f5089997
ixgbe: Correct flag values set by ixgbe_fix_features

This patch replaces the variable name data with the variable name features
for ixgbe_fix_features and ixgbe_set_features.  This helps to make some
issues more obvious such as the fact that we were disabling Rx VLAN tag
stripping when we should have been forcing it to be enabled when DCB is
enabled.

In addition there was deprecated code present that was disabling the LRO
flag if we had the itr value set too low.  I have updated this logic so
that we will now allow the LRO flag to be set, but will not enable RSC
until the rx-usecs value is high enough to allow enough time for Rx packet
coalescing.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c