net/hns3: support RSS
[dpdk.git] / drivers / net / hns3 / hns3_ethdev.h
index a64db64..87e3bbc 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;