Searched refs:xdp_stats (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_port.c | 246 priv->xdp_stats.rx_xdp_drop = 0; in mlx4_en_DUMP_ETH_STATS() 247 priv->xdp_stats.rx_xdp_redirect = 0; in mlx4_en_DUMP_ETH_STATS() 248 priv->xdp_stats.rx_xdp_redirect_fail = 0; in mlx4_en_DUMP_ETH_STATS() 249 priv->xdp_stats.rx_xdp_tx = 0; in mlx4_en_DUMP_ETH_STATS() 250 priv->xdp_stats.rx_xdp_tx_full = 0; in mlx4_en_DUMP_ETH_STATS() 259 priv->xdp_stats.rx_xdp_drop += READ_ONCE(ring->xdp_drop); in mlx4_en_DUMP_ETH_STATS() 260 priv->xdp_stats.rx_xdp_redirect += READ_ONCE(ring->xdp_redirect); in mlx4_en_DUMP_ETH_STATS() 261 priv->xdp_stats.rx_xdp_redirect_fail += READ_ONCE(ring->xdp_redirect_fail); in mlx4_en_DUMP_ETH_STATS() 262 priv->xdp_stats.rx_xdp_tx += READ_ONCE(ring->xdp_tx); in mlx4_en_DUMP_ETH_STATS() 263 priv->xdp_stats.rx_xdp_tx_full += READ_ONCE(ring->xdp_tx_full); in mlx4_en_DUMP_ETH_STATS()
|
A D | mlx4_en.h | 609 struct mlx4_en_xdp_stats xdp_stats; member
|
A D | en_ethtool.c | 419 data[index++] = ((unsigned long *)&priv->xdp_stats)[i]; in mlx4_en_get_ethtool_stats()
|
/linux-6.3-rc2/samples/bpf/ |
A D | xdp_sample.bpf.c | 157 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-6.3-rc2/include/trace/events/ |
A D | xdp.h | 192 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-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | xdp_features.c | 241 unsigned int drops, int sched, struct xdp_cpumap_stats *xdp_stats) in BPF_PROG() argument
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_main.c | 2022 xdp_stats->xdp_pass += xdp_pass; in mvpp2_get_xdp_stats() 2023 xdp_stats->xdp_drop += xdp_drop; in mvpp2_get_xdp_stats() 2024 xdp_stats->xdp_xmit += xdp_xmit; in mvpp2_get_xdp_stats() 2026 xdp_stats->xdp_tx += xdp_tx; in mvpp2_get_xdp_stats() 2071 *pstats++ = xdp_stats.xdp_redirect; in mvpp2_read_stats() 2074 *pstats++ = xdp_stats.xdp_pass; in mvpp2_read_stats() 2077 *pstats++ = xdp_stats.xdp_drop; in mvpp2_read_stats() 2080 *pstats++ = xdp_stats.xdp_tx; in mvpp2_read_stats() 2083 *pstats++ = xdp_stats.xdp_tx_err; in mvpp2_read_stats() 2086 *pstats++ = xdp_stats.xdp_xmit; in mvpp2_read_stats() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mediatek/ |
A D | mtk_eth_soc.c | 39 offsetof(struct mtk_hw_stats, xdp_stats.x) / \ 1841 hw_stats->xdp_stats.tx_xdp_xmit += nxmit; in mtk_xdp_xmit() 1842 hw_stats->xdp_stats.tx_xdp_xmit_errors += num_frame - nxmit; in mtk_xdp_xmit() 1853 u64 *count = &hw_stats->xdp_stats.rx_xdp_drop; in mtk_xdp_run() 1866 count = &hw_stats->xdp_stats.rx_xdp_pass; in mtk_xdp_run() 1874 count = &hw_stats->xdp_stats.rx_xdp_redirect; in mtk_xdp_run() 1880 count = &hw_stats->xdp_stats.rx_xdp_tx_errors; in mtk_xdp_run() 1885 count = &hw_stats->xdp_stats.rx_xdp_tx; in mtk_xdp_run()
|
A D | mtk_eth_soc.h | 663 struct mtk_xdp_stats xdp_stats; member
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/ |
A D | fec_main.c | 2789 u64 xdp_stats[XDP_STATS_TOTAL] = { 0 }; in fec_enet_get_xdp_stats() local 2797 xdp_stats[j] += rxq->stats[j]; in fec_enet_get_xdp_stats() 2800 memcpy(data, xdp_stats, sizeof(xdp_stats)); in fec_enet_get_xdp_stats()
|
Completed in 43 milliseconds