]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: convert to ndo_fix_features
authorDon Skidmore <donald.c.skidmore@intel.com>
Thu, 21 Jul 2011 05:55:00 +0000 (05:55 +0000)
committerJoe Jin <joe.jin@oracle.com>
Fri, 3 Feb 2012 01:21:16 +0000 (09:21 +0800)
commit43d1ff19599c12438c64d01cf7df5476d2666a6b
tree71c6a995127c620c313a3e5b59aa0e18696ae52e
parenta7526aa2f2358d71a5f755d25b09c9f40951770f
ixgbe: convert to ndo_fix_features

Private rx_csum flags are now duplicate of netdev->features &
NETIF_F_RXCSUM.  We remove those duplicates and now use the net_device_ops
ndo_set_features.  This was based on the original patch submitted by
Michal Miroslaw <mirq-linux@rere.qmqm.pl>.  I also removed the special
case not requiring a reset for X540 hardware.  It is needed just as it is
in 82599 hardware.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Cc: Michal Miroslaw <mirq-linux@rere.qmqm.pl>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 082757afcf7d6e44b24c4927ce5b158196d63e84)

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