]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: add support for IPv6 checksum offload from guest
authorPaul Durrant <Paul.Durrant@citrix.com>
Wed, 16 Oct 2013 16:50:29 +0000 (17:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2013 19:35:16 +0000 (15:35 -0400)
commitc428d0fb53a54529112b2c9de87b1a7a1c85ddc7
tree0eb2237b5c36d8ff1bc40d8867150463f7e9b2e9
parent3082e55f7abab6aaa30ea7e34f087d4804ace2ab
xen-netback: add support for IPv6 checksum offload from guest

For performance of VM to VM traffic on a single host it is better to avoid
calculation of TCP/UDP checksum in the sending frontend. To allow this this
patch adds the code necessary to set up partial checksum for IPv6 packets
and xenstore flag feature-ipv6-csum-offload to advertise that fact to
frontends.

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/netback.c
drivers/net/xen-netback/xenbus.c