Home
last modified time | relevance | path

Searched refs:pfc_conf (Results 1 – 14 of 14) sorted by relevance

/dpdk/drivers/net/axgbe/
H A Daxgbe_ethdev.c83 struct rte_eth_pfc_conf *pfc_conf);
1334 struct rte_eth_pfc_conf *pfc_conf) in axgbe_priority_flow_ctrl_set() argument
1359 PSTC0, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1363 PSTC1, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1367 PSTC2, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1371 PSTC3, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1375 PSTC4, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1379 PSTC5, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1383 PSTC6, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1387 PSTC7, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
[all …]
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_ops.c341 struct rte_eth_pfc_queue_conf *pfc_conf) in cnxk_nix_priority_flow_ctrl_queue_config() argument
348 conf.fc_cfg.mode = pfc_conf->mode; in cnxk_nix_priority_flow_ctrl_queue_config()
350 conf.pause_time = pfc_conf->tx_pause.pause_time; in cnxk_nix_priority_flow_ctrl_queue_config()
351 conf.rx_tc = pfc_conf->tx_pause.tc; in cnxk_nix_priority_flow_ctrl_queue_config()
352 conf.rx_qid = pfc_conf->tx_pause.rx_qid; in cnxk_nix_priority_flow_ctrl_queue_config()
354 conf.tx_tc = pfc_conf->rx_pause.tc; in cnxk_nix_priority_flow_ctrl_queue_config()
355 conf.tx_qid = pfc_conf->rx_pause.tx_qid; in cnxk_nix_priority_flow_ctrl_queue_config()
H A Dcnxk_ethdev.c1767 struct rte_eth_pfc_queue_conf pfc_conf; in cnxk_eth_dev_uninit() local
1788 memset(&pfc_conf, 0, sizeof(struct rte_eth_pfc_queue_conf)); in cnxk_eth_dev_uninit()
1793 pfc_conf.mode = RTE_ETH_FC_NONE; in cnxk_eth_dev_uninit()
1796 pfc_conf.rx_pause.tx_qid = dev->pfc_tc_sq_map[i]; in cnxk_eth_dev_uninit()
1797 pfc_conf.rx_pause.tc = i; in cnxk_eth_dev_uninit()
1798 pfc_conf.tx_pause.rx_qid = i; in cnxk_eth_dev_uninit()
1799 pfc_conf.tx_pause.tc = i; in cnxk_eth_dev_uninit()
1801 &pfc_conf); in cnxk_eth_dev_uninit()
H A Dcnxk_ethdev.h513 struct rte_eth_pfc_queue_conf *pfc_conf);
/dpdk/drivers/net/hns3/
H A Dhns3_dcb.h205 struct rte_eth_pfc_conf *pfc_conf);
H A Dhns3_dcb.c1733 hns3_dcb_pfc_enable(struct rte_eth_dev *dev, struct rte_eth_pfc_conf *pfc_conf) in hns3_dcb_pfc_enable() argument
1741 uint8_t priority = pfc_conf->priority; in hns3_dcb_pfc_enable()
1754 pf->pause_time = pfc_conf->fc.pause_time; in hns3_dcb_pfc_enable()
1755 hns3_get_fc_mode(hw, pfc_conf->fc.mode); in hns3_dcb_pfc_enable()
H A Dhns3_ethdev.c5458 struct rte_eth_pfc_conf *pfc_conf) in hns3_priority_flow_ctrl_set() argument
5468 if (pfc_conf->fc.high_water || pfc_conf->fc.low_water || in hns3_priority_flow_ctrl_set()
5469 pfc_conf->fc.send_xon || pfc_conf->fc.mac_ctrl_frame_fwd) { in hns3_priority_flow_ctrl_set()
5473 pfc_conf->fc.high_water, pfc_conf->fc.low_water, in hns3_priority_flow_ctrl_set()
5474 pfc_conf->fc.send_xon, in hns3_priority_flow_ctrl_set()
5475 pfc_conf->fc.mac_ctrl_frame_fwd); in hns3_priority_flow_ctrl_set()
5478 if (pfc_conf->fc.autoneg) { in hns3_priority_flow_ctrl_set()
5482 if (pfc_conf->fc.pause_time == 0) { in hns3_priority_flow_ctrl_set()
5484 pfc_conf->fc.pause_time); in hns3_priority_flow_ctrl_set()
5496 ret = hns3_dcb_pfc_enable(dev, pfc_conf); in hns3_priority_flow_ctrl_set()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.c3286 struct rte_eth_pfc_conf *pfc_conf) in txgbe_priority_flow_ctrl_set() argument
3306 tc_num = map[pfc_conf->priority]; in txgbe_priority_flow_ctrl_set()
3314 if (pfc_conf->fc.high_water > max_high_water || in txgbe_priority_flow_ctrl_set()
3315 pfc_conf->fc.high_water <= pfc_conf->fc.low_water) { in txgbe_priority_flow_ctrl_set()
3321 hw->fc.requested_mode = rte_fcmode_2_txgbe_fcmode[pfc_conf->fc.mode]; in txgbe_priority_flow_ctrl_set()
3322 hw->fc.pause_time = pfc_conf->fc.pause_time; in txgbe_priority_flow_ctrl_set()
3323 hw->fc.send_xon = pfc_conf->fc.send_xon; in txgbe_priority_flow_ctrl_set()
3324 hw->fc.low_water[tc_num] = pfc_conf->fc.low_water; in txgbe_priority_flow_ctrl_set()
3325 hw->fc.high_water[tc_num] = pfc_conf->fc.high_water; in txgbe_priority_flow_ctrl_set()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c217 struct rte_eth_pfc_conf *pfc_conf);
4974 ixgbe_priority_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_pfc_conf *pfc_conf) in ixgbe_priority_flow_ctrl_set() argument
4996 tc_num = map[pfc_conf->priority]; in ixgbe_priority_flow_ctrl_set()
5005 if ((pfc_conf->fc.high_water > max_high_water) || in ixgbe_priority_flow_ctrl_set()
5006 (pfc_conf->fc.high_water <= pfc_conf->fc.low_water)) { in ixgbe_priority_flow_ctrl_set()
5012 hw->fc.requested_mode = rte_fcmode_2_ixgbe_fcmode[pfc_conf->fc.mode]; in ixgbe_priority_flow_ctrl_set()
5013 hw->fc.pause_time = pfc_conf->fc.pause_time; in ixgbe_priority_flow_ctrl_set()
5014 hw->fc.send_xon = pfc_conf->fc.send_xon; in ixgbe_priority_flow_ctrl_set()
5015 hw->fc.low_water[tc_num] = pfc_conf->fc.low_water; in ixgbe_priority_flow_ctrl_set()
5016 hw->fc.high_water[tc_num] = pfc_conf->fc.high_water; in ixgbe_priority_flow_ctrl_set()
/dpdk/lib/ethdev/
H A Dethdev_driver.h543 struct rte_eth_pfc_conf *pfc_conf);
H A Drte_ethdev.c3653 struct rte_eth_pfc_conf *pfc_conf) in rte_eth_dev_priority_flow_ctrl_set() argument
3660 if (pfc_conf == NULL) { in rte_eth_dev_priority_flow_ctrl_set()
3667 if (pfc_conf->priority > (RTE_ETH_DCB_NUM_USER_PRIORITIES - 1)) { in rte_eth_dev_priority_flow_ctrl_set()
3675 (dev, pfc_conf)); in rte_eth_dev_priority_flow_ctrl_set()
H A Drte_ethdev.h4193 struct rte_eth_pfc_conf *pfc_conf);
/dpdk/app/test-pmd/
H A Dcmdline.c7623 struct rte_eth_pfc_conf pfc_conf; in cmd_priority_flow_ctrl_set_parsed() local
7637 memset(&pfc_conf, 0, sizeof(struct rte_eth_pfc_conf)); in cmd_priority_flow_ctrl_set_parsed()
7640 pfc_conf.fc.mode = rx_tx_onoff_2_pfc_mode[rx_fc_enable][tx_fc_enable]; in cmd_priority_flow_ctrl_set_parsed()
7641 pfc_conf.fc.high_water = res->high_water; in cmd_priority_flow_ctrl_set_parsed()
7642 pfc_conf.fc.low_water = res->low_water; in cmd_priority_flow_ctrl_set_parsed()
7643 pfc_conf.fc.pause_time = res->pause_time; in cmd_priority_flow_ctrl_set_parsed()
7644 pfc_conf.priority = res->priority; in cmd_priority_flow_ctrl_set_parsed()
7646 ret = rte_eth_dev_priority_flow_ctrl_set(res->port_id, &pfc_conf); in cmd_priority_flow_ctrl_set_parsed()
/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c286 struct rte_eth_pfc_conf *pfc_conf);
4247 __rte_unused struct rte_eth_pfc_conf *pfc_conf) in i40e_priority_flow_ctrl_set() argument