From 1d7a663f4b86f1d14b77fef13672a17fb02d6144 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 17 May 2021 23:44:53 -0700 Subject: session: move tx-buffers to tx ctx Type: refactor Signed-off-by: Florin Coras Change-Id: I10ec410fb7f3acb47128dda23510162dc13b20d0 --- src/vnet/session/session.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vnet/session/session.h') 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; -- cgit 1.2.3-korg