42 enum rte_pmd_bnxt_mb_event_rsp {
43 RTE_PMD_BNXT_MB_EVENT_NOOP_ACK,
44 RTE_PMD_BNXT_MB_EVENT_NOOP_NACK,
45 RTE_PMD_BNXT_MB_EVENT_PROCEED,
46 RTE_PMD_BNXT_MB_EVENT_MAX
50 #define BNXT_VF_RESET 0x01
51 #define BNXT_VF_SET_MAC_ADDR 0x02
52 #define BNXT_VF_SET_VLAN 0x03
53 #define BNXT_VF_SET_MTU 0x04
54 #define BNXT_VF_SET_MRU 0x05
59 struct rte_pmd_bnxt_mb_event_param {
81 int rte_pmd_bnxt_set_vf_mac_anti_spoof(uint16_t
port, uint16_t vf, uint8_t on);
97 int rte_pmd_bnxt_set_vf_mac_addr(uint16_t
port, uint16_t vf,
118 rte_pmd_bnxt_set_vf_vlan_stripq(uint16_t
port, uint16_t vf, uint8_t on);
137 rte_pmd_bnxt_set_vf_vlan_insert(uint16_t
port, uint16_t vf,
159 int rte_pmd_bnxt_set_vf_vlan_filter(uint16_t
port, uint16_t vlan,
160 uint64_t vf_mask, uint8_t vlan_on);
176 int rte_pmd_bnxt_set_tx_loopback(uint16_t
port, uint8_t on);
192 int rte_pmd_bnxt_set_all_queues_drop_en(uint16_t
port, uint8_t on);
210 int rte_pmd_bnxt_set_vf_rate_limit(uint16_t
port, uint16_t vf,
211 uint16_t tx_rate, uint64_t q_msk);
229 int rte_pmd_bnxt_get_vf_stats(uint16_t
port,
245 int rte_pmd_bnxt_reset_vf_stats(uint16_t
port,
264 int rte_pmd_bnxt_set_vf_vlan_anti_spoof(uint16_t
port, uint16_t vf, uint8_t on);
283 int rte_pmd_bnxt_set_vf_rxmode(uint16_t
port, uint16_t vf,
284 uint16_t rx_mask, uint8_t on);
300 int rte_pmd_bnxt_get_vf_rx_status(uint16_t
port, uint16_t vf_id);
316 int rte_pmd_bnxt_get_vf_tx_drop_count(uint16_t
port, uint16_t vf_id,
334 int rte_pmd_bnxt_mac_addr_add(uint16_t
port,
struct ether_addr *mac_addr,
353 int rte_pmd_bnxt_set_vf_persist_stats(uint16_t
port, uint16_t vf, uint8_t on);