Home
last modified time | relevance | path

Searched refs:xdp_redirect (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c77 u64 xdp_redirect; in mana_get_ethtool_stats() local
98 xdp_redirect = rx_stats->xdp_redirect; in mana_get_ethtool_stats()
105 data[i++] = xdp_redirect; in mana_get_ethtool_stats()
Dmana_bpf.c114 rx_stats->xdp_redirect++; in mana_run_xdp()
Dmana.h56 u64 xdp_redirect; member
/linux-6.1.9/samples/bpf/
Dxdp_sample_user.c362 rec->cpu[i].xdp_redirect = READ_ONCE(values[i].xdp_redirect); in map_collect_percpu()
369 sum_xdp_redirect += rec->cpu[i].xdp_redirect; in map_collect_percpu()
377 rec->total.xdp_redirect = sum_xdp_redirect; in map_collect_percpu()
638 double *xdp_drop, double *xdp_redirect, double period_) in calc_xdp_pps() argument
640 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps()
642 *xdp_redirect = (r->xdp_redirect - p->xdp_redirect) / period_; in calc_xdp_pps()
749 double xdp_pass, xdp_drop, xdp_redirect; in stats_get_cpumap_remote() local
759 &xdp_redirect, t); in stats_get_cpumap_remote()
760 if (xdp_pass || xdp_drop || xdp_redirect) { in stats_get_cpumap_remote()
764 REDIR(xdp_redirect)); in stats_get_cpumap_remote()
[all …]
DMakefile57 tprogs-y += xdp_redirect
118 xdp_redirect-objs := xdp_redirect_user.o $(XDP_SAMPLE)
332 $(obj)/xdp_redirect_user.o: $(obj)/xdp_redirect.skel.h
389 $(obj)/xdp_redirect.bpf.o: $(obj)/xdp_sample.bpf.o
402 xdp_redirect_map.skel.h xdp_redirect.skel.h xdp_monitor.skel.h \
409 xdp_redirect.skel.h-deps := xdp_redirect.bpf.o xdp_sample.bpf.o
Dxdp_redirect_user.c30 DEFINE_SAMPLE_INIT(xdp_redirect);
50 struct xdp_redirect *skel; in main()
Dxdp_sample_shared.h14 size_t xdp_redirect; member
D.gitignore45 xdp_redirect
Dxdp_router_ipv4.bpf.c174 NO_TEAR_INC(rec->xdp_redirect); in xdp_router_ipv4_prog()
Dxdp_sample.bpf.c173 NO_TEAR_ADD(rec->xdp_redirect, xdp_stats->redirect); in BPF_PROG()
/linux-6.1.9/include/trace/events/
Dxdp.h140 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-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_xdp_do_redirect.c16 int xdp_redirect(struct xdp_md *xdp) in xdp_redirect() function
/linux-6.1.9/drivers/net/
Dveth.c45 u64 xdp_redirect; member
98 { "xdp_redirect", VETH_RQ_STAT(xdp_redirect) },
628 stats->xdp_redirect++; in veth_xdp_rcv_one()
849 stats->xdp_redirect++; in veth_xdp_rcv_skb()
954 rq->stats.vs.xdp_redirect += stats->xdp_redirect; in veth_xdp_rcv()
977 if (stats.xdp_redirect > 0) in veth_poll()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.h114 u64 xdp_redirect; member
Daq_ring.c475 ++rx_ring->stats.rx.xdp_redirect; in aq_xdp_run_prog()
953 data[++count] = self->stats.rx.xdp_redirect; in aq_ring_fill_stats_data()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_do_redirect.c174 xdp_prog_fd = bpf_program__fd(skel->progs.xdp_redirect); in serial_test_xdp_do_redirect()
/linux-6.1.9/drivers/net/hyperv/
Dnetvsc_bpf.c79 rx_stats->xdp_redirect++; in netvsc_run_xdp()
Dnetvsc_drv.c1511 u64 xdp_redirect; in netvsc_get_ethtool_stats() local
1545 xdp_redirect = rx_stats->xdp_redirect; in netvsc_get_ethtool_stats()
1551 data[i++] = xdp_redirect; in netvsc_get_ethtool_stats()
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.h220 u64 xdp_redirect; member
/linux-6.1.9/drivers/net/ethernet/marvell/
Dmvneta.c454 u64 xdp_redirect; member
2027 stats->es.ps.xdp_redirect += ps->xdp_redirect; in mvneta_update_stats()
2278 stats->xdp_redirect++; in mvneta_run_xdp()
2516 if (ps.xdp_redirect) in mvneta_rx_swbm()
4755 u64 xdp_redirect; in mvneta_ethtool_update_pcpu_stats() local
4768 xdp_redirect = stats->es.ps.xdp_redirect; in mvneta_ethtool_update_pcpu_stats()
4779 es->ps.xdp_redirect += xdp_redirect; in mvneta_ethtool_update_pcpu_stats()
4827 pp->ethtool_stats[i] = stats.ps.xdp_redirect; in mvneta_ethtool_update_stats()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h393 __u64 xdp_redirect; member
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc.h71 unsigned int xdp_redirect; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c320 s->rx_xsk_xdp_redirect += xskrq_stats->xdp_redirect; in mlx5e_stats_grp_sw_update_stats_xskrq()
353 s->rx_xdp_redirect += rq_stats->xdp_redirect; in mlx5e_stats_grp_sw_update_stats_rq_stats()
1947 { MLX5E_DECLARE_RX_STAT(struct mlx5e_rq_stats, xdp_redirect) },
2063 { MLX5E_DECLARE_XSKRQ_STAT(struct mlx5e_rq_stats, xdp_redirect) },
2136 { MLX5E_DECLARE_PTP_RQ_STAT(struct mlx5e_rq_stats, xdp_redirect) },
Den_stats.h355 u64 xdp_redirect; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c184 rq->stats->xdp_redirect++; in mlx5e_xdp_handle()

12