/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 386 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/ |
D | xgbe-mdio.c | 827 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()
|
D | xgbe-ethtool.c | 239 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()
|
D | xgbe.h | 531 int rx_pause; member 843 unsigned int rx_pause; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | port.c | 327 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()
|
D | en_ethtool.c | 532 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/ |
D | mlx4_stats.h | 63 u64 rx_pause; member 86 __be64 rx_pause; member
|
D | en_port.c | 345 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()
|
D | en_dcb_nl.c | 217 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()
|
D | mlx4_en.h | 374 u8 rx_pause; member 755 u8 rx_ppp, u8 rx_pause, 848 u8 rx_ppp, u8 rx_pause,
|
D | en_ethtool.c | 771 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/ |
D | xgmac.c | 493 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/ |
D | ixgb_ethtool.c | 159 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/ |
D | ethtool.c | 204 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/ |
D | bnad_ethtool.c | 517 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()
|
D | bfi_enet.h | 638 u8 rx_pause; /* 1 = enable; 0 = disable */ member 782 u64 rx_pause[8]; member 806 u64 rx_pause; member
|
/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 390 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/ |
D | ucc_geth_ethtool.c | 144 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/ |
D | fm10k_pci.c | 672 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()
|
D | fm10k_ethtool.c | 529 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/ |
D | atl1.h | 327 u32 rx_pause; /* RX pause frames */ member 687 u64 rx_pause; /* num Pause packets received. */ member
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 430 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/ |
D | qlge_ethtool.c | 674 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/ |
D | e1000_ethtool.c | 278 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/ |
D | bcm63xx_enet.h | 189 u32 rx_pause; member
|