]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove NETIF_F_ALL_TX_OFFLOADS
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Wed, 13 Jul 2011 14:10:29 +0000 (14:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 22:18:49 +0000 (15:18 -0700)
commit0df89e4d5f6e443bc2ea175fa64c4fd2165f45c8
treeacad792fc90ac7d55974729f3b591e75b0f591dd
parent5f027c8236d21d31c2381b274348899045f5dc22
net: remove NETIF_F_ALL_TX_OFFLOADS

There is no software fallback implemented for SCTP or FCoE checksumming,
and so it should not be passed on by software devices like bridge or bonding.

For VLAN devices, this is different. First, the driver for underlying device
should be prepared to get offloaded packets even when the feature is disabled
(especially if it advertises it in vlan_features). Second, devices under
VLANs do not get replaced without tearing down the VLAN first.

This fixes a mess I accidentally introduced while converting bonding to
ndo_fix_features.

NETIF_F_SOFT_FEATURES are removed from BOND_VLAN_FEATURES because they
are unused as of commit a30decf9f3.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
include/linux/netdevice.h
net/8021q/vlan_dev.c