Home
last modified time | relevance | path

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

123

/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c502 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam()
505 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam()
508 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam()
512 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam()
521 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam()
523 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); in netxen_nic_get_pauseparam()
560 if (pause->tx_pause) in netxen_nic_set_pauseparam()
566 if (pause->tx_pause) in netxen_nic_set_pauseparam()
572 if (pause->tx_pause) in netxen_nic_set_pauseparam()
579 if (pause->tx_pause) in netxen_nic_set_pauseparam()
[all …]
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c389 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
392 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
412 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
414 else if ((pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
416 else if ((!pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
418 else if ((!pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
/drivers/net/ethernet/atheros/alx/
Dethtool.c150 pause->tx_pause = 1; in alx_get_pauseparam()
152 pause->tx_pause = 0; in alx_get_pauseparam()
170 if (pause->tx_pause) in alx_set_pauseparam()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c676 pause->tx_pause = !(qlcnic_gb_get_gb0_mask(val)); in qlcnic_get_pauseparam()
679 pause->tx_pause = !(qlcnic_gb_get_gb1_mask(val)); in qlcnic_get_pauseparam()
682 pause->tx_pause = !(qlcnic_gb_get_gb2_mask(val)); in qlcnic_get_pauseparam()
686 pause->tx_pause = !(qlcnic_gb_get_gb3_mask(val)); in qlcnic_get_pauseparam()
695 pause->tx_pause = !(qlcnic_xg_get_xg0_mask(val)); in qlcnic_get_pauseparam()
697 pause->tx_pause = !(qlcnic_xg_get_xg1_mask(val)); in qlcnic_get_pauseparam()
734 if (pause->tx_pause) in qlcnic_set_pauseparam()
740 if (pause->tx_pause) in qlcnic_set_pauseparam()
746 if (pause->tx_pause) in qlcnic_set_pauseparam()
753 if (pause->tx_pause) in qlcnic_set_pauseparam()
[all …]
/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c161 pause->tx_pause = 1; in ixgb_get_pauseparam()
164 pause->tx_pause = 1; in ixgb_get_pauseparam()
178 if (pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam()
180 else if (pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam()
182 else if (!pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam()
184 else if (!pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam()
/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c172 priv->prof->rx_pause = priv->prof->tx_pause = !!pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
177 priv->prof->tx_pause, in mlx4_en_dcbnl_ieee_setpfc()
Den_ethtool.c449 priv->prof->tx_pause = pause->tx_pause != 0; in mlx4_en_set_pauseparam()
453 priv->prof->tx_pause, in mlx4_en_set_pauseparam()
468 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
Den_main.c136 params->prof[i].tx_pause = 1; in mlx4_en_get_profile()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c515 pauseparam->tx_pause = bnad->bna.enet.pause_config.tx_pause; in bnad_get_pauseparam()
531 pauseparam->tx_pause != bnad->bna.enet.pause_config.tx_pause) { in bnad_set_pauseparam()
533 pause_config.tx_pause = pauseparam->tx_pause; in bnad_set_pauseparam()
Dbfi_enet.h637 u8 tx_pause; /* 1 = enable; 0 = disable */ member
776 u64 tx_pause[8]; member
823 u64 tx_pause; member
Dbfa_defs_cna.h93 u64 tx_pause; /*!< Tx pause */ member
/drivers/net/ethernet/calxeda/
Dxgmac.c394 char tx_pause; member
642 priv->tx_pause = tx; in xgmac_set_flow_ctrl()
1018 xgmac_set_flow_ctrl(priv, priv->rx_pause, priv->tx_pause); in xgmac_open()
1533 pause->tx_pause = priv->tx_pause; in xgmac_get_pauseparam()
1544 return xgmac_set_flow_ctrl(priv, pause->rx_pause, pause->tx_pause); in xgmac_set_pauseparam()
1577 XGMAC_HW_STAT(tx_pause, XGMAC_MMC_TXPAUSEFRAME),
1715 priv->tx_pause = 1; in xgmac_probe()
/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c147 pause->tx_pause = 1; in uec_get_pauseparam()
158 ugeth->ug_info->transmitFlowControl = pause->tx_pause; in uec_set_pauseparam()
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h111 u32 tx_pause; member
Dbcm63xx_enet.c1208 { "tx_pause", GEN_STAT(mib.tx_pause), ETH_MIB_TX_PAUSE },
1439 ecmd->tx_pause = priv->pause_tx; in bcm_enet_get_pauseparam()
1450 if (ecmd->autoneg && (ecmd->rx_pause != ecmd->tx_pause)) { in bcm_enet_set_pauseparam()
1464 priv->pause_tx = ecmd->tx_pause; in bcm_enet_set_pauseparam()
/drivers/net/ethernet/atheros/atlx/
Datl1.h353 u32 tx_pause; /* TX pause frames */ member
677 u64 tx_pause; /* TX pause frames */ member
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c679 pause->tx_pause = 1; in ql_get_pauseparam()
689 if ((pause->rx_pause) && (pause->tx_pause)) in ql_set_pauseparam()
691 else if (!pause->rx_pause && !pause->tx_pause) in ql_set_pauseparam()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c437 pause->tx_pause = 0; in stmmac_get_pauseparam()
443 pause->tx_pause = 1; in stmmac_get_pauseparam()
464 if (pause->tx_pause) in stmmac_set_pauseparam()
/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c285 pause->tx_pause = 1; in e1000_get_pauseparam()
288 pause->tx_pause = 1; in e1000_get_pauseparam()
304 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
306 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
308 else if (!pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
310 else if (!pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c350 pause->tx_pause = 1; in e1000_get_pauseparam()
353 pause->tx_pause = 1; in e1000_get_pauseparam()
378 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
380 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
382 else if (!pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
384 else if (!pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
/drivers/net/ethernet/sfc/
Dethtool.c91 EFX_ETHTOOL_U64_MAC_STAT(tx_pause),
718 (pause->tx_pause ? EFX_FC_TX : 0) | in efx_ethtool_set_pauseparam()
785 pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX); in efx_ethtool_get_pauseparam()
Dfalcon_xmac.c329 FALCON_STAT(efx, XgTxPausePkts, tx_pause); in falcon_update_stats_xmac()
/drivers/net/ethernet/atheros/atl1e/
Datl1e.h291 unsigned long tx_pause; /* The number of Pause packet transmitted. */ member
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c381 pause->tx_pause = 1; in igb_get_pauseparam()
384 pause->tx_pause = 1; in igb_get_pauseparam()
409 if (pause->rx_pause && pause->tx_pause) in igb_set_pauseparam()
411 else if (pause->rx_pause && !pause->tx_pause) in igb_set_pauseparam()
413 else if (!pause->rx_pause && pause->tx_pause) in igb_set_pauseparam()
415 else if (!pause->rx_pause && !pause->tx_pause) in igb_set_pauseparam()
/drivers/net/
Dmdio.c363 (ecmd->tx_pause ? FLOW_CTRL_TX : 0))); in mdio45_ethtool_spauseparam_an()

123