net/bnxt: fix config RSS update
[dpdk.git] / drivers / net / bnxt / bnxt.h
index 3579505..65f716b 100644 (file)
@@ -176,6 +176,7 @@ struct bnxt {
        void                            *bar0;
 
        struct rte_eth_dev              *eth_dev;
+       struct rte_eth_rss_conf         rss_conf;
        struct rte_pci_device           *pdev;
 
        uint32_t                flags;
@@ -184,6 +185,7 @@ struct bnxt {
 #define BNXT_FLAG_PORT_STATS   (1 << 2)
 #define BNXT_FLAG_JUMBO                (1 << 3)
 #define BNXT_FLAG_SHORT_CMD    (1 << 4)
+#define BNXT_FLAG_UPDATE_HASH  (1 << 5)
 #define BNXT_PF(bp)            (!((bp)->flags & BNXT_FLAG_VF))
 #define BNXT_VF(bp)            ((bp)->flags & BNXT_FLAG_VF)
 #define BNXT_NPAR_ENABLED(bp)  ((bp)->port_partition_type)