Home
last modified time | relevance | path

Searched refs:rx_pause (Results 1 – 25 of 90) sorted by relevance

1234

/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c386 pause->rx_pause = 1; in pch_gbe_get_pauseparam()
390 pause->rx_pause = 1; in pch_gbe_get_pauseparam()
411 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
413 else 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()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-mdio.c827 if (pdata->tx_pause && pdata->rx_pause) in xgbe_phy_fc_string()
829 else if (pdata->rx_pause) in xgbe_phy_fc_string()
879 if (pdata->rx_pause != pdata->phy.rx_pause) { in xgbe_phy_adjust_link()
881 pdata->rx_pause = pdata->phy.rx_pause; in xgbe_phy_adjust_link()
1055 pdata->phy.rx_pause = 0; in xgbe_phy_status_aneg()
1059 pdata->phy.rx_pause = 1; in xgbe_phy_status_aneg()
1062 pdata->phy.rx_pause = 1; in xgbe_phy_status_aneg()
1328 pdata->phy.rx_pause = pdata->rx_pause; in xgbe_phy_init()
1334 if (pdata->rx_pause) { in xgbe_phy_init()
Dxgbe-ethtool.c239 pause->rx_pause = pdata->phy.rx_pause; in xgbe_get_pauseparam()
256 pdata->phy.rx_pause = pause->rx_pause; in xgbe_set_pauseparam()
261 if (pause->rx_pause) { in xgbe_set_pauseparam()
Dxgbe.h531 int rx_pause; member
843 unsigned int rx_pause; member
/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c327 int mlx5_set_port_pause(struct mlx5_core_dev *dev, u32 rx_pause, u32 tx_pause) in mlx5_set_port_pause() argument
335 MLX5_SET(pfcc_reg, in, pprx, rx_pause); in mlx5_set_port_pause()
343 u32 *rx_pause, u32 *tx_pause) in mlx5_query_port_pause() argument
357 if (rx_pause) in mlx5_query_port_pause()
358 *rx_pause = MLX5_GET(pfcc_reg, out, pprx); in mlx5_query_port_pause()
Den_ethtool.c532 u8 rx_pause, u32 *advertising) in get_advertising() argument
536 *advertising |= (tx_pause ^ rx_pause) ? ADVERTISED_Asym_Pause : 0; in get_advertising()
843 err = mlx5_query_port_pause(mdev, &pauseparam->rx_pause, in mlx5e_get_pauseparam()
865 pauseparam->rx_pause ? 1 : 0, in mlx5e_set_pauseparam()
/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_stats.h63 u64 rx_pause; member
86 __be64 rx_pause; member
Den_port.c345 priv->rx_priority_flowstats[i].rx_pause = in mlx4_en_DUMP_ETH_STATS()
346 be64_to_cpu(flowstats[i].rx_pause); in mlx4_en_DUMP_ETH_STATS()
360 priv->rx_flowstats.rx_pause = in mlx4_en_DUMP_ETH_STATS()
361 be64_to_cpu(flowstats[0].rx_pause); in mlx4_en_DUMP_ETH_STATS()
Den_dcb_nl.c217 prof->rx_pause = !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
226 prof->rx_pause, in mlx4_en_dcbnl_ieee_setpfc()
232 prof->rx_ppp, prof->rx_pause, in mlx4_en_dcbnl_ieee_setpfc()
Dmlx4_en.h374 u8 rx_pause; member
755 u8 rx_ppp, u8 rx_pause,
848 u8 rx_ppp, u8 rx_pause,
Den_ethtool.c771 cmd->advertising |= (priv->prof->tx_pause ^ priv->prof->rx_pause) ? in ethtool_get_ptys_settings()
1025 priv->prof->rx_pause = pause->rx_pause != 0; in mlx4_en_set_pauseparam()
1030 priv->prof->rx_pause, in mlx4_en_set_pauseparam()
1037 priv->prof->rx_pause, in mlx4_en_set_pauseparam()
1050 pause->rx_pause = priv->prof->rx_pause; in mlx4_en_get_pauseparam()
/drivers/net/ethernet/chelsio/cxgb3/
Dxgmac.c493 mac->rx_pause = s->rx_pause; in t3_mac_enable()
543 if (tx_mcnt == mac->tx_mcnt && mac->rx_pause == s->rx_pause) { in t3b2_mac_watchdog_task()
577 mac->rx_pause = s->rx_pause; in t3b2_mac_watchdog_task()
614 RMON_UPDATE(mac, rx_pause, RX_PAUSE_FRAMES); in t3_mac_update_stats()
/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c159 pause->rx_pause = 1; in ixgb_get_pauseparam()
163 pause->rx_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/atheros/alx/
Dethtool.c204 pause->rx_pause = !!(hw->flowctrl & ALX_FC_RX); in alx_get_pauseparam()
219 if (pause->rx_pause) in alx_set_pauseparam()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c517 pauseparam->rx_pause = bnad->bna.enet.pause_config.rx_pause; in bnad_get_pauseparam()
533 if (pauseparam->rx_pause != bnad->bna.enet.pause_config.rx_pause || in bnad_set_pauseparam()
535 pause_config.rx_pause = pauseparam->rx_pause; in bnad_set_pauseparam()
Dbfi_enet.h638 u8 rx_pause; /* 1 = enable; 0 = disable */ member
782 u64 rx_pause[8]; member
806 u64 rx_pause; member
/drivers/net/ethernet/calxeda/
Dxgmac.c390 char rx_pause; member
659 priv->rx_pause = rx; in xgmac_set_flow_ctrl()
1033 xgmac_set_flow_ctrl(priv, priv->rx_pause, priv->tx_pause); in xgmac_open()
1564 pause->rx_pause = priv->rx_pause; in xgmac_get_pauseparam()
1576 return xgmac_set_flow_ctrl(priv, pause->rx_pause, pause->tx_pause); in xgmac_set_pauseparam()
1609 XGMAC_HW_STAT(rx_pause, XGMAC_MMC_RXPAUSEFRAME),
1745 priv->rx_pause = 1; in xgmac_probe()
/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c144 pause->rx_pause = 1; in uec_get_pauseparam()
156 ugeth->ug_info->receiveFlowControl = pause->rx_pause; in uec_set_pauseparam()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c672 u8 rx_pause = interface->rx_pause; in fm10k_configure_rx_ring() local
708 rx_pause = interface->pfc_en; in fm10k_configure_rx_ring()
710 if (!(rx_pause & (1 << ring->qos_pc))) in fm10k_configure_rx_ring()
746 u8 rx_pause = interface->rx_pause; in fm10k_update_rx_drop_en() local
751 rx_pause = interface->pfc_en; in fm10k_update_rx_drop_en()
759 if (!(rx_pause & (1 << ring->qos_pc))) in fm10k_update_rx_drop_en()
Dfm10k_ethtool.c529 pause->rx_pause = interface->rx_pause ? 1 : 0; in fm10k_get_pauseparam()
543 interface->rx_pause = pause->rx_pause ? ~0 : 0; in fm10k_set_pauseparam()
544 else if (pause->rx_pause) in fm10k_set_pauseparam()
/drivers/net/ethernet/atheros/atlx/
Datl1.h327 u32 rx_pause; /* RX pause frames */ member
687 u64 rx_pause; /* num Pause packets received. */ member
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c430 pause->rx_pause = 0; in stmmac_get_pauseparam()
435 pause->rx_pause = 1; in stmmac_get_pauseparam()
453 if (pause->rx_pause) in stmmac_set_pauseparam()
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c674 pause->rx_pause = 1; in ql_get_pauseparam()
685 if ((pause->rx_pause) && (pause->tx_pause)) in ql_set_pauseparam()
687 else if (!pause->rx_pause && !pause->tx_pause) in ql_set_pauseparam()
/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c278 pause->rx_pause = 1; in e1000_get_pauseparam()
282 pause->rx_pause = 1; in e1000_get_pauseparam()
299 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
301 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
303 else if (!pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
305 else if (!pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h189 u32 rx_pause; member

1234