Home
last modified time | relevance | path

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

12

/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_flow_ctrl.c68 if (rsp->rx_pause && rsp->tx_pause) in otx2_nix_flow_ctrl_get()
72 else if (rsp->tx_pause) in otx2_nix_flow_ctrl_get()
145 uint8_t tx_pause, rx_pause; in otx2_nix_flow_ctrl_set() local
164 tx_pause = (fc_conf->mode == RTE_FC_FULL) || in otx2_nix_flow_ctrl_set()
168 if (fc->tx_pause ^ tx_pause) { in otx2_nix_flow_ctrl_set()
178 rc = otx2_nix_rx_fc_cfg(eth_dev, tx_pause); in otx2_nix_flow_ctrl_set()
186 req->tx_pause = tx_pause; in otx2_nix_flow_ctrl_set()
192 fc->tx_pause = tx_pause; in otx2_nix_flow_ctrl_set()
247 fc->tx_pause = (fc_conf.mode == RTE_FC_FULL) || in otx2_nix_flow_ctrl_init()
H A Dotx2_ethdev.h207 uint8_t tx_pause; member
/f-stack/dpdk/drivers/net/octeontx/
H A Docteontx_ethdev_ops.c221 if (conf.rx_pause && conf.tx_pause) in octeontx_dev_flow_ctrl_get()
225 else if (conf.tx_pause) in octeontx_dev_flow_ctrl_get()
244 uint8_t tx_pause, rx_pause; in octeontx_dev_flow_ctrl_set() local
277 tx_pause = (fc_conf->mode == RTE_FC_FULL) || in octeontx_dev_flow_ctrl_set()
284 conf.tx_pause = tx_pause; in octeontx_dev_flow_ctrl_set()
/f-stack/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()
/f-stack/dpdk/drivers/net/axgbe/
H A Daxgbe_ethdev.c1250 pdata->tx_pause = 1; in axgbe_flow_ctrl_set()
1253 pdata->tx_pause = 0; in axgbe_flow_ctrl_set()
1256 pdata->tx_pause = 1; in axgbe_flow_ctrl_set()
1259 pdata->tx_pause = 0; in axgbe_flow_ctrl_set()
1263 if (pdata->tx_pause != (unsigned int)pdata->phy.tx_pause) in axgbe_flow_ctrl_set()
1270 pdata->phy.tx_pause = pdata->tx_pause; in axgbe_flow_ctrl_set()
1338 pdata->tx_pause = 1; in axgbe_priority_flow_ctrl_set()
1342 pdata->tx_pause = 0; in axgbe_priority_flow_ctrl_set()
1355 if (pdata->tx_pause != (unsigned int)pdata->phy.tx_pause) in axgbe_priority_flow_ctrl_set()
1361 pdata->phy.tx_pause = pdata->tx_pause; in axgbe_priority_flow_ctrl_set()
[all …]
H A Daxgbe_mdio.c860 if (pdata->tx_pause != (unsigned int)pdata->phy.tx_pause) { in axgbe_phy_adjust_link()
862 pdata->tx_pause = pdata->phy.tx_pause; in axgbe_phy_adjust_link()
1260 pdata->phy.tx_pause = pdata->tx_pause; in axgbe_phy_init()
1272 if (pdata->tx_pause) in axgbe_phy_init()
H A Daxgbe_ethdev.h242 int tx_pause; member
593 unsigned int tx_pause; member
H A Daxgbe_phy_impl.c859 pdata->phy.tx_pause = 0; in axgbe_phy_phydev_flowctrl()
950 pdata->phy.tx_pause = 0; in axgbe_phy_an73_outcome()
954 pdata->phy.tx_pause = 1; in axgbe_phy_an73_outcome()
960 pdata->phy.tx_pause = 1; in axgbe_phy_an73_outcome()
H A Daxgbe_dev.c305 if (pdata->tx_pause) in axgbe_config_tx_flow_control()
/f-stack/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()
/f-stack/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()
/f-stack/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
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_ethdev.c1873 nic_pause.tx_pause = nic_dev->nic_pause.tx_pause; in hinic_flow_ctrl_get()
1878 if (nic_pause.tx_pause && nic_pause.rx_pause) in hinic_flow_ctrl_get()
1880 else if (nic_pause.tx_pause) in hinic_flow_ctrl_get()
1901 nic_pause.tx_pause = true; in hinic_flow_ctrl_set()
1903 nic_pause.tx_pause = false; in hinic_flow_ctrl_set()
1918 nic_dev->nic_pause.tx_pause = nic_pause.tx_pause; in hinic_flow_ctrl_set()
1921 nic_pause.tx_pause ? "on" : "off", in hinic_flow_ctrl_set()
2550 pause_config.tx_pause = HINIC_DEFAUT_PAUSE_CONFIG; in hinic_set_default_pause_feature()
2559 nic_dev->nic_pause.tx_pause = pause_config.tx_pause; in hinic_set_default_pause_feature()
/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_ethdev_os.c650 if (ethpause.rx_pause && ethpause.tx_pause) in mlx5_dev_get_flow_ctrl()
654 else if (ethpause.tx_pause) in mlx5_dev_get_flow_ctrl()
691 ethpause.tx_pause = 1; in mlx5_dev_set_flow_ctrl()
693 ethpause.tx_pause = 0; in mlx5_dev_set_flow_ctrl()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_ethdev.c790 int rx_pause, tx_pause; in cxgbe_flow_ctrl_get() local
794 tx_pause = lc->fc & PAUSE_TX; in cxgbe_flow_ctrl_get()
796 if (rx_pause && tx_pause) in cxgbe_flow_ctrl_get()
800 else if (tx_pause) in cxgbe_flow_ctrl_get()
/f-stack/dpdk/drivers/net/e1000/
H A Dem_ethdev.c1663 int tx_pause; in eth_em_flow_ctrl_get() local
1679 tx_pause = 1; in eth_em_flow_ctrl_get()
1681 tx_pause = 0; in eth_em_flow_ctrl_get()
1688 if (rx_pause && tx_pause) in eth_em_flow_ctrl_get()
1692 else if (tx_pause) in eth_em_flow_ctrl_get()
H A Digb_ethdev.c3016 int tx_pause; in eth_igb_flow_ctrl_get() local
3032 tx_pause = 1; in eth_igb_flow_ctrl_get()
3034 tx_pause = 0; in eth_igb_flow_ctrl_get()
3041 if (rx_pause && tx_pause) in eth_igb_flow_ctrl_get()
3045 else if (tx_pause) in eth_igb_flow_ctrl_get()
/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.h78 u32 tx_pause; member
422 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()
/f-stack/dpdk/drivers/net/igc/
H A Digc_ethdev.c2143 int tx_pause; in eth_igc_flow_ctrl_get() local
2158 tx_pause = 1; in eth_igc_flow_ctrl_get()
2160 tx_pause = 0; in eth_igc_flow_ctrl_get()
2167 if (rx_pause && tx_pause) in eth_igc_flow_ctrl_get()
2171 else if (tx_pause) in eth_igc_flow_ctrl_get()
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dcommon.h72 u64 tx_pause; /* # of transmitted pause frames */ member
H A Dt4_hw.c3247 p->tx_pause = GET_STAT(TX_PORT_PAUSE); in t4_get_port_stats()
3259 p->tx_frames -= p->tx_pause; in t4_get_port_stats()
3260 p->tx_octets -= p->tx_pause * 64; in t4_get_port_stats()
3263 p->tx_mcast_frames -= p->tx_pause; in t4_get_port_stats()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.c2878 int tx_pause; in txgbe_flow_ctrl_get() local
2904 tx_pause = 1; in txgbe_flow_ctrl_get()
2906 tx_pause = 0; in txgbe_flow_ctrl_get()
2908 if (rx_pause && tx_pause) in txgbe_flow_ctrl_get()
2912 else if (tx_pause) in txgbe_flow_ctrl_get()
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_common.c394 bool tx_pause, rx_pause; in ice_aq_get_link_info() local
437 tx_pause = !!(link_data.an_info & ICE_AQ_LINK_PAUSE_TX); in ice_aq_get_link_info()
439 if (tx_pause && rx_pause) in ice_aq_get_link_info()
441 else if (tx_pause) in ice_aq_get_link_info()

12