]> 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)
commitc78c15ec63311fcfb7cfedeebd79b62ca167eaba
treeacad792fc90ac7d55974729f3b591e75b0f591dd
parent3d16ddc7af598a76f906f4f5fc22b3e4aa4257b7
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 077a7d23d7.

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