net/cxgbe: fix port ID in Rx mbuf
[dpdk.git] / drivers / net / sfc / sfc_flow_rss.h
index e9f798a..2ed81dc 100644 (file)
@@ -20,6 +20,7 @@ extern "C" {
 
 struct sfc_flow_rss_conf {
        uint8_t                         key[EFX_RSS_KEY_SIZE];
+       enum rte_eth_hash_function      rte_hash_function;
        efx_rx_hash_type_t              efx_hash_types;
        unsigned int                    nb_qid_offsets;
        unsigned int                    qid_span;
@@ -42,9 +43,11 @@ struct sfc_flow_rss_ctx {
 TAILQ_HEAD(sfc_flow_rss_ctx_list, sfc_flow_rss_ctx);
 
 struct sfc_flow_rss {
+       unsigned int                    nb_tbl_entries_min;
+       unsigned int                    nb_tbl_entries_max;
        unsigned int                    qid_span_max;
 
-       unsigned int                    bounce_tbl[EFX_RSS_TBL_SIZE];
+       unsigned int                    *bounce_tbl; /* MAX */
 
        struct sfc_flow_rss_ctx_list    ctx_list;
 };