13 #define RTE_PMD_BNXT_CFA_CODE_DYNFIELD_NAME "rte_net_bnxt_dynfield_cfa_code" 18 enum rte_pmd_bnxt_mb_event_rsp {
19 RTE_PMD_BNXT_MB_EVENT_NOOP_ACK,
20 RTE_PMD_BNXT_MB_EVENT_NOOP_NACK,
21 RTE_PMD_BNXT_MB_EVENT_PROCEED,
22 RTE_PMD_BNXT_MB_EVENT_MAX
26 #define BNXT_VF_RESET 0x01 27 #define BNXT_VF_SET_MAC_ADDR 0x02 28 #define BNXT_VF_SET_VLAN 0x03 29 #define BNXT_VF_SET_MTU 0x04 30 #define BNXT_VF_SET_MRU 0x05 35 struct rte_pmd_bnxt_mb_event_param {
57 int rte_pmd_bnxt_set_vf_mac_anti_spoof(uint16_t port, uint16_t vf, uint8_t on);
73 int rte_pmd_bnxt_set_vf_mac_addr(uint16_t port, uint16_t vf,
74 struct rte_ether_addr *mac_addr);
94 rte_pmd_bnxt_set_vf_vlan_stripq(uint16_t port, uint16_t vf, uint8_t on);
113 rte_pmd_bnxt_set_vf_vlan_insert(uint16_t port, uint16_t vf,
135 int rte_pmd_bnxt_set_vf_vlan_filter(uint16_t port, uint16_t vlan,
136 uint64_t vf_mask, uint8_t vlan_on);
152 int rte_pmd_bnxt_set_tx_loopback(uint16_t port, uint8_t on);
168 int rte_pmd_bnxt_set_all_queues_drop_en(uint16_t port, uint8_t on);
186 int rte_pmd_bnxt_set_vf_rate_limit(uint16_t port, uint16_t vf,
187 uint32_t tx_rate, uint64_t q_msk);
205 int rte_pmd_bnxt_get_vf_stats(uint16_t port,
221 int rte_pmd_bnxt_reset_vf_stats(uint16_t port,
240 int rte_pmd_bnxt_set_vf_vlan_anti_spoof(uint16_t port, uint16_t vf, uint8_t on);
259 int rte_pmd_bnxt_set_vf_rxmode(uint16_t port, uint16_t vf,
260 uint16_t rx_mask, uint8_t on);
276 int rte_pmd_bnxt_get_vf_rx_status(uint16_t port, uint16_t vf_id);
292 int rte_pmd_bnxt_get_vf_tx_drop_count(uint16_t port, uint16_t vf_id,
310 int rte_pmd_bnxt_mac_addr_add(uint16_t port,
struct rte_ether_addr *mac_addr,
329 int rte_pmd_bnxt_set_vf_persist_stats(uint16_t port, uint16_t vf, uint8_t on);