Searched refs:fec_capa (Results 1 – 4 of 4) sorted by relevance
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_ethdev_driver.h | 645 uint32_t *fec_capa); 670 typedef int (*eth_fec_set_t)(struct rte_eth_dev *dev, uint32_t fec_capa);
|
| H A D | rte_ethdev.h | 3714 int rte_eth_fec_get(uint16_t port_id, uint32_t *fec_capa); 3737 int rte_eth_fec_set(uint16_t port_id, uint32_t fec_capa);
|
| H A D | rte_ethdev.c | 3951 rte_eth_fec_get(uint16_t port_id, uint32_t *fec_capa) in rte_eth_fec_get() argument 3955 if (fec_capa == NULL) in rte_eth_fec_get() 3961 return eth_err(port_id, (*dev->dev_ops->fec_get)(dev, fec_capa)); in rte_eth_fec_get() 3965 rte_eth_fec_set(uint16_t port_id, uint32_t fec_capa) in rte_eth_fec_set() argument 3972 return eth_err(port_id, (*dev->dev_ops->fec_set)(dev, fec_capa)); in rte_eth_fec_set()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev.c | 5805 hns3_fec_get(struct rte_eth_dev *dev, uint32_t *fec_capa) in hns3_fec_get() argument 5826 *fec_capa = RTE_ETH_FEC_MODE_CAPA_MASK(AUTO); in hns3_fec_get() 5864 *fec_capa = tmp_fec_capa; in hns3_fec_get() 5905 get_current_speed_fec_cap(struct hns3_hw *hw, struct rte_eth_fec_capa *fec_capa) in get_current_speed_fec_cap() argument 5912 cur_capa = fec_capa[1].capa; in get_current_speed_fec_cap() 5917 cur_capa = fec_capa[0].capa; in get_current_speed_fec_cap() 5948 struct rte_eth_fec_capa fec_capa[FEC_CAPA_NUM]; in hns3_fec_set() local 5953 ret = hns3_fec_get_capability(dev, fec_capa, num); in hns3_fec_set() 5966 cur_capa = get_current_speed_fec_cap(hw, fec_capa); in hns3_fec_set()
|