diff options
author | Paul Durrant <Paul.Durrant@citrix.com> | 2013-10-16 12:50:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-17 15:35:17 -0400 |
commit | 82cada22a0bbec6a7afb573ef5fb6c512aaa2739 (patch) | |
tree | 509d5a4bea1dc636885572a4c5d85e9e7bbce32b /include/xen | |
parent | a94685876859be30446357db6d6c4a9c951305b4 (diff) |
xen-netback: enable IPv6 TCP GSO to the guest
This patch adds code to handle SKB_GSO_TCPV6 skbs and construct appropriate
extra or prefix segments to pass the large packet to the frontend. New
xenstore flags, feature-gso-tcpv6 and feature-gso-tcpv6-prefix, are sampled
to determine if the frontend is capable of handling such packets.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/interface/io/netif.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xen/interface/io/netif.h b/include/xen/interface/io/netif.h index 5e766ebe77f6..c50061db6098 100644 --- a/include/xen/interface/io/netif.h +++ b/include/xen/interface/io/netif.h | |||
@@ -110,6 +110,7 @@ struct xen_netif_tx_request { | |||
110 | #define XEN_NETIF_EXTRA_FLAG_MORE (1U<<_XEN_NETIF_EXTRA_FLAG_MORE) | 110 | #define XEN_NETIF_EXTRA_FLAG_MORE (1U<<_XEN_NETIF_EXTRA_FLAG_MORE) |
111 | 111 | ||
112 | /* GSO types */ | 112 | /* GSO types */ |
113 | #define XEN_NETIF_GSO_TYPE_NONE (0) | ||
113 | #define XEN_NETIF_GSO_TYPE_TCPV4 (1) | 114 | #define XEN_NETIF_GSO_TYPE_TCPV4 (1) |
114 | #define XEN_NETIF_GSO_TYPE_TCPV6 (2) | 115 | #define XEN_NETIF_GSO_TYPE_TCPV6 (2) |
115 | 116 | ||