summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/BufferMgmt.h
diff options
context:
space:
mode:
authorAnand Kumar <kumaranand@vmware.com>2017-05-04 15:12:52 -0700
committerBen Pfaff <blp@ovn.org>2017-05-08 10:01:30 -0400
commit39ccaaf7d1f819cb0fd796f3bdb3c2c8b17f24ed (patch)
tree5e52ef36d254113e8dffcf5e6a1fc4c54a842c77 /datapath-windows/ovsext/BufferMgmt.h
parent45bde0177ad31571e2d4bb5d98b616ddc6131fab (diff)
downloadopenvswitch-39ccaaf7d1f819cb0fd796f3bdb3c2c8b17f24ed.tar.gz
datapath-windows: Retain MRU value in the _OVS_BUFFER_CONTEXT.
This patch introduces a new field MRU(Maximum Recieved Unit) in the _OVS_BUFFER_CONTEXT and it is used only for Ip Fragments to retain MRU for the reassembled IP datagram when the packet is forwarded to userspace. 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/BufferMgmt.h')
-rw-r--r--datapath-windows/ovsext/BufferMgmt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/BufferMgmt.h b/datapath-windows/ovsext/BufferMgmt.h
index 11a05b2c5..294d40af9 100644
--- a/datapath-windows/ovsext/BufferMgmt.h
+++ b/datapath-windows/ovsext/BufferMgmt.h
@@ -58,9 +58,10 @@ typedef union _OVS_BUFFER_CONTEXT {
UINT32 origDataLength;
UINT32 dataOffsetDelta;
};
+ UINT16 mru;
};
- UINT64 value[MEM_ALIGN_SIZE(16) >> 3];
+ UINT64 value[MEM_ALIGN_SIZE(32) >> 3];
} OVS_BUFFER_CONTEXT, *POVS_BUFFER_CONTEXT;
typedef struct _OVS_NBL_POOL {