diff options
author | Alin Serdean <aserdean@cloudbasesolutions.com> | 2016-02-11 01:38:54 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-02-10 20:34:50 -0800 |
commit | 7b383a56a76e2496f630bcfbc8f9b46f82c62081 (patch) | |
tree | 578bc659fcc8851672bc028c0650b0dfba9938b4 /datapath-windows/ovsext/ovsext.vcxproj | |
parent | 4b7396908d07a1a3576aad8b7ea2602e8fd072b5 (diff) | |
download | openvswitch-7b383a56a76e2496f630bcfbc8f9b46f82c62081.tar.gz |
datapath-windows: Refactor sofware offloads and mss
The purpose of this patch is to refactor the software offloads found in
the VXLAN and GRE code and also to refactor how the maximmum segment
size for a given NBL is obtained.
This patch introduces two functions OvsApplySWChecksumOnNB and OVSGetTcpMSS.
OVSGetTcpMSS - will return the mss found in a given NBL.
OvsApplySWChecksumOnNB - will compute and set software offloads for a given
NBL.
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/ovsext.vcxproj')
-rw-r--r-- | datapath-windows/ovsext/ovsext.vcxproj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datapath-windows/ovsext/ovsext.vcxproj b/datapath-windows/ovsext/ovsext.vcxproj index fd10809dd..7b0ebcfaf 100644 --- a/datapath-windows/ovsext/ovsext.vcxproj +++ b/datapath-windows/ovsext/ovsext.vcxproj @@ -73,7 +73,6 @@ <ClInclude Include="..\include\OvsDpInterfaceExt.h" /> <ClInclude Include="Atomic.h" /> <ClInclude Include="BufferMgmt.h" /> - <ClInclude Include="Checksum.h" /> <ClInclude Include="Datapath.h" /> <ClInclude Include="Debug.h" /> <ClInclude Include="DpInternal.h" /> @@ -89,6 +88,7 @@ <ClInclude Include="Netlink/NetlinkProto.h" /> <ClInclude Include="Netlink\NetlinkError.h" /> <ClInclude Include="NetProto.h" /> + <ClInclude Include="Offload.h" /> <ClInclude Include="Oid.h" /> <ClInclude Include="PacketIO.h" /> <ClInclude Include="PacketParser.h" /> @@ -169,7 +169,6 @@ <ItemGroup> <ClCompile Include="Actions.c" /> <ClCompile Include="BufferMgmt.c" /> - <ClCompile Include="Checksum.c" /> <ClCompile Include="Debug.c" /> <ClCompile Include="Driver.c" /> <ClCompile Include="Event.c" /> @@ -180,6 +179,7 @@ <ClCompile Include="Netlink/Netlink.c" /> <ClCompile Include="Netlink/NetlinkBuf.c" /> <ClCompile Include="Datapath.c" /> + <ClCompile Include="Offload.c" /> <ClCompile Include="Oid.c" /> <ClCompile Include="PacketIO.c" /> <ClCompile Include="PacketParser.c" /> |