net/qede/base: refactor code of SP queues
[dpdk.git] / drivers / net / qede / qede_eth_if.h
index 9c0db87..37b1b74 100644 (file)
@@ -41,13 +41,10 @@ struct qed_dev_eth_info {
 
        struct ether_addr port_mac;
        uint16_t num_vlan_filters;
-       uint32_t num_mac_addrs;
-};
+       uint32_t num_mac_filters;
 
-struct qed_update_vport_rss_params {
-       uint16_t rss_ind_table[128];
-       uint32_t rss_key[10];
-       u8 rss_caps;
+       /* Legacy VF - this affects the datapath */
+       bool is_legacy;
 };
 
 struct qed_stop_rxq_params {
@@ -68,7 +65,6 @@ struct qed_update_vport_params {
        uint8_t update_accept_any_vlan_flg;
        uint8_t accept_any_vlan;
        uint8_t update_rss_flg;
-       struct qed_update_vport_rss_params rss_params;
        uint16_t mtu;
 };
 
@@ -137,9 +133,11 @@ struct qed_eth_ops {
 
 extern const struct qed_common_ops qed_common_ops_pass;
 
-const struct qed_eth_ops *qed_get_eth_ops();
+const struct qed_eth_ops *qed_get_eth_ops(void);
 
 int qed_configure_filter_rx_mode(struct rte_eth_dev *eth_dev,
                                 enum qed_filter_rx_mode_type type);
 
+bool qed_update_rss_parm_cmt(struct ecore_dev *edev, uint16_t *p_tbl);
+
 #endif /* _QEDE_ETH_IF_H */