net/sfc: make flow list engine-agnostic
[dpdk.git] / drivers / net / sfc / sfc.h
index ecd20e5..2520cf2 100644 (file)
@@ -108,6 +108,7 @@ struct sfc_intr {
        efx_intr_type_t                 type;
        rte_intr_callback_fn            handler;
        boolean_t                       lsc_intr;
+       boolean_t                       rxq_intr;
 };
 
 struct sfc_rxq;
@@ -134,7 +135,7 @@ struct sfc_port {
        boolean_t                       promisc;
        boolean_t                       allmulti;
 
-       struct ether_addr               default_mac_addr;
+       struct rte_ether_addr           default_mac_addr;
 
        unsigned int                    max_mcast_addrs;
        unsigned int                    nb_mcast_addrs;
@@ -241,6 +242,8 @@ struct sfc_adapter {
        struct sfc_port                 port;
        struct sfc_filter               filter;
 
+       struct sfc_flow_list            flow_list;
+
        unsigned int                    rxq_max;
        unsigned int                    txq_max;