| /Linux-v6.6/net/ethtool/ |
| 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()
|
| 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()
|
| /Linux-v6.6/drivers/net/ethernet/mscc/ |
| 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 …]
|
| /Linux-v6.6/include/linux/ |
| D | ethtool_netlink.h | 39 struct ethtool_pause_stats *pause_stats); 106 struct ethtool_pause_stats *pause_stats) in ethtool_aggregate_pause_stats() argument
|
| D | ethtool.h | 825 struct ethtool_pause_stats *pause_stats);
|
| /Linux-v6.6/drivers/net/netdevsim/ |
| 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()
|
| /Linux-v6.6/drivers/net/dsa/qca/ |
| 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()
|
| /Linux-v6.6/drivers/net/ethernet/freescale/enetc/ |
| 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()
|
| /Linux-v6.6/drivers/net/dsa/microchip/ |
| D | ksz_common.c | 1655 pstats = &mib->pause_stats; in ksz_r_mib_stats64() 1704 pstats = &mib->pause_stats; in ksz88xx_r_mib_stats64() 1758 struct ethtool_pause_stats *pause_stats) in ksz_get_pause_stats() argument 1766 memcpy(pause_stats, &mib->pause_stats, sizeof(*pause_stats)); in ksz_get_pause_stats()
|
| D | ksz_common.h | 41 struct ethtool_pause_stats pause_stats; member
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_stats.h | 116 struct ethtool_pause_stats *pause_stats);
|
| 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()
|
| D | en_ethtool.c | 1412 struct ethtool_pause_stats *pause_stats) in mlx5e_get_pause_stats() argument 1416 mlx5e_stats_pause_get(priv, pause_stats); in mlx5e_get_pause_stats()
|
| /Linux-v6.6/drivers/net/dsa/ocelot/ |
| D | felix.c | 1160 struct ethtool_pause_stats *pause_stats) in felix_get_pause_stats() argument 1164 ocelot_port_get_pause_stats(ocelot, port, pause_stats); in felix_get_pause_stats()
|
| /Linux-v6.6/include/soc/mscc/ |
| D | ocelot.h | 1006 struct ethtool_pause_stats *pause_stats);
|
| /Linux-v6.6/include/net/ |
| D | dsa.h | 918 struct ethtool_pause_stats *pause_stats);
|
| /Linux-v6.6/net/dsa/ |
| 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()
|