]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ev.h
test/distributor: test single and burst API
[dpdk.git] / drivers / net / sfc / sfc_ev.h
index f38e6b8daf3d1de459bbbcff1e834139d82e70c9..346e3ec328371c295e9c497de17016f89bdebae2 100644 (file)
@@ -41,6 +41,7 @@ extern "C" {
 
 struct sfc_adapter;
 struct sfc_rxq;
+struct sfc_txq;
 
 enum sfc_evq_state {
        SFC_EVQ_UNINITIALIZED = 0,
@@ -58,6 +59,7 @@ struct sfc_evq {
        boolean_t               exception;
        efsys_mem_t             mem;
        struct sfc_rxq          *rxq;
+       struct sfc_txq          *txq;
 
        /* Not used on datapath */
        struct sfc_adapter      *sa;
@@ -72,6 +74,8 @@ struct sfc_evq_info {
        unsigned int            max_entries;
        /* Real number of EVQ entries, less or equal to max_entries */
        unsigned int            entries;
+       /* Event queue creation flags */
+       uint32_t                flags;
        /* NUMA-aware EVQ data structure used on datapath */
        struct sfc_evq          *evq;
 };