]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt.h
net/bnxt: fix config RSS update
[dpdk.git] / drivers / net / bnxt / bnxt.h
index 35795050946a91fa265fc1f0e660cf5c00f6ae18..65f716b96918dde2c2089f482d1b354aef7fbb94 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)