/linux-6.1.9/drivers/net/ethernet/microsoft/mana/ |
D | mana_ethtool.c | 77 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()
|
D | mana_bpf.c | 114 rx_stats->xdp_redirect++; in mana_run_xdp()
|
D | mana.h | 56 u64 xdp_redirect; member
|
/linux-6.1.9/samples/bpf/ |
D | xdp_sample_user.c | 362 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 …]
|
D | Makefile | 57 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
|
D | xdp_redirect_user.c | 30 DEFINE_SAMPLE_INIT(xdp_redirect); 50 struct xdp_redirect *skel; in main()
|
D | xdp_sample_shared.h | 14 size_t xdp_redirect; member
|
D | .gitignore | 45 xdp_redirect
|
D | xdp_router_ipv4.bpf.c | 174 NO_TEAR_INC(rec->xdp_redirect); in xdp_router_ipv4_prog()
|
D | xdp_sample.bpf.c | 173 NO_TEAR_ADD(rec->xdp_redirect, xdp_stats->redirect); in BPF_PROG()
|
/linux-6.1.9/include/trace/events/ |
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-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_xdp_do_redirect.c | 16 int xdp_redirect(struct xdp_md *xdp) in xdp_redirect() function
|
/linux-6.1.9/drivers/net/ |
D | veth.c | 45 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/ |
D | aq_ring.h | 114 u64 xdp_redirect; member
|
D | aq_ring.c | 475 ++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/ |
D | xdp_do_redirect.c | 174 xdp_prog_fd = bpf_program__fd(skel->progs.xdp_redirect); in serial_test_xdp_do_redirect()
|
/linux-6.1.9/drivers/net/hyperv/ |
D | netvsc_bpf.c | 79 rx_stats->xdp_redirect++; in netvsc_run_xdp()
|
D | netvsc_drv.c | 1511 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/ |
D | ena_netdev.h | 220 u64 xdp_redirect; member
|
/linux-6.1.9/drivers/net/ethernet/marvell/ |
D | mvneta.c | 454 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/ |
D | dpaa2-eth.h | 393 __u64 xdp_redirect; member
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc.h | 71 unsigned int xdp_redirect; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_stats.c | 320 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) },
|
D | en_stats.h | 355 u64 xdp_redirect; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 184 rq->stats->xdp_redirect++; in mlx5e_xdp_handle()
|