]> git.proxmox.com Git - ovs.git/commit
datapath-windows: Improved offloading on STT tunnel
authorPaul Boca <pboca@cloudbasesolutions.com>
Mon, 6 Jun 2016 16:45:00 +0000 (16:45 +0000)
committerBen Pfaff <blp@ovn.org>
Tue, 7 Jun 2016 17:52:05 +0000 (10:52 -0700)
commitc3e85147d9067c9c19451ad36505bcf70eb470b9
tree4cae12c3d7784a86e8b4deebff2b52636fddff8a
parentab7fc30e13b4f07acb659b6801d4f98ddba2f1a6
datapath-windows: Improved offloading on STT tunnel

*Added OvsExtractLayers - populates only the layers field without unnecessary
memory operations for flow part
*If in STT header the flags are 0 then force packets checksums calculation
on receive.
*Ensure correct pseudo checksum is set for LSO both on send and receive.
Linux includes the segment length to TCP pseudo-checksum conforming to
RFC 793 but in case of LSO Windows expects this to be only on
Source IP Address, Destination IP Address, and Protocol.
*Fragment expiration on rx side of STT was set to 30 seconds, but the correct
timeout would be TTL of the packet

Signed-off-by: Paul-Daniel Boca <pboca@cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
datapath-windows/ovsext/Flow.c
datapath-windows/ovsext/Flow.h
datapath-windows/ovsext/PacketParser.c
datapath-windows/ovsext/PacketParser.h
datapath-windows/ovsext/Stt.c
datapath-windows/ovsext/User.c