[ovs-dev] [PATCH v3] datapath-windows: Compute checksums for VXLAN inner packets

Ben Pfaff blp at nicira.com
Fri Oct 2 14:23:16 UTC 2015


On Wed, Sep 30, 2015 at 09:16:55PM +0000, Alin Serdean wrote:
> Windows does not support VXLAN hardware offloading.
> 
> Currently we do not compute IP/TCP/UDP checksums for the inner packet. This
> patch computes the checksums mentioned above in regards with the enabled
> settings.
> 
> i.e. if IP checksum offloading is enabled for the inner packet we compute it.
> The same applies for TCP and UDP packets.
> 
> This patch also revizes the computation of ones' complement over different
> memory blocks, in the case the lengths are odd.
> 
> Also per documentation:
> https://msdn.microsoft.com/en-us/library/windows/hardware/ff568840%28v=vs.85%29.aspx
> set the TCP flags FIN and PSH only for the last segment in the case LSO is
> enabled.
> 
> Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
> Acked-by: Sairam Venugopal <vsairam at vmware.com>
> Acked-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
> ---
> This patch is meant for branch-2.4 as well
> v3 add Acked-by's
> v2 address comments

Applied to master, thanks!



More information about the dev mailing list