]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igbvf: convert to ndo_fix_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 30 Aug 2011 17:07:11 +0000 (17:07 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 13:20:45 +0000 (21:20 +0800)
commit8eedbbb3d11ac61c752be2e6a6998b07ce842eb0
tree0f9fccb2f889f77c3de19ae696f90e5971832465
parent169d2335cca74d8b93d5f23345944a07f496a4da
igbvf: convert to ndo_fix_features

Private rx_csum flags are now duplicate of netdev->features & NETIF_F_RXCSUM.
Removing this needs deeper surgery.

Things noticed:
 - HW VLAN acceleration probably can be toggled, but it's left as is
 - the resets on RX csum offload change can probably be avoided
 - there is A LOT of copy-and-pasted code here

(cherry picked from commit fd38f734cb8200529e281338514945fcbff2364b)
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igbvf/ethtool.c
drivers/net/igbvf/netdev.c