diff options
author | Paul Durrant <Paul.Durrant@citrix.com> | 2013-10-16 20:50:28 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-17 23:35:14 +0400 |
commit | 146c8a77d27bcbd7722120f70f51e3b287205d0a (patch) | |
tree | b7ce7bf02f0967015366284281e31468a45508cf /drivers/net/xen-netback/common.h | |
parent | c0f4ace79e7e5bec0ff065c4afa3eb3329c9384c (diff) | |
download | linux-146c8a77d27bcbd7722120f70f51e3b287205d0a.tar.xz |
xen-netback: add support for IPv6 checksum offload to guest
Check xenstore flag feature-ipv6-csum-offload to determine if a
guest is happy to accept IPv6 packets with only partial checksum.
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 'drivers/net/xen-netback/common.h')
-rw-r--r-- | drivers/net/xen-netback/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h index 5715318d6bab..b4a9a3c844b2 100644 --- a/drivers/net/xen-netback/common.h +++ b/drivers/net/xen-netback/common.h @@ -153,7 +153,8 @@ struct xenvif { u8 can_sg:1; u8 gso:1; u8 gso_prefix:1; - u8 csum:1; + u8 ip_csum:1; + u8 ipv6_csum:1; /* Internal feature information. */ u8 can_queue:1; /* can queue packets for receiver? */ |