Home
last modified time | relevance | path

Searched refs:xdp_stats (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/samples/bpf/
Dxdp_sample.bpf.c157 unsigned int drops, int sched, struct xdp_cpumap_stats *xdp_stats) in BPF_PROG() argument
171 NO_TEAR_ADD(rec->xdp_pass, xdp_stats->pass); in BPF_PROG()
172 NO_TEAR_ADD(rec->xdp_drop, xdp_stats->drop); in BPF_PROG()
173 NO_TEAR_ADD(rec->xdp_redirect, xdp_stats->redirect); in BPF_PROG()
/Linux-v5.15/include/trace/events/
Dxdp.h192 int sched, struct xdp_cpumap_stats *xdp_stats),
194 TP_ARGS(map_id, processed, drops, sched, xdp_stats),
215 __entry->xdp_pass = xdp_stats->pass;
216 __entry->xdp_drop = xdp_stats->drop;
217 __entry->xdp_redirect = xdp_stats->redirect;
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Den_port.c246 priv->xdp_stats.rx_xdp_drop = 0; in mlx4_en_DUMP_ETH_STATS()
247 priv->xdp_stats.rx_xdp_tx = 0; in mlx4_en_DUMP_ETH_STATS()
248 priv->xdp_stats.rx_xdp_tx_full = 0; in mlx4_en_DUMP_ETH_STATS()
257 priv->xdp_stats.rx_xdp_drop += READ_ONCE(ring->xdp_drop); in mlx4_en_DUMP_ETH_STATS()
258 priv->xdp_stats.rx_xdp_tx += READ_ONCE(ring->xdp_tx); in mlx4_en_DUMP_ETH_STATS()
259 priv->xdp_stats.rx_xdp_tx_full += READ_ONCE(ring->xdp_tx_full); in mlx4_en_DUMP_ETH_STATS()
Dmlx4_en.h598 struct mlx4_en_xdp_stats xdp_stats; member
Den_ethtool.c416 data[index++] = ((unsigned long *)&priv->xdp_stats)[i]; in mlx4_en_get_ethtool_stats()
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1991 mvpp2_get_xdp_stats(struct mvpp2_port *port, struct mvpp2_pcpu_stats *xdp_stats) in mvpp2_get_xdp_stats() argument
2019 xdp_stats->xdp_redirect += xdp_redirect; in mvpp2_get_xdp_stats()
2020 xdp_stats->xdp_pass += xdp_pass; in mvpp2_get_xdp_stats()
2021 xdp_stats->xdp_drop += xdp_drop; in mvpp2_get_xdp_stats()
2022 xdp_stats->xdp_xmit += xdp_xmit; in mvpp2_get_xdp_stats()
2023 xdp_stats->xdp_xmit_err += xdp_xmit_err; in mvpp2_get_xdp_stats()
2024 xdp_stats->xdp_tx += xdp_tx; in mvpp2_get_xdp_stats()
2025 xdp_stats->xdp_tx_err += xdp_tx_err; in mvpp2_get_xdp_stats()
2031 struct mvpp2_pcpu_stats xdp_stats = {}; in mvpp2_read_stats() local
2062 mvpp2_get_xdp_stats(port, &xdp_stats); in mvpp2_read_stats()
[all …]