af_xdp: integrate with new tx infra
[vpp.git] / src / plugins / af_xdp / af_xdp.h
index 85c8fee..84fc65f 100644 (file)
@@ -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