]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_ethdev.h
net/hns3: support RSS
[dpdk.git] / drivers / net / hns3 / hns3_ethdev.h
index a64db643c9e2a0779165ea93e2bf67a2b5ab023b..87e3bbc7ef8ef28f920ef2a0cfc2b579ea094ca6 100644 (file)
@@ -9,6 +9,7 @@
 #include <rte_alarm.h>
 
 #include "hns3_cmd.h"
+#include "hns3_rss.h"
 #include "hns3_fdir.h"
 
 /* Vendor ID */
@@ -346,6 +347,9 @@ struct hns3_hw {
        struct rte_ether_addr mc_addrs[HNS3_MC_MACADDR_NUM];
        int mc_addrs_num; /* Multicast mac addresses number */
 
+       /* The configuration info of RSS */
+       struct hns3_rss_conf rss_info;
+
        uint8_t num_tc;             /* Total number of enabled TCs */
        uint8_t hw_tc_map;
        enum hns3_fc_mode current_mode;