aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-17 23:44:53 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-05-18 06:39:27 +0000
commit1d7a663f4b86f1d14b77fef13672a17fb02d6144 (patch)
treee6ebc5d04da72f76cf01f30e2187f47945b25d1c /src/vnet/session/session.h
parentbaedaf374d5a060e418d1548bac4db1e0f443532 (diff)
session: move tx-buffers to tx ctx
Type: refactor Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I10ec410fb7f3acb47128dda23510162dc13b20d0
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index 245ec25f135..7bf1b7d8b30 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -56,6 +56,9 @@ typedef struct session_tx_context_
u8 n_bufs_per_seg;
CLIB_CACHE_LINE_ALIGN_MARK (cacheline1);
session_dgram_hdr_t hdr;
+
+ /** Vector of tx buffer free lists */
+ u32 *tx_buffers;
} session_tx_context_t;
typedef struct session_evt_elt
@@ -115,9 +118,6 @@ typedef struct session_worker_
/** Context for session tx */
session_tx_context_t ctx;
- /** Vector of tx buffer free lists */
- u32 *tx_buffers;
-
/** Pool of session event list elements */
session_evt_elt_t *event_elts;