xen-netback: enable IPv6 TCP GSO to the guest
authorPaul Durrant <Paul.Durrant@citrix.com>
Wed, 16 Oct 2013 16:50:32 +0000 (17:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2013 19:35:17 +0000 (15:35 -0400)
commit82cada22a0bbec6a7afb573ef5fb6c512aaa2739
tree509d5a4bea1dc636885572a4c5d85e9e7bbce32b
parenta94685876859be30446357db6d6c4a9c951305b4
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>
drivers/net/xen-netback/common.h
drivers/net/xen-netback/interface.c
drivers/net/xen-netback/netback.c
drivers/net/xen-netback/xenbus.c
include/xen/interface/io/netif.h