Home
last modified time | relevance | path

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

123

/linux-3.4.99/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c500 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam()
503 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam()
506 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam()
510 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam()
519 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam()
521 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); in netxen_nic_get_pauseparam()
553 if (pause->tx_pause) in netxen_nic_set_pauseparam()
559 if (pause->tx_pause) in netxen_nic_set_pauseparam()
565 if (pause->tx_pause) in netxen_nic_set_pauseparam()
572 if (pause->tx_pause) in netxen_nic_set_pauseparam()
[all …]
/linux-3.4.99/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c390 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
393 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
413 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
415 else if ((pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
417 else if ((!pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
419 else if ((!pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c520 pause->tx_pause = !(qlcnic_gb_get_gb0_mask(val)); in qlcnic_get_pauseparam()
523 pause->tx_pause = !(qlcnic_gb_get_gb1_mask(val)); in qlcnic_get_pauseparam()
526 pause->tx_pause = !(qlcnic_gb_get_gb2_mask(val)); in qlcnic_get_pauseparam()
530 pause->tx_pause = !(qlcnic_gb_get_gb3_mask(val)); in qlcnic_get_pauseparam()
539 pause->tx_pause = !(qlcnic_xg_get_xg0_mask(val)); in qlcnic_get_pauseparam()
541 pause->tx_pause = !(qlcnic_xg_get_xg1_mask(val)); in qlcnic_get_pauseparam()
574 if (pause->tx_pause) in qlcnic_set_pauseparam()
580 if (pause->tx_pause) in qlcnic_set_pauseparam()
586 if (pause->tx_pause) in qlcnic_set_pauseparam()
593 if (pause->tx_pause) in qlcnic_set_pauseparam()
[all …]
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c419 priv->prof->tx_pause = pause->tx_pause != 0; in mlx4_en_set_pauseparam()
423 priv->prof->tx_pause, in mlx4_en_set_pauseparam()
438 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
Den_main.c112 params->prof[i].tx_pause = 1; in mlx4_en_get_profile()
/linux-3.4.99/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()
/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbfi_enet.h675 u8 tx_pause; /* 1 = enable; 0 = disable */ member
820 u64 tx_pause[8]; member
866 u64 tx_pause; member
Dbnad_ethtool.c514 pauseparam->tx_pause = bnad->bna.enet.pause_config.tx_pause; in bnad_get_pauseparam()
530 pauseparam->tx_pause != bnad->bna.enet.pause_config.tx_pause) { in bnad_set_pauseparam()
532 pause_config.tx_pause = pauseparam->tx_pause; in bnad_set_pauseparam()
Dbfa_defs_cna.h99 u64 tx_pause; /*!< Tx pause */ member
/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c304 pause->tx_pause = 0; in stmmac_get_pauseparam()
310 pause->tx_pause = 1; in stmmac_get_pauseparam()
328 if (pause->tx_pause) in stmmac_set_pauseparam()
/linux-3.4.99/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()
/linux-3.4.99/drivers/net/ethernet/calxeda/
Dxgmac.c392 char tx_pause; member
640 priv->tx_pause = tx; in xgmac_set_flow_ctrl()
1030 xgmac_set_flow_ctrl(priv, priv->rx_pause, priv->tx_pause); in xgmac_open()
1550 pause->tx_pause = priv->tx_pause; in xgmac_get_pauseparam()
1561 return xgmac_set_flow_ctrl(priv, pause->rx_pause, pause->tx_pause); in xgmac_set_pauseparam()
1594 XGMAC_HW_STAT(tx_pause, XGMAC_MMC_TXPAUSEFRAME),
1732 priv->tx_pause = 1; in xgmac_probe()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c638 pause->tx_pause = 1; in ql_get_pauseparam()
648 if ((pause->rx_pause) && (pause->tx_pause)) in ql_set_pauseparam()
650 else if (!pause->rx_pause && !pause->tx_pause) in ql_set_pauseparam()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h139 u32 tx_pause; member
Dbcm63xx_enet.c1212 { "tx_pause", GEN_STAT(mib.tx_pause), ETH_MIB_TX_PAUSE },
1442 ecmd->tx_pause = priv->pause_tx; in bcm_enet_get_pauseparam()
1453 if (ecmd->autoneg && (ecmd->rx_pause != ecmd->tx_pause)) { in bcm_enet_set_pauseparam()
1467 priv->pause_tx = ecmd->tx_pause; in bcm_enet_set_pauseparam()
/linux-3.4.99/drivers/net/ethernet/atheros/atlx/
Datl1.h349 u32 tx_pause; /* TX pause frames */ member
673 u64 tx_pause; /* TX pause frames */ member
/linux-3.4.99/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c249 pause->tx_pause = 1; in e1000_get_pauseparam()
252 pause->tx_pause = 1; in e1000_get_pauseparam()
268 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
270 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
272 else if (!pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
274 else if (!pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dethtool.c317 pause->tx_pause = 1; in e1000_get_pauseparam()
320 pause->tx_pause = 1; in e1000_get_pauseparam()
345 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
347 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
349 else if (!pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
351 else if (!pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
/linux-3.4.99/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()
/linux-3.4.99/drivers/net/ethernet/intel/igb/
Digb_ethtool.c277 pause->tx_pause = 1; in igb_get_pauseparam()
280 pause->tx_pause = 1; in igb_get_pauseparam()
305 if (pause->rx_pause && pause->tx_pause) in igb_set_pauseparam()
307 else if (pause->rx_pause && !pause->tx_pause) in igb_set_pauseparam()
309 else if (!pause->rx_pause && pause->tx_pause) in igb_set_pauseparam()
311 else if (!pause->rx_pause && !pause->tx_pause) in igb_set_pauseparam()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1e/
Datl1e.h291 unsigned long tx_pause; /* The number of Pause packet transmitted. */ member
/linux-3.4.99/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c550 be_cmd_get_flow_control(adapter, &ecmd->tx_pause, &ecmd->rx_pause); in be_get_pauseparam()
562 adapter->tx_fc = ecmd->tx_pause; in be_set_pauseparam()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c390 pause->tx_pause = 1; in ixgbe_get_pauseparam()
393 pause->tx_pause = 1; in ixgbe_get_pauseparam()
397 pause->tx_pause = 0; in ixgbe_get_pauseparam()
423 if ((pause->rx_pause && pause->tx_pause) || pause->autoneg) in ixgbe_set_pauseparam()
425 else if (pause->rx_pause && !pause->tx_pause) in ixgbe_set_pauseparam()
427 else if (!pause->rx_pause && pause->tx_pause) in ixgbe_set_pauseparam()
429 else if (!pause->rx_pause && !pause->tx_pause) in ixgbe_set_pauseparam()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1c/
Datl1c.h360 unsigned long tx_pause; /* The number of Pause packet transmitted. */ member
/linux-3.4.99/drivers/net/
Dmdio.c363 (ecmd->tx_pause ? FLOW_CTRL_TX : 0))); in mdio45_ethtool_spauseparam_an()

123