summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
authorSimon Zhang <yuwei1.zhang@intel.com>2020-03-31 20:56:22 +0800
committerFlorin Coras <florin.coras@gmail.com>2020-04-08 00:01:05 +0000
commitae16a98199768f6dc6b19a3197df122418e458d2 (patch)
tree3230a0a6a6c236cc1b692b56e51385f219560a2e /src/vnet/session/session.h
parenta8c3b86ebebea357b89ad181bb4c141db4c6505d (diff)
session: alloc exact number of bufs for multi-seg deqs
Type: refactor Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com> Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I11cf806e22158e021a9a405eb4487a9ed6fdbccf
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index a9f965d8f62..5e6e4060e55 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -52,6 +52,7 @@ typedef struct session_tx_context_
u16 deq_per_first_buf;
u16 deq_per_buf;
u16 n_segs_per_evt;
+ u16 n_bufs_needed;
u8 n_bufs_per_seg;
CLIB_CACHE_LINE_ALIGN_MARK (cacheline1);
session_dgram_hdr_t hdr;