net/ice: support L4 for QinQ switch filter
[dpdk.git] / drivers / net / sfc / sfc.h
index 58b8c2c..331e06b 100644 (file)
@@ -217,6 +217,14 @@ struct sfc_counter_rxq {
        struct rte_mempool              *mp;
 };
 
+struct sfc_sw_xstats {
+       uint64_t                        *reset_vals;
+
+       rte_spinlock_t                  queues_bitmap_lock;
+       void                            *queues_bitmap_mem;
+       struct rte_bitmap               *queues_bitmap;
+};
+
 /* Adapter private data */
 struct sfc_adapter {
        /*
@@ -249,6 +257,7 @@ struct sfc_adapter {
        struct sfc_sriov                sriov;
        struct sfc_intr                 intr;
        struct sfc_port                 port;
+       struct sfc_sw_xstats            sw_xstats;
        struct sfc_filter               filter;
        struct sfc_mae                  mae;