Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/axgbe/
H A Daxgbe_ethdev.c80 struct rte_eth_pfc_conf *pfc_conf);
1278 struct rte_eth_pfc_conf *pfc_conf) in axgbe_priority_flow_ctrl_set() argument
1303 PSTC0, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1307 PSTC1, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1311 PSTC2, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1315 PSTC3, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1319 PSTC4, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1323 PSTC5, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1327 PSTC6, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1331 PSTC7, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
[all …]
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_dcb.h205 struct rte_eth_pfc_conf *pfc_conf);
H A Dhns3_ethdev.c5159 struct rte_eth_pfc_conf *pfc_conf) in hns3_priority_flow_ctrl_set() argument
5171 if (pfc_conf->fc.high_water || pfc_conf->fc.low_water || in hns3_priority_flow_ctrl_set()
5172 pfc_conf->fc.send_xon || pfc_conf->fc.mac_ctrl_frame_fwd) { in hns3_priority_flow_ctrl_set()
5176 pfc_conf->fc.high_water, pfc_conf->fc.low_water, in hns3_priority_flow_ctrl_set()
5177 pfc_conf->fc.send_xon, in hns3_priority_flow_ctrl_set()
5178 pfc_conf->fc.mac_ctrl_frame_fwd); in hns3_priority_flow_ctrl_set()
5181 if (pfc_conf->fc.autoneg) { in hns3_priority_flow_ctrl_set()
5185 if (pfc_conf->fc.pause_time == 0) { in hns3_priority_flow_ctrl_set()
5187 pfc_conf->fc.pause_time); in hns3_priority_flow_ctrl_set()
5198 priority = pfc_conf->priority; in hns3_priority_flow_ctrl_set()
[all …]
H A Dhns3_dcb.c1716 hns3_dcb_pfc_enable(struct rte_eth_dev *dev, struct rte_eth_pfc_conf *pfc_conf) in hns3_dcb_pfc_enable() argument
1724 uint8_t priority = pfc_conf->priority; in hns3_dcb_pfc_enable()
1728 pf->pause_time = pfc_conf->fc.pause_time; in hns3_dcb_pfc_enable()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.c2977 struct rte_eth_pfc_conf *pfc_conf) in txgbe_priority_flow_ctrl_set() argument
2997 tc_num = map[pfc_conf->priority]; in txgbe_priority_flow_ctrl_set()
3005 if (pfc_conf->fc.high_water > max_high_water || in txgbe_priority_flow_ctrl_set()
3006 pfc_conf->fc.high_water <= pfc_conf->fc.low_water) { in txgbe_priority_flow_ctrl_set()
3012 hw->fc.requested_mode = rte_fcmode_2_txgbe_fcmode[pfc_conf->fc.mode]; in txgbe_priority_flow_ctrl_set()
3013 hw->fc.pause_time = pfc_conf->fc.pause_time; in txgbe_priority_flow_ctrl_set()
3014 hw->fc.send_xon = pfc_conf->fc.send_xon; in txgbe_priority_flow_ctrl_set()
3015 hw->fc.low_water[tc_num] = pfc_conf->fc.low_water; in txgbe_priority_flow_ctrl_set()
3016 hw->fc.high_water[tc_num] = pfc_conf->fc.high_water; in txgbe_priority_flow_ctrl_set()
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev_driver.h338 struct rte_eth_pfc_conf *pfc_conf);
H A Drte_ethdev.h3788 struct rte_eth_pfc_conf *pfc_conf);
H A Drte_ethdev.c3704 struct rte_eth_pfc_conf *pfc_conf) in rte_eth_dev_priority_flow_ctrl_set() argument
3709 if (pfc_conf->priority > (ETH_DCB_NUM_USER_PRIORITIES - 1)) { in rte_eth_dev_priority_flow_ctrl_set()
3718 (dev, pfc_conf)); in rte_eth_dev_priority_flow_ctrl_set()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c217 struct rte_eth_pfc_conf *pfc_conf);
4946 ixgbe_priority_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_pfc_conf *pfc_conf) in ixgbe_priority_flow_ctrl_set() argument
4968 tc_num = map[pfc_conf->priority]; in ixgbe_priority_flow_ctrl_set()
4977 if ((pfc_conf->fc.high_water > max_high_water) || in ixgbe_priority_flow_ctrl_set()
4978 (pfc_conf->fc.high_water <= pfc_conf->fc.low_water)) { in ixgbe_priority_flow_ctrl_set()
4984 hw->fc.requested_mode = rte_fcmode_2_ixgbe_fcmode[pfc_conf->fc.mode]; in ixgbe_priority_flow_ctrl_set()
4985 hw->fc.pause_time = pfc_conf->fc.pause_time; in ixgbe_priority_flow_ctrl_set()
4986 hw->fc.send_xon = pfc_conf->fc.send_xon; in ixgbe_priority_flow_ctrl_set()
4987 hw->fc.low_water[tc_num] = pfc_conf->fc.low_water; in ixgbe_priority_flow_ctrl_set()
4988 hw->fc.high_water[tc_num] = pfc_conf->fc.high_water; in ixgbe_priority_flow_ctrl_set()
/f-stack/dpdk/app/test-pmd/
H A Dcmdline.c7175 struct rte_eth_pfc_conf pfc_conf; in cmd_priority_flow_ctrl_set_parsed() local
7189 memset(&pfc_conf, 0, sizeof(struct rte_eth_pfc_conf)); in cmd_priority_flow_ctrl_set_parsed()
7192 pfc_conf.fc.mode = rx_tx_onoff_2_pfc_mode[rx_fc_enable][tx_fc_enable]; in cmd_priority_flow_ctrl_set_parsed()
7193 pfc_conf.fc.high_water = res->high_water; in cmd_priority_flow_ctrl_set_parsed()
7194 pfc_conf.fc.low_water = res->low_water; in cmd_priority_flow_ctrl_set_parsed()
7195 pfc_conf.fc.pause_time = res->pause_time; in cmd_priority_flow_ctrl_set_parsed()
7196 pfc_conf.priority = res->priority; in cmd_priority_flow_ctrl_set_parsed()
7198 ret = rte_eth_dev_priority_flow_ctrl_set(res->port_id, &pfc_conf); in cmd_priority_flow_ctrl_set_parsed()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c266 struct rte_eth_pfc_conf *pfc_conf);
4292 __rte_unused struct rte_eth_pfc_conf *pfc_conf) in i40e_priority_flow_ctrl_set() argument