diff options
author | arikachen <eaglesora@gmail.com> | 2021-11-10 08:51:51 +0000 |
---|---|---|
committer | arikachen <eaglesora@gmail.com> | 2021-11-19 02:10:11 +0000 |
commit | ad80663eb3fd954f42607168ad4babb91cb0edcc (patch) | |
tree | 7fb5a6d49f91e84e8c15a3dbfa612a02cfbfa2f7 /src/plugins/af_xdp/af_xdp.h | |
parent | 57bdb26ba42c3fc6da601d007b27fa5c3f09dd96 (diff) |
af_xdp: integrate with new tx infra
Type: improvement
Signed-off-by: arikachen <eaglesora@gmail.com>
Signed-off-by: BenoƮt Ganne <bganne@cisco.com>
Change-Id: If8d57bcf033864935bd5e3a9912b2c1a7c712f44
Diffstat (limited to 'src/plugins/af_xdp/af_xdp.h')
-rw-r--r-- | src/plugins/af_xdp/af_xdp.h | 4 |
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 |