net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK
authorTom Herbert <tom@herbertland.com>
Mon, 14 Dec 2015 19:19:43 +0000 (11:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 21:50:08 +0000 (16:50 -0500)
commita188222b6ed29404ac2d4232d35d1fe0e77af370
tree2fe4ff36f70c2864e3016b904f6bc6bdccacabb8
parent253aab0597d9e16014888639f801ff89df6949c3
net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK

The name NETIF_F_ALL_CSUM is a misnomer. This does not correspond to the
set of features for offloading all checksums. This is a mask of the
checksum offload related features bits. It is incorrect to set both
NETIF_F_HW_CSUM and NETIF_F_IP_CSUM or NETIF_F_IPV6 at the same time for
features of a device.

This patch:
  - Changes instances of NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK (where
    NETIF_F_ALL_CSUM is being used as a mask).
  - Changes bonding, sfc/efx, ipvlan, macvlan, vlan, and team drivers to
    use NEITF_F_HW_CSUM in features list instead of NETIF_F_ALL_CSUM.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
25 files changed:
drivers/net/bonding/bond_main.c
drivers/net/ethernet/emulex/benet/be_main.c
drivers/net/ethernet/ibm/ibmveth.c
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/jme.c
drivers/net/ethernet/marvell/sky2.c
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ipvlan/ipvlan_main.c
drivers/net/macvlan.c
drivers/net/macvtap.c
drivers/net/team/team.c
drivers/net/usb/r8152.c
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c
include/linux/netdev_features.h
include/linux/netdevice.h
include/net/vxlan.h
net/8021q/vlan_dev.c
net/core/dev.c
net/core/ethtool.c
net/ipv4/tcp.c