aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/af_xdp/af_xdp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/af_xdp/af_xdp.h')
-rw-r--r--src/plugins/af_xdp/af_xdp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/af_xdp/af_xdp.h b/src/plugins/af_xdp/af_xdp.h
index 85c8fee545d..84fc65f7674 100644
--- a/src/plugins/af_xdp/af_xdp.h
+++ b/src/plugins/af_xdp/af_xdp.h
@@ -86,6 +86,10 @@ typedef struct
struct xsk_ring_prod tx;
struct xsk_ring_cons cq;
int xsk_fd;
+
+ /* fields below are accessed in control-plane only (cold) */
+
+ u32 queue_index;
} af_xdp_txq_t;
typedef struct