Home
last modified time | relevance | path

Searched refs:tx_pause (Results 1 – 25 of 42) sorted by relevance

12

/dpdk/drivers/common/cnxk/
H A Droc_nix_fc.c252 else if (nix->tx_pause) in roc_nix_fc_mode_get()
271 else if (rsp->tx_pause) in roc_nix_fc_mode_get()
277 nix->tx_pause = rsp->tx_pause; in roc_nix_fc_mode_get()
290 uint8_t tx_pause, rx_pause; in roc_nix_fc_mode_set() local
299 nix->tx_pause = tx_pause; in roc_nix_fc_mode_set()
308 req->tx_pause = tx_pause; in roc_nix_fc_mode_set()
315 nix->tx_pause = tx_pause; in roc_nix_fc_mode_set()
438 req->tx_pause = tx_pause; in roc_nix_pfc_mode_set()
445 nix->tx_pause = rsp->tx_pause; in roc_nix_pfc_mode_set()
446 if (rsp->tx_pause) in roc_nix_pfc_mode_set()
[all …]
H A Droc_nix.c421 nix->tx_pause = 1; in roc_nix_dev_init()
H A Droc_nix_priv.h157 uint8_t tx_pause; member
H A Droc_mbox.h557 uint8_t __io tx_pause; member
563 uint8_t __io tx_pause; member
570 uint8_t __io tx_pause; member
/dpdk/drivers/net/octeontx/
H A Docteontx_ethdev_ops.c220 if (conf.rx_pause && conf.tx_pause) in octeontx_dev_flow_ctrl_get()
224 else if (conf.tx_pause) in octeontx_dev_flow_ctrl_get()
243 uint8_t tx_pause, rx_pause; in octeontx_dev_flow_ctrl_set() local
276 tx_pause = (fc_conf->mode == RTE_ETH_FC_FULL) || in octeontx_dev_flow_ctrl_set()
283 conf.tx_pause = tx_pause; in octeontx_dev_flow_ctrl_set()
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_ops.c255 uint8_t rx_pause, tx_pause; in cnxk_nix_flow_ctrl_set() local
274 tx_pause = (fc_conf->mode == RTE_ETH_FC_FULL) || in cnxk_nix_flow_ctrl_set()
278 if (fc->tx_pause ^ tx_pause) { in cnxk_nix_flow_ctrl_set()
322 fc->tx_pause = tx_pause; in cnxk_nix_flow_ctrl_set()
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()
1042 uint8_t rx_pause, tx_pause; in nix_priority_flow_ctrl_configure() local
1083 fc_cfg.cq_cfg.enable = !!tx_pause; in nix_priority_flow_ctrl_configure()
1130 if (tx_pause) in nix_priority_flow_ctrl_configure()
[all …]
/dpdk/examples/ethtool/lib/
H A Drte_ethtool.c233 pause_param->tx_pause = 0; in rte_ethtool_get_pauseparam()
240 pause_param->tx_pause = 1; in rte_ethtool_get_pauseparam()
244 pause_param->tx_pause = 1; in rte_ethtool_get_pauseparam()
278 if (pause_param->tx_pause) { in rte_ethtool_set_pauseparam()
/dpdk/drivers/net/axgbe/
H A Daxgbe_ethdev.c1306 pdata->tx_pause = 1; in axgbe_flow_ctrl_set()
1309 pdata->tx_pause = 0; in axgbe_flow_ctrl_set()
1312 pdata->tx_pause = 1; in axgbe_flow_ctrl_set()
1315 pdata->tx_pause = 0; in axgbe_flow_ctrl_set()
1319 if (pdata->tx_pause != (unsigned int)pdata->phy.tx_pause) in axgbe_flow_ctrl_set()
1326 pdata->phy.tx_pause = pdata->tx_pause; in axgbe_flow_ctrl_set()
1394 pdata->tx_pause = 1; in axgbe_priority_flow_ctrl_set()
1398 pdata->tx_pause = 0; in axgbe_priority_flow_ctrl_set()
1411 if (pdata->tx_pause != (unsigned int)pdata->phy.tx_pause) in axgbe_priority_flow_ctrl_set()
1417 pdata->phy.tx_pause = pdata->tx_pause; in axgbe_priority_flow_ctrl_set()
[all …]
H A Daxgbe_mdio.c828 if (pdata->tx_pause != (unsigned int)pdata->phy.tx_pause) { in axgbe_phy_adjust_link()
830 pdata->tx_pause = pdata->phy.tx_pause; in axgbe_phy_adjust_link()
1228 pdata->phy.tx_pause = pdata->tx_pause; in axgbe_phy_init()
1240 if (pdata->tx_pause) in axgbe_phy_init()
H A Daxgbe_ethdev.h247 int tx_pause; member
611 unsigned int tx_pause; member
H A Daxgbe_phy_impl.c860 pdata->phy.tx_pause = 0; in axgbe_phy_phydev_flowctrl()
953 pdata->phy.tx_pause = 0; in axgbe_phy_an73_outcome()
957 pdata->phy.tx_pause = 1; in axgbe_phy_an73_outcome()
963 pdata->phy.tx_pause = 1; in axgbe_phy_an73_outcome()
/dpdk/examples/ethtool/ethtool-app/
H A Dethapp.c370 info.tx_pause = 1; in pcmd_pause_callback()
373 info.tx_pause = 1; in pcmd_pause_callback()
376 info.tx_pause = 0; in pcmd_pause_callback()
379 info.tx_pause = 0; in pcmd_pause_callback()
387 if (info.rx_pause && info.tx_pause) in pcmd_pause_callback()
391 else if (info.tx_pause) in pcmd_pause_callback()
/dpdk/drivers/net/hns3/
H A Dhns3_ethdev_dump.c791 bool *tx_pause) in hns3_fc_mode_to_rxtx_pause() argument
795 *tx_pause = false; in hns3_fc_mode_to_rxtx_pause()
800 *tx_pause = false; in hns3_fc_mode_to_rxtx_pause()
804 *tx_pause = true; in hns3_fc_mode_to_rxtx_pause()
808 *tx_pause = true; in hns3_fc_mode_to_rxtx_pause()
812 *tx_pause = false; in hns3_fc_mode_to_rxtx_pause()
/dpdk/drivers/net/mlx4/
H A Dmlx4_ethdev.c865 if (ethpause.rx_pause && ethpause.tx_pause) in mlx4_flow_ctrl_get()
869 else if (ethpause.tx_pause) in mlx4_flow_ctrl_get()
909 ethpause.tx_pause = 1; in mlx4_flow_ctrl_set()
911 ethpause.tx_pause = 0; in mlx4_flow_ctrl_set()
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_ethdev.c803 {"tx_pause_frames", offsetof(struct port_stats, tx_pause)},
1072 u8 rx_pause = 0, tx_pause = 0; in cxgbe_flow_ctrl_get() local
1079 tx_pause = 1; in cxgbe_flow_ctrl_get()
1084 if (rx_pause && tx_pause) in cxgbe_flow_ctrl_get()
1088 else if (tx_pause) in cxgbe_flow_ctrl_get()
1101 u8 tx_pause = 0, rx_pause = 0; in cxgbe_flow_ctrl_set() local
1105 tx_pause = 1; in cxgbe_flow_ctrl_set()
1108 tx_pause = 1; in cxgbe_flow_ctrl_set()
1113 ret = t4_set_link_pause(pi, fc_conf->autoneg, tx_pause, in cxgbe_flow_ctrl_set()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_ethdev.c1858 nic_pause.tx_pause = nic_dev->nic_pause.tx_pause; in hinic_flow_ctrl_get()
1863 if (nic_pause.tx_pause && nic_pause.rx_pause) in hinic_flow_ctrl_get()
1865 else if (nic_pause.tx_pause) in hinic_flow_ctrl_get()
1886 nic_pause.tx_pause = true; in hinic_flow_ctrl_set()
1888 nic_pause.tx_pause = false; in hinic_flow_ctrl_set()
1903 nic_dev->nic_pause.tx_pause = nic_pause.tx_pause; in hinic_flow_ctrl_set()
1906 nic_pause.tx_pause ? "on" : "off", in hinic_flow_ctrl_set()
2511 pause_config.tx_pause = HINIC_DEFAUT_PAUSE_CONFIG; in hinic_set_default_pause_feature()
2520 nic_dev->nic_pause.tx_pause = pause_config.tx_pause; in hinic_set_default_pause_feature()
/dpdk/drivers/net/octeontx/base/
H A Docteontx_bgx.c372 cfg->tx_pause = conf.tx_pause; in octeontx_bgx_port_flow_ctrl_cfg()
H A Docteontx_bgx.h142 uint8_t tx_pause; /* tx_pause = 1/0 to enable/disable fc on Rx */ member
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_ethdev_os.c680 if (ethpause.rx_pause && ethpause.tx_pause) in mlx5_dev_get_flow_ctrl()
684 else if (ethpause.tx_pause) in mlx5_dev_get_flow_ctrl()
721 ethpause.tx_pause = 1; in mlx5_dev_set_flow_ctrl()
723 ethpause.tx_pause = 0; in mlx5_dev_set_flow_ctrl()
/dpdk/drivers/net/e1000/
H A Dem_ethdev.c1657 int tx_pause; in eth_em_flow_ctrl_get() local
1673 tx_pause = 1; in eth_em_flow_ctrl_get()
1675 tx_pause = 0; in eth_em_flow_ctrl_get()
1682 if (rx_pause && tx_pause) in eth_em_flow_ctrl_get()
1686 else if (tx_pause) in eth_em_flow_ctrl_get()
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.h78 u32 tx_pause; member
413 u32 tx_pause; member
H A Dhinic_pmd_niccfg.c655 pause_info.tx_pause = nic_pause.tx_pause; in hinic_set_pause_config()
693 nic_pause->tx_pause = pause_info.tx_pause; in hinic_get_pause_info()
/dpdk/drivers/net/igc/
H A Digc_ethdev.c2125 int tx_pause; in eth_igc_flow_ctrl_get() local
2140 tx_pause = 1; in eth_igc_flow_ctrl_get()
2142 tx_pause = 0; in eth_igc_flow_ctrl_get()
2149 if (rx_pause && tx_pause) in eth_igc_flow_ctrl_get()
2153 else if (tx_pause) in eth_igc_flow_ctrl_get()
/dpdk/drivers/net/ngbe/
H A Dngbe_ethdev.c2247 int tx_pause; in ngbe_flow_ctrl_get() local
2271 tx_pause = 1; in ngbe_flow_ctrl_get()
2273 tx_pause = 0; in ngbe_flow_ctrl_get()
2275 if (rx_pause && tx_pause) in ngbe_flow_ctrl_get()
2279 else if (tx_pause) in ngbe_flow_ctrl_get()
/dpdk/drivers/net/cxgbe/base/
H A Dcommon.h56 u64 tx_pause; /* # of transmitted pause frames */ member

12