Home
last modified time | relevance | path

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

123456

/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c161 u8 tx_pause, tx_ppp, rx_pause, rx_ppp; in mlx4_en_dcbnl_set_all() local
196 tx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->tx_pause; in mlx4_en_dcbnl_set_all()
201 tx_pause = prof->tx_pause; in mlx4_en_dcbnl_set_all()
206 tx_pause, tx_ppp, rx_pause, rx_ppp)) { in mlx4_en_dcbnl_set_all()
213 prof->tx_pause = tx_pause; in mlx4_en_dcbnl_set_all()
417 u32 tx_pause, tx_ppp, rx_pause, rx_ppp; in mlx4_en_dcbnl_ieee_setpfc() local
427 tx_pause = prof->tx_pause && !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
433 tx_pause, tx_ppp, rx_pause, rx_ppp); in mlx4_en_dcbnl_ieee_setpfc()
440 rx_ppp, rx_pause, tx_ppp, tx_pause); in mlx4_en_dcbnl_ieee_setpfc()
445 prof->tx_pause = tx_pause; in mlx4_en_dcbnl_ieee_setpfc()
Dmlx4_stats.h88 u64 tx_pause; member
110 __be64 tx_pause; member
Den_port.c403 priv->tx_priority_flowstats[i].tx_pause = in mlx4_en_DUMP_ETH_STATS()
404 be64_to_cpu(flowstats[i].tx_pause); in mlx4_en_DUMP_ETH_STATS()
418 priv->tx_flowstats.tx_pause = in mlx4_en_DUMP_ETH_STATS()
419 be64_to_cpu(flowstats[0].tx_pause); in mlx4_en_DUMP_ETH_STATS()
Den_ethtool.c792 if (priv->prof->tx_pause) in ethtool_get_ptys_link_ksettings()
795 if (priv->prof->tx_pause ^ priv->prof->rx_pause) in ethtool_get_ptys_link_ksettings()
1079 u8 tx_pause, tx_ppp, rx_pause, rx_ppp; in mlx4_en_set_pauseparam() local
1085 tx_pause = !!(pause->tx_pause); in mlx4_en_set_pauseparam()
1087 rx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->rx_ppp; in mlx4_en_set_pauseparam()
1088 tx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->tx_ppp; in mlx4_en_set_pauseparam()
1092 tx_pause, tx_ppp, rx_pause, rx_ppp); in mlx4_en_set_pauseparam()
1099 rx_ppp, rx_pause, tx_ppp, tx_pause); in mlx4_en_set_pauseparam()
1101 priv->prof->tx_pause = tx_pause; in mlx4_en_set_pauseparam()
1114 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c288 pp->tx_pause = pdata->tx_pause; in xgene_get_pauseparam()
307 pdata->tx_pause = pp->tx_pause; in xgene_set_pauseparam()
310 phy_set_asym_pause(phydev, pp->rx_pause, pp->tx_pause); in xgene_set_pauseparam()
313 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); in xgene_set_pauseparam()
320 pdata->tx_pause = pp->tx_pause; in xgene_set_pauseparam()
323 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); in xgene_set_pauseparam()
Dxgene_enet_hw.c591 xgene_gmac_flowctl_tx(pdata, pdata->tx_pause); in xgene_gmac_init()
763 u32 rx_pause, tx_pause; in xgene_enet_flowctrl_cfg() local
769 if (pdata->tx_pause) in xgene_enet_flowctrl_cfg()
784 tx_pause = !!(flowctl & FLOW_CTRL_TX); in xgene_enet_flowctrl_cfg()
787 if (tx_pause != pdata->tx_pause) { in xgene_enet_flowctrl_cfg()
788 pdata->tx_pause = tx_pause; in xgene_enet_flowctrl_cfg()
789 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); in xgene_enet_flowctrl_cfg()
/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c352 tp->peermac, tp->tx_pause, in mwifiex_process_uap_tx_pause()
356 if (tp->tx_pause) in mwifiex_process_uap_tx_pause()
361 mwifiex_update_ralist_tx_pause(priv, tp->peermac, tp->tx_pause); in mwifiex_process_uap_tx_pause()
365 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_uap_tx_pause()
366 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_uap_tx_pause()
368 tp->tx_pause); in mwifiex_process_uap_tx_pause()
384 tp->peermac, tp->tx_pause, in mwifiex_process_sta_tx_pause()
388 if (tp->tx_pause) in mwifiex_process_sta_tx_pause()
400 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_sta_tx_pause()
401 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_sta_tx_pause()
[all …]
Dwmm.c168 ra_list->tx_paused = node->tx_pause; in mwifiex_ralist_add()
639 u8 tx_pause) in mwifiex_update_ralist_tx_pause() argument
649 if (ra_list && ra_list->tx_paused != tx_pause) { in mwifiex_update_ralist_tx_pause()
651 ra_list->tx_paused = tx_pause; in mwifiex_update_ralist_tx_pause()
652 if (tx_pause) in mwifiex_update_ralist_tx_pause()
663 if (tx_pause) in mwifiex_update_ralist_tx_pause()
678 u8 *mac, u8 tx_pause) in mwifiex_update_ralist_tx_pause_in_tdls_cs() argument
692 if (ra_list->tx_paused != tx_pause) { in mwifiex_update_ralist_tx_pause_in_tdls_cs()
694 ra_list->tx_paused = tx_pause; in mwifiex_update_ralist_tx_pause_in_tdls_cs()
695 if (tx_pause) in mwifiex_update_ralist_tx_pause_in_tdls_cs()
[all …]
Dwmm.h134 u8 tx_pause);
136 u8 *mac, u8 tx_pause);
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c490 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam()
493 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam()
496 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam()
500 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam()
509 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam()
511 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); in netxen_nic_get_pauseparam()
548 if (pause->tx_pause) in netxen_nic_set_pauseparam()
554 if (pause->tx_pause) in netxen_nic_set_pauseparam()
560 if (pause->tx_pause) in netxen_nic_set_pauseparam()
567 if (pause->tx_pause) in netxen_nic_set_pauseparam()
[all …]
/drivers/net/ethernet/freescale/fman/
Dmac.c371 bool *tx_pause) in fman_get_pause_cfg() argument
377 *rx_pause = *tx_pause = false; in fman_get_pause_cfg()
387 *tx_pause = mac_dev->tx_pause_req; in fman_get_pause_cfg()
412 *tx_pause = true; in fman_get_pause_cfg()
424 bool rx_pause, tx_pause; in adjust_link_dtsec() local
435 fman_get_pause_cfg(mac_dev, &rx_pause, &tx_pause); in adjust_link_dtsec()
436 err = fman_set_mac_active_pause(mac_dev, rx_pause, tx_pause); in adjust_link_dtsec()
446 bool rx_pause, tx_pause; in adjust_link_memac() local
452 fman_get_pause_cfg(mac_dev, &rx_pause, &tx_pause); in adjust_link_memac()
453 err = fman_set_mac_active_pause(mac_dev, rx_pause, tx_pause); in adjust_link_memac()
Dmac.h99 bool *tx_pause);
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c382 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
385 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
405 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
407 else if ((pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
409 else if ((!pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
411 else if ((!pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
/drivers/net/ethernet/faraday/
Dftgmac100.c103 bool tx_pause; member
238 if (priv->tx_pause) in ftgmac100_config_pause()
997 bool tx_pause, rx_pause; in ftgmac100_adjust_link() local
1008 rx_pause = tx_pause = phydev->pause; in ftgmac100_adjust_link()
1010 tx_pause = !rx_pause; in ftgmac100_adjust_link()
1013 tx_pause = priv->tx_pause; in ftgmac100_adjust_link()
1020 tx_pause == priv->tx_pause) in ftgmac100_adjust_link()
1032 priv->tx_pause = tx_pause; in ftgmac100_adjust_link()
1193 pause->tx_pause = priv->tx_pause; in ftgmac100_get_pauseparam()
1204 priv->tx_pause = pause->tx_pause; in ftgmac100_set_pauseparam()
[all …]
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c175 epause->tx_pause = mac_dev->tx_pause_active; in dpaa_get_pauseparam()
183 bool rx_pause, tx_pause; in dpaa_set_pauseparam() local
205 mac_dev->tx_pause_req = !!epause->tx_pause; in dpaa_set_pauseparam()
211 phy_set_asym_pause(phydev, epause->rx_pause, epause->tx_pause); in dpaa_set_pauseparam()
213 fman_get_pause_cfg(mac_dev, &rx_pause, &tx_pause); in dpaa_set_pauseparam()
214 err = fman_set_mac_active_pause(mac_dev, rx_pause, tx_pause); in dpaa_set_pauseparam()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-mdio.c1064 if (pdata->tx_pause && pdata->rx_pause) in xgbe_phy_fc_string()
1068 else if (pdata->tx_pause) in xgbe_phy_fc_string()
1112 if (pdata->tx_pause != pdata->phy.tx_pause) { in xgbe_phy_adjust_link()
1114 pdata->tx_pause = pdata->phy.tx_pause; in xgbe_phy_adjust_link()
1591 pdata->phy.tx_pause = pdata->tx_pause; in xgbe_phy_init()
1603 if (pdata->tx_pause) { in xgbe_phy_init()
Dxgbe-ethtool.c266 pause->tx_pause = pdata->phy.tx_pause; in xgbe_get_pauseparam()
284 pdata->phy.tx_pause = pause->tx_pause; in xgbe_set_pauseparam()
295 if (pause->tx_pause) { in xgbe_set_pauseparam()
/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c143 pause->tx_pause = 1; in ixgb_get_pauseparam()
146 pause->tx_pause = 1; in ixgb_get_pauseparam()
160 if (pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam()
162 else if (pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam()
164 else if (!pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam()
166 else if (!pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c810 pause->tx_pause = !(qlcnic_gb_get_gb0_mask(val)); in qlcnic_get_pauseparam()
813 pause->tx_pause = !(qlcnic_gb_get_gb1_mask(val)); in qlcnic_get_pauseparam()
816 pause->tx_pause = !(qlcnic_gb_get_gb2_mask(val)); in qlcnic_get_pauseparam()
820 pause->tx_pause = !(qlcnic_gb_get_gb3_mask(val)); in qlcnic_get_pauseparam()
831 pause->tx_pause = !(qlcnic_xg_get_xg0_mask(val)); in qlcnic_get_pauseparam()
833 pause->tx_pause = !(qlcnic_xg_get_xg1_mask(val)); in qlcnic_get_pauseparam()
875 if (pause->tx_pause) in qlcnic_set_pauseparam()
881 if (pause->tx_pause) in qlcnic_set_pauseparam()
887 if (pause->tx_pause) in qlcnic_set_pauseparam()
894 if (pause->tx_pause) in qlcnic_set_pauseparam()
[all …]
/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c176 pause->tx_pause = adpt->tx_flow_control ? 1 : 0; in emac_get_pauseparam()
186 adpt->tx_flow_control = pause->tx_pause != 0; in emac_set_pauseparam()
/drivers/net/ethernet/atheros/alx/
Dethtool.c214 pause->tx_pause = !!(hw->flowctrl & ALX_FC_TX); in alx_get_pauseparam()
228 if (pause->tx_pause) in alx_set_pauseparam()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c501 pauseparam->tx_pause = bnad->bna.enet.pause_config.tx_pause; in bnad_get_pauseparam()
517 pauseparam->tx_pause != bnad->bna.enet.pause_config.tx_pause) { in bnad_set_pauseparam()
519 pause_config.tx_pause = pauseparam->tx_pause; in bnad_set_pauseparam()
Dbfi_enet.h629 u8 tx_pause; /* 1 = enable; 0 = disable */ member
768 u64 tx_pause[8]; member
815 u64 tx_pause; member
/drivers/net/ethernet/calxeda/
Dxgmac.c381 char tx_pause; member
650 priv->tx_pause = tx; in xgmac_set_flow_ctrl()
1023 xgmac_set_flow_ctrl(priv, priv->rx_pause, priv->tx_pause); in xgmac_open()
1539 pause->tx_pause = priv->tx_pause; in xgmac_get_pauseparam()
1550 return xgmac_set_flow_ctrl(priv, pause->rx_pause, pause->tx_pause); in xgmac_set_pauseparam()
1582 XGMAC_HW_STAT(tx_pause, XGMAC_MMC_TXPAUSEFRAME),
1720 priv->tx_pause = 1; in xgmac_probe()
/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c141 pause->tx_pause = 1; in uec_get_pauseparam()
152 ugeth->ug_info->transmitFlowControl = pause->tx_pause; in uec_set_pauseparam()

123456