14 enum rte_pmd_bnxt_mb_event_rsp {
15 RTE_PMD_BNXT_MB_EVENT_NOOP_ACK,
16 RTE_PMD_BNXT_MB_EVENT_NOOP_NACK,
17 RTE_PMD_BNXT_MB_EVENT_PROCEED,
18 RTE_PMD_BNXT_MB_EVENT_MAX
22 #define BNXT_VF_RESET 0x01
23 #define BNXT_VF_SET_MAC_ADDR 0x02
24 #define BNXT_VF_SET_VLAN 0x03
25 #define BNXT_VF_SET_MTU 0x04
26 #define BNXT_VF_SET_MRU 0x05
31 struct rte_pmd_bnxt_mb_event_param {
53 int rte_pmd_bnxt_set_vf_mac_anti_spoof(uint16_t port, uint16_t vf, uint8_t on);
69 int rte_pmd_bnxt_set_vf_mac_addr(uint16_t port, uint16_t vf,
90 rte_pmd_bnxt_set_vf_vlan_stripq(uint16_t port, uint16_t vf, uint8_t on);
109 rte_pmd_bnxt_set_vf_vlan_insert(uint16_t port, uint16_t vf,
131 int rte_pmd_bnxt_set_vf_vlan_filter(uint16_t port, uint16_t vlan,
132 uint64_t vf_mask, uint8_t vlan_on);
148 int rte_pmd_bnxt_set_tx_loopback(uint16_t port, uint8_t on);
164 int rte_pmd_bnxt_set_all_queues_drop_en(uint16_t port, uint8_t on);
182 int rte_pmd_bnxt_set_vf_rate_limit(uint16_t port, uint16_t vf,
183 uint16_t tx_rate, uint64_t q_msk);
201 int rte_pmd_bnxt_get_vf_stats(uint16_t port,
217 int rte_pmd_bnxt_reset_vf_stats(uint16_t port,
236 int rte_pmd_bnxt_set_vf_vlan_anti_spoof(uint16_t port, uint16_t vf, uint8_t on);
255 int rte_pmd_bnxt_set_vf_rxmode(uint16_t port, uint16_t vf,
256 uint16_t rx_mask, uint8_t on);
272 int rte_pmd_bnxt_get_vf_rx_status(uint16_t port, uint16_t vf_id);
288 int rte_pmd_bnxt_get_vf_tx_drop_count(uint16_t port, uint16_t vf_id,
306 int rte_pmd_bnxt_mac_addr_add(uint16_t port,
struct rte_ether_addr *mac_addr,
325 int rte_pmd_bnxt_set_vf_persist_stats(uint16_t port, uint16_t vf, uint8_t on);