14 #include <rte_compat.h> 47 struct rte_ether_addr *mac_addr);
254 uint32_t pn, uint8_t *key);
276 uint32_t pn, uint8_t *key);
363 uint64_t vf_mask, uint8_t vlan_on);
383 uint32_t tx_rate, uint64_t q_msk);
625 uint32_t dev_type, uint16_t *phy_data);
648 uint32_t dev_type, uint16_t phy_data);
670 RTE_PMD_IXGBE_BYPASS_MODE_NONE,
671 RTE_PMD_IXGBE_BYPASS_MODE_NORMAL,
672 RTE_PMD_IXGBE_BYPASS_MODE_BYPASS,
673 RTE_PMD_IXGBE_BYPASS_MODE_ISOLATE,
674 RTE_PMD_IXGBE_BYPASS_MODE_NUM,
677 #define RTE_PMD_IXGBE_BYPASS_MODE_VALID(x) \ 678 ((x) > RTE_PMD_IXGBE_BYPASS_MODE_NONE && \ 679 (x) < RTE_PMD_IXGBE_BYPASS_MODE_NUM) 682 RTE_PMD_IXGBE_BYPASS_EVENT_NONE,
683 RTE_PMD_IXGBE_BYPASS_EVENT_START,
684 RTE_PMD_IXGBE_BYPASS_EVENT_OS_ON = RTE_PMD_IXGBE_BYPASS_EVENT_START,
685 RTE_PMD_IXGBE_BYPASS_EVENT_POWER_ON,
686 RTE_PMD_IXGBE_BYPASS_EVENT_OS_OFF,
687 RTE_PMD_IXGBE_BYPASS_EVENT_POWER_OFF,
688 RTE_PMD_IXGBE_BYPASS_EVENT_TIMEOUT,
689 RTE_PMD_IXGBE_BYPASS_EVENT_NUM
692 #define RTE_PMD_IXGBE_BYPASS_EVENT_VALID(x) \ 693 ((x) > RTE_PMD_IXGBE_BYPASS_EVENT_NONE && \ 694 (x) < RTE_PMD_IXGBE_BYPASS_MODE_NUM) 697 RTE_PMD_IXGBE_BYPASS_TMT_OFF,
698 RTE_PMD_IXGBE_BYPASS_TMT_1_5_SEC,
699 RTE_PMD_IXGBE_BYPASS_TMT_2_SEC,
700 RTE_PMD_IXGBE_BYPASS_TMT_3_SEC,
701 RTE_PMD_IXGBE_BYPASS_TMT_4_SEC,
702 RTE_PMD_IXGBE_BYPASS_TMT_8_SEC,
703 RTE_PMD_IXGBE_BYPASS_TMT_16_SEC,
704 RTE_PMD_IXGBE_BYPASS_TMT_32_SEC,
705 RTE_PMD_IXGBE_BYPASS_TMT_NUM
708 #define RTE_PMD_IXGBE_BYPASS_TMT_VALID(x) \ 709 ((x) == RTE_PMD_IXGBE_BYPASS_TMT_OFF || \ 710 ((x) > RTE_PMD_IXGBE_BYPASS_TMT_OFF && \ 711 (x) < RTE_PMD_IXGBE_BYPASS_TMT_NUM)) int rte_pmd_ixgbe_macsec_config_txsc(uint16_t port, uint8_t *mac)
int rte_pmd_ixgbe_upd_fctrl_sbp(uint16_t port, int enable)
int rte_pmd_ixgbe_set_vf_rxmode(uint16_t port, uint16_t vf, uint16_t rx_mask, uint8_t on)
int rte_pmd_ixgbe_set_vf_vlan_anti_spoof(uint16_t port, uint16_t vf, uint8_t on)
int rte_pmd_ixgbe_bypass_state_show(uint16_t port, uint32_t *state)
int rte_pmd_ixgbe_set_tc_bw_alloc(uint16_t port, uint8_t tc_num, uint8_t *bw_weight)
int rte_pmd_ixgbe_bypass_event_show(uint16_t port, uint32_t event, uint32_t *state)
int rte_pmd_ixgbe_ping_vf(uint16_t port, uint16_t vf)
int rte_pmd_ixgbe_set_vf_rx(uint16_t port, uint16_t vf, uint8_t on)
int rte_pmd_ixgbe_set_vf_vlan_insert(uint16_t port, uint16_t vf, uint16_t vlan_id)
int rte_pmd_ixgbe_macsec_select_txsa(uint16_t port, uint8_t idx, uint8_t an, uint32_t pn, uint8_t *key)
int rte_pmd_ixgbe_mdio_unlocked_read(uint16_t port, uint32_t reg_addr, uint32_t dev_type, uint16_t *phy_data)
int rte_pmd_ixgbe_set_tx_loopback(uint16_t port, uint8_t on)
int rte_pmd_ixgbe_set_vf_split_drop_en(uint16_t port, uint16_t vf, uint8_t on)
int rte_pmd_ixgbe_mdio_unlock(uint16_t port)
int rte_pmd_ixgbe_set_vf_rate_limit(uint16_t port, uint16_t vf, uint32_t tx_rate, uint64_t q_msk)
int rte_pmd_ixgbe_macsec_config_rxsc(uint16_t port, uint8_t *mac, uint16_t pi)
int rte_pmd_ixgbe_set_all_queues_drop_en(uint16_t port, uint8_t on)
int rte_pmd_ixgbe_bypass_wd_timeout_show(uint16_t port, uint32_t *wd_timeout)
int rte_pmd_ixgbe_macsec_enable(uint16_t port, uint8_t en, uint8_t rp)
int rte_pmd_ixgbe_mdio_lock(uint16_t port)
__rte_experimental int rte_pmd_ixgbe_get_fdir_stats(uint16_t port, struct rte_eth_fdir_stats *fdir_stats)
int rte_pmd_ixgbe_set_vf_mac_anti_spoof(uint16_t port, uint16_t vf, uint8_t on)
int rte_pmd_ixgbe_bypass_init(uint16_t port)
int rte_pmd_ixgbe_set_vf_mac_addr(uint16_t port, uint16_t vf, struct rte_ether_addr *mac_addr)
int rte_pmd_ixgbe_set_vf_vlan_stripq(uint16_t port, uint16_t vf, uint8_t on)
int rte_pmd_ixgbe_bypass_wd_timeout_store(uint16_t port, uint32_t timeout)
int rte_pmd_ixgbe_set_vf_vlan_filter(uint16_t port, uint16_t vlan, uint64_t vf_mask, uint8_t vlan_on)
int rte_pmd_ixgbe_bypass_ver_show(uint16_t port, uint32_t *ver)
__rte_experimental int rte_pmd_ixgbe_get_fdir_info(uint16_t port, struct rte_eth_fdir_info *fdir_info)
int rte_pmd_ixgbe_bypass_wd_reset(uint16_t port)
int rte_pmd_ixgbe_macsec_disable(uint16_t port)
int rte_pmd_ixgbe_bypass_event_store(uint16_t port, uint32_t event, uint32_t state)
int rte_pmd_ixgbe_macsec_select_rxsa(uint16_t port, uint8_t idx, uint8_t an, uint32_t pn, uint8_t *key)
int rte_pmd_ixgbe_bypass_state_set(uint16_t port, uint32_t *new_state)
rte_pmd_ixgbe_mb_event_rsp
int rte_pmd_ixgbe_set_vf_tx(uint16_t port, uint16_t vf, uint8_t on)
int rte_pmd_ixgbe_mdio_unlocked_write(uint16_t port, uint32_t reg_addr, uint32_t dev_type, uint16_t phy_data)