diff options
author | Anand Kumar <kumaranand@vmware.com> | 2017-05-04 15:12:53 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-05-08 10:01:39 -0400 |
commit | ac8df9f674428e5dfc824deab917cb904afa4461 (patch) | |
tree | 2bb51f2b9d30b018e7efcd15487b9aa4b795e09b /datapath-windows/ovsext/Geneve.c | |
parent | 39ccaaf7d1f819cb0fd796f3bdb3c2c8b17f24ed (diff) | |
download | openvswitch-ac8df9f674428e5dfc824deab917cb904afa4461.tar.gz |
datapath-windows: Updated OvsTcpSegmentNBL to handle IP fragments.
With this patch, OvsTcpSegmentNBL not only supports fragmenting NBL
to TCP segments but also Ipv4 fragments.
To reflect the new changes, renamed function name from OvsTcpSegmentNBL
to OvsFragmentNBL and created a wrapper for OvsTcpSegmentNBL.
Signed-off-by: Anand Kumar <kumaranand@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Diffstat (limited to 'datapath-windows/ovsext/Geneve.c')
-rw-r--r-- | datapath-windows/ovsext/Geneve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/Geneve.c b/datapath-windows/ovsext/Geneve.c index 1938aaa57..43374e232 100644 --- a/datapath-windows/ovsext/Geneve.c +++ b/datapath-windows/ovsext/Geneve.c @@ -118,7 +118,7 @@ NDIS_STATUS OvsEncapGeneve(POVS_VPORT_ENTRY vport, if (mss) { OVS_LOG_TRACE("l4Offset %d", layers->l4Offset); *newNbl = OvsTcpSegmentNBL(switchContext, curNbl, layers, - mss, headRoom); + mss, headRoom, FALSE); if (*newNbl == NULL) { OVS_LOG_ERROR("Unable to segment NBL"); return NDIS_STATUS_FAILURE; |