/openbmc/linux/net/ethtool/ |
H A D | pause.c | 118 const struct ethtool_pause_stats *pause_stats) in pause_put_stats() argument 123 if (nla_put_u32(skb, ETHTOOL_A_PAUSE_STATS_SRC, pause_stats->src)) in pause_put_stats() 130 if (ethtool_put_stat(skb, pause_stats->tx_pause_frames, in pause_put_stats() 132 ethtool_put_stat(skb, pause_stats->rx_pause_frames, in pause_put_stats()
|
H A D | stats.c | 530 struct ethtool_pause_stats *pause_stats) in ethtool_aggregate_pause_stats() argument 543 ethtool_aggregate_stats(pause_stats, &emac, &pmac, in ethtool_aggregate_pause_stats() 544 sizeof(pause_stats->stats), in ethtool_aggregate_pause_stats()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_stats.c | 490 struct ethtool_pause_stats *pause_stats = priv; in ocelot_port_pause_stats_cb() local 492 pause_stats->tx_pause_frames = s[OCELOT_STAT_TX_PAUSE]; in ocelot_port_pause_stats_cb() 493 pause_stats->rx_pause_frames = s[OCELOT_STAT_RX_PAUSE]; in ocelot_port_pause_stats_cb() 500 struct ethtool_pause_stats *pause_stats = priv; in ocelot_port_pmac_pause_stats_cb() local 502 pause_stats->tx_pause_frames = s[OCELOT_STAT_TX_PMAC_PAUSE]; in ocelot_port_pmac_pause_stats_cb() 503 pause_stats->rx_pause_frames = s[OCELOT_STAT_RX_PMAC_PAUSE]; in ocelot_port_pmac_pause_stats_cb() 521 struct ethtool_pause_stats *pause_stats) in ocelot_port_get_pause_stats() argument 525 switch (pause_stats->src) { in ocelot_port_get_pause_stats() 527 ocelot_port_stats_run(ocelot, port, pause_stats, in ocelot_port_get_pause_stats() 532 ocelot_port_stats_run(ocelot, port, pause_stats, in ocelot_port_get_pause_stats() [all …]
|
/openbmc/linux/include/linux/ |
H A D | ethtool_netlink.h | 39 struct ethtool_pause_stats *pause_stats); 106 struct ethtool_pause_stats *pause_stats) in ethtool_aggregate_pause_stats() argument
|
H A D | ethtool.h | 825 struct ethtool_pause_stats *pause_stats);
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | ethtool.c | 12 struct ethtool_pause_stats *pause_stats) in nsim_get_pause_stats() argument 17 pause_stats->rx_pause_frames = 1; in nsim_get_pause_stats() 19 pause_stats->tx_pause_frames = 2; in nsim_get_pause_stats()
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | ar9331.c | 234 struct ethtool_pause_stats pause_stats; member 608 struct ethtool_pause_stats *pstats = &port->pause_stats; in ar9331_read_stats() 677 struct ethtool_pause_stats *pause_stats) in ar9331_get_pause_stats() argument 683 memcpy(pause_stats, &p->pause_stats, sizeof(*pause_stats)); in ar9331_get_pause_stats()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ethtool.c | 321 struct ethtool_pause_stats *pause_stats) in enetc_pause_stats() argument 323 pause_stats->tx_pause_frames = enetc_port_rd(hw, ENETC_PM_TXPF(mac)); in enetc_pause_stats() 324 pause_stats->rx_pause_frames = enetc_port_rd(hw, ENETC_PM_RXPF(mac)); in enetc_pause_stats() 328 struct ethtool_pause_stats *pause_stats) in enetc_get_pause_stats() argument 334 switch (pause_stats->src) { in enetc_get_pause_stats() 336 enetc_pause_stats(hw, 0, pause_stats); in enetc_get_pause_stats() 340 enetc_pause_stats(hw, 1, pause_stats); in enetc_get_pause_stats() 343 ethtool_aggregate_pause_stats(ndev, pause_stats); in enetc_get_pause_stats()
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz_common.c | 1649 pstats = &mib->pause_stats; in ksz_r_mib_stats64() 1698 pstats = &mib->pause_stats; in ksz88xx_r_mib_stats64() 1752 struct ethtool_pause_stats *pause_stats) in ksz_get_pause_stats() argument 1760 memcpy(pause_stats, &mib->pause_stats, sizeof(*pause_stats)); in ksz_get_pause_stats()
|
H A D | ksz_common.h | 41 struct ethtool_pause_stats pause_stats; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.h | 116 struct ethtool_pause_stats *pause_stats);
|
H A D | en_stats.c | 909 struct ethtool_pause_stats *pause_stats) in mlx5e_stats_pause_get() argument 917 pause_stats->tx_pause_frames = in mlx5e_stats_pause_get() 921 pause_stats->rx_pause_frames = in mlx5e_stats_pause_get()
|
H A D | en_ethtool.c | 1432 struct ethtool_pause_stats *pause_stats) in mlx5e_get_pause_stats() argument 1436 mlx5e_stats_pause_get(priv, pause_stats); in mlx5e_get_pause_stats()
|
/openbmc/linux/drivers/net/dsa/ocelot/ |
H A D | felix.c | 1162 struct ethtool_pause_stats *pause_stats) in felix_get_pause_stats() argument 1166 ocelot_port_get_pause_stats(ocelot, port, pause_stats); in felix_get_pause_stats()
|
/openbmc/linux/include/net/ |
H A D | dsa.h | 918 struct ethtool_pause_stats *pause_stats);
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot.h | 1014 struct ethtool_pause_stats *pause_stats);
|
/openbmc/linux/net/dsa/ |
H A D | slave.c | 1298 struct ethtool_pause_stats *pause_stats) in dsa_slave_get_pause_stats() argument 1304 ds->ops->get_pause_stats(ds, dp->index, pause_stats); in dsa_slave_get_pause_stats()
|