aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSrikanth Akula <srakula@cisco.com>2019-11-18 11:56:51 -0800
committerFlorin Coras <florin.coras@gmail.com>2019-11-18 23:48:19 +0000
commit93e060aee441e98adf44a72149679a838d7084f3 (patch)
treee9f169e6744f85974bcdce56c83f14aad67e94ab /src
parente140d5d0255b80f8dda945daf7202b5698d81d9b (diff)
session: Increasing the Header lengthe size
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
Diffstat (limited to 'src')
-rw-r--r--src/vlib/buffer.h1
-rw-r--r--src/vnet/session/transport_types.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/buffer.h b/src/vlib/buffer.h
index 8ca198de68e..cfe7d6487b6 100644
--- a/src/vlib/buffer.h
+++ b/src/vlib/buffer.h
@@ -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);
}
diff --git a/src/vnet/session/transport_types.h b/src/vnet/session/transport_types.h
index 1e19798348f..b39a07cd3de 100644
--- a/src/vnet/session/transport_types.h
+++ b/src/vnet/session/transport_types.h
@@ -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_
{