net: define gso types for IPx over IPv4 and IPv6
This patch defines two new GSO definitions SKB_GSO_IPXIP4 and SKB_GSO_IPXIP6 along with corresponding NETIF_F_GSO_IPXIP4 and NETIF_F_GSO_IPXIP6. These are used to described IP in IP tunnel and what the outer protocol is. The inner protocol can be deduced from other GSO types (e.g. SKB_GSO_TCPV4 and SKB_GSO_TCPV6). The GSO types of SKB_GSO_IPIP and SKB_GSO_SIT are removed (these are both instances of SKB_GSO_IPXIP4). SKB_GSO_IPXIP6 will be used when support for GSO with IP encapsulation over IPv6 is added. Signed-off-by:Tom Herbert <tom@herbertland.com> Acked-by:
Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 2 additions, 3 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
- drivers/net/ethernet/broadcom/bnxt/bnxt.c 2 additions, 3 deletionsdrivers/net/ethernet/broadcom/bnxt/bnxt.c
- drivers/net/ethernet/intel/i40e/i40e_main.c 1 addition, 2 deletionsdrivers/net/ethernet/intel/i40e/i40e_main.c
- drivers/net/ethernet/intel/i40e/i40e_txrx.c 1 addition, 2 deletionsdrivers/net/ethernet/intel/i40e/i40e_txrx.c
- drivers/net/ethernet/intel/i40evf/i40e_txrx.c 1 addition, 2 deletionsdrivers/net/ethernet/intel/i40evf/i40e_txrx.c
- drivers/net/ethernet/intel/i40evf/i40evf_main.c 1 addition, 2 deletionsdrivers/net/ethernet/intel/i40evf/i40evf_main.c
- drivers/net/ethernet/intel/igb/igb_main.c 1 addition, 2 deletionsdrivers/net/ethernet/intel/igb/igb_main.c
- drivers/net/ethernet/intel/igbvf/netdev.c 1 addition, 2 deletionsdrivers/net/ethernet/intel/igbvf/netdev.c
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 1 addition, 2 deletionsdrivers/net/ethernet/intel/ixgbe/ixgbe_main.c
- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 1 addition, 2 deletionsdrivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
- include/linux/netdev_features.h 6 additions, 6 deletionsinclude/linux/netdev_features.h
- include/linux/netdevice.h 2 additions, 2 deletionsinclude/linux/netdevice.h
- include/linux/skbuff.h 2 additions, 2 deletionsinclude/linux/skbuff.h
- net/core/ethtool.c 2 additions, 2 deletionsnet/core/ethtool.c
- net/ipv4/af_inet.c 1 addition, 1 deletionnet/ipv4/af_inet.c
- net/ipv4/ipip.c 1 addition, 1 deletionnet/ipv4/ipip.c
- net/ipv6/ip6_offload.c 2 additions, 2 deletionsnet/ipv6/ip6_offload.c
- net/ipv6/sit.c 2 additions, 2 deletionsnet/ipv6/sit.c
- net/netfilter/ipvs/ip_vs_xmit.c 7 additions, 10 deletionsnet/netfilter/ipvs/ip_vs_xmit.c
Loading
Please register or sign in to comment