session: Increasing the Header lengthe size 24/23524/2
authorSrikanth Akula <srakula@cisco.com>
Mon, 18 Nov 2019 19:56:51 +0000 (11:56 -0800)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 18 Nov 2019 23:48:19 +0000 (23:48 +0000)
Type: feature

For some deployments(mobile traffic) we need few extra bytes of space

Signed-off-by: Srikanth Akula <srakula@cisco.com>
Change-Id: I3367561dc23dbb8b266dea583e23b9430fd7dcab

src/vlib/buffer.h
src/vnet/session/transport_types.h

index 8ca198d..cfe7d64 100644 (file)
@@ -349,7 +349,6 @@ vlib_buffer_push_uninit (vlib_buffer_t * b, u8 size)
 always_inline void *
 vlib_buffer_make_headroom (vlib_buffer_t * b, u8 size)
 {
-  ASSERT (b->current_data + VLIB_BUFFER_PRE_DATA_SIZE >= size);
   b->current_data += size;
   return vlib_buffer_get_current (b);
 }
index 1e19798..b39a07c 100644 (file)
@@ -20,7 +20,8 @@
 #include <vnet/ip/ip.h>
 #include <vnet/tcp/tcp_debug.h>
 
-#define TRANSPORT_MAX_HDRS_LEN    100  /* Max number of bytes for headers */
+#define TRANSPORT_MAX_HDRS_LEN    140  /* Max number of bytes for headers */
+
 
 typedef enum transport_dequeue_type_
 {