net: Eliminate NETIF_F_GEN_CSUM and NETIF_F_V[46]_CSUM
authorTom Herbert <tom@herbertland.com>
Mon, 14 Dec 2015 19:19:44 +0000 (11:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 21:50:20 +0000 (16:50 -0500)
commitc8cd0989bd151fda87bbf10887b3df18021284bc
tree714a0169000dfa3c7456e69b58da887159b71586
parenta188222b6ed29404ac2d4232d35d1fe0e77af370
net: Eliminate NETIF_F_GEN_CSUM and NETIF_F_V[46]_CSUM

These netif flags are unnecessary convolutions. It is more
straightforward to just use NETIF_F_HW_CSUM, NETIF_F_IP_CSUM,
and NETIF_F_IPV6_CSUM directly.

This patch also:
    - Cleans up can_checksum_protocol
    - Simplifies netdev_intersect_features

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
drivers/net/ethernet/sfc/efx.c
drivers/net/macvlan.c
include/linux/if_vlan.h
include/linux/netdev_features.h
include/linux/netdevice.h
net/core/dev.c
net/core/pktgen.c
net/ipv4/ip_output.c
net/ipv4/netfilter/nf_nat_l3proto_ipv4.c
net/ipv4/udp.c
net/ipv4/udp_offload.c
net/ipv6/ip6_output.c
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c