/linux/samples/bpf/ |
A D | xdp_sample_user.c | 363 rec->cpu[i].xdp_redirect = READ_ONCE(values[i].xdp_redirect); in map_collect_percpu() 370 sum_xdp_redirect += rec->cpu[i].xdp_redirect; in map_collect_percpu() 378 rec->total.xdp_redirect = sum_xdp_redirect; in map_collect_percpu() 641 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps() 643 *xdp_redirect = (r->xdp_redirect - p->xdp_redirect) / period_; in calc_xdp_pps() 750 double xdp_pass, xdp_drop, xdp_redirect; in stats_get_cpumap_remote() local 760 &xdp_redirect, t); in stats_get_cpumap_remote() 761 if (xdp_pass || xdp_drop || xdp_redirect) { in stats_get_cpumap_remote() 765 REDIR(xdp_redirect)); in stats_get_cpumap_remote() 774 if (!xdp_pass && !xdp_drop && !xdp_redirect) in stats_get_cpumap_remote() [all …]
|
A D | Makefile | 60 tprogs-y += xdp_redirect 125 xdp_redirect-objs := xdp_redirect_user.o $(XDP_SAMPLE) 338 $(obj)/xdp_redirect_user.o: $(obj)/xdp_redirect.skel.h 384 $(obj)/xdp_redirect.bpf.o: $(obj)/xdp_sample.bpf.o 396 xdp_redirect_map.skel.h xdp_redirect.skel.h xdp_monitor.skel.h 402 xdp_redirect.skel.h-deps := xdp_redirect.bpf.o xdp_sample.bpf.o
|
A D | xdp_redirect_user.c | 31 DEFINE_SAMPLE_INIT(xdp_redirect); 51 struct xdp_redirect *skel; in main()
|
A D | xdp_sample_shared.h | 14 size_t xdp_redirect; member
|
A D | .gitignore | 45 xdp_redirect
|
A D | xdp_sample.bpf.c | 173 NO_TEAR_ADD(rec->xdp_redirect, xdp_stats->redirect); in BPF_PROG()
|
/linux/include/trace/events/ |
A D | xdp.h | 140 DEFINE_EVENT(xdp_redirect_template, xdp_redirect, 205 __field(unsigned int, xdp_redirect) 217 __entry->xdp_redirect = xdp_stats->redirect; 229 __entry->xdp_pass, __entry->xdp_drop, __entry->xdp_redirect)
|
/linux/drivers/net/ |
A D | veth.c | 45 u64 xdp_redirect; member 98 { "xdp_redirect", VETH_RQ_STAT(xdp_redirect) }, 650 stats->xdp_redirect++; in veth_xdp_rcv_one() 800 stats->xdp_redirect++; in veth_xdp_rcv_skb() 896 rq->stats.vs.xdp_redirect += stats->xdp_redirect; in veth_xdp_rcv() 930 if (stats.xdp_redirect > 0) in veth_poll()
|
/linux/drivers/net/ethernet/marvell/ |
A D | mvneta.c | 424 u64 xdp_redirect; member 1996 stats->es.ps.xdp_redirect += ps->xdp_redirect; in mvneta_update_stats() 2205 stats->xdp_redirect++; in mvneta_run_xdp() 2449 if (ps.xdp_redirect) in mvneta_rx_swbm() 4620 u64 xdp_redirect; in mvneta_ethtool_update_pcpu_stats() local 4633 xdp_redirect = stats->es.ps.xdp_redirect; in mvneta_ethtool_update_pcpu_stats() 4644 es->ps.xdp_redirect += xdp_redirect; in mvneta_ethtool_update_pcpu_stats() 4692 pp->ethtool_stats[i] = stats.ps.xdp_redirect; in mvneta_ethtool_update_stats()
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_netdev.h | 231 u64 xdp_redirect; member
|
A D | ena_ethtool.c | 98 ENA_STAT_RX_ENTRY(xdp_redirect),
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_stats.c | 302 s->rx_xsk_xdp_redirect += xskrq_stats->xdp_redirect; in mlx5e_stats_grp_sw_update_stats_xskrq() 335 s->rx_xdp_redirect += rq_stats->xdp_redirect; in mlx5e_stats_grp_sw_update_stats_rq_stats() 1770 { MLX5E_DECLARE_RX_STAT(struct mlx5e_rq_stats, xdp_redirect) }, 1873 { MLX5E_DECLARE_XSKRQ_STAT(struct mlx5e_rq_stats, xdp_redirect) }, 1944 { MLX5E_DECLARE_PTP_RQ_STAT(struct mlx5e_rq_stats, xdp_redirect) },
|
A D | en_stats.h | 339 u64 xdp_redirect; member
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-eth.h | 384 __u64 xdp_redirect; member
|
A D | dpaa2-eth.c | 408 ch->stats.xdp_redirect++; in dpaa2_eth_run_xdp()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc.h | 68 unsigned int xdp_redirect; member
|
A D | enetc_ethtool.c | 290 data[o++] = priv->rx_ring[i]->stats.xdp_redirect; in enetc_get_ethtool_stats()
|
A D | enetc.c | 1625 rx_ring->stats.xdp_redirect++; in enetc_clean_rx_ring_xdp()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | xdp.c | 151 rq->stats->xdp_redirect++; in mlx5e_xdp_handle()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_port.c | 260 priv->xdp_stats.rx_xdp_redirect += READ_ONCE(ring->xdp_redirect); in mlx4_en_DUMP_ETH_STATS()
|
A D | mlx4_en.h | 344 unsigned long xdp_redirect; member
|
A D | en_rx.c | 797 ring->xdp_redirect++; in mlx4_en_process_rx_cq()
|
A D | en_ethtool.c | 434 data[index++] = priv->rx_ring[i]->xdp_redirect; in mlx4_en_get_ethtool_stats()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_main.c | 1999 u64 xdp_redirect; in mvpp2_get_xdp_stats() local 2010 xdp_redirect = cpu_stats->xdp_redirect; in mvpp2_get_xdp_stats() 2019 xdp_stats->xdp_redirect += xdp_redirect; in mvpp2_get_xdp_stats() 2069 *pstats++ = xdp_stats.xdp_redirect; in mvpp2_read_stats() 3812 stats->xdp_redirect++; in mvpp2_run_xdp() 4036 stats->xdp_redirect += ps.xdp_redirect; in mvpp2_rx()
|
A D | mvpp2.h | 1120 u64 xdp_redirect; member
|