]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Correct flag values set by ixgbe_fix_features
authorJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:46:31 +0000 (23:46 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:46:31 +0000 (23:46 +0800)
commit4407c6d0af1d4e5fcf2f731816e430e99830a500
tree32def460f315ceb53377c9272222756a1abda883
parentb9b7ad00e12a31bc8fc91f0fd0fa159971889602
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.

(cherry picked from commit 567d2de291b5ddb83654c5e87c14b4c6fa7216ed)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c