datapath-windows: Add GRE checksum
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Fri, 17 Jun 2016 20:00:54 +0000 (20:00 +0000)
committerGurucharan Shetty <guru@ovn.org>
Fri, 24 Jun 2016 18:30:30 +0000 (11:30 -0700)
commit9a5b6ddfbd8e6fe63f33eace09fb987a2957c468
treec5870bae7691776fc463e1e76493d3b3dc2f37a1
parentaaca4fe0ce9e90a41b3f4db84be7d05823c733e4
datapath-windows: Add GRE checksum

This patch introduces GRE checksum computation if the userspace requires
it on Tx. On Rx we verify the GRE checksum if the checksum bit was
specified and also inform the userspace about it.

Also fix the GRE header length as specified by the GRE flags not the
tunnel flags.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
datapath-windows/ovsext/Gre.c
datapath-windows/ovsext/Gre.h