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>
This commit is contained in:

committed by
David S. Miller

parent
5c7cdf339a
commit
7e13318daa
@@ -471,9 +471,9 @@ enum {
|
||||
|
||||
SKB_GSO_GRE_CSUM = 1 << 8,
|
||||
|
||||
SKB_GSO_IPIP = 1 << 9,
|
||||
SKB_GSO_IPXIP4 = 1 << 9,
|
||||
|
||||
SKB_GSO_SIT = 1 << 10,
|
||||
SKB_GSO_IPXIP6 = 1 << 10,
|
||||
|
||||
SKB_GSO_UDP_TUNNEL = 1 << 11,
|
||||
|
||||
|
Reference in New Issue
Block a user