app/testpmd: add command to print representor info
[dpdk.git] / examples / l3fwd / l3fwd_event.h
index b1ae970..3ad1902 100644 (file)
 
 #include "l3fwd.h"
 
+#define L3FWD_EVENT_SINGLE     0x1
+#define L3FWD_EVENT_BURST      0x2
+#define L3FWD_EVENT_TX_DIRECT  0x4
+#define L3FWD_EVENT_TX_ENQ     0x8
+
 typedef uint32_t (*event_device_setup_cb)(void);
 typedef void (*event_queue_setup_cb)(uint32_t event_queue_cfg);
 typedef void (*event_port_setup_cb)(void);
@@ -50,6 +55,7 @@ struct l3fwd_event_setup_ops {
        adapter_setup_cb adapter_setup;
        event_loop_cb lpm_event_loop;
        event_loop_cb em_event_loop;
+       event_loop_cb fib_event_loop;
 };
 
 struct l3fwd_event_resources {