Home
last modified time | relevance | path

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

12

/linux/samples/bpf/
A Dxdp_sample_user.c363 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 DMakefile60 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 Dxdp_redirect_user.c31 DEFINE_SAMPLE_INIT(xdp_redirect);
51 struct xdp_redirect *skel; in main()
A Dxdp_sample_shared.h14 size_t xdp_redirect; member
A D.gitignore45 xdp_redirect
A Dxdp_sample.bpf.c173 NO_TEAR_ADD(rec->xdp_redirect, xdp_stats->redirect); in BPF_PROG()
/linux/include/trace/events/
A 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/drivers/net/
A Dveth.c45 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 Dmvneta.c424 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 Dena_netdev.h231 u64 xdp_redirect; member
A Dena_ethtool.c98 ENA_STAT_RX_ENTRY(xdp_redirect),
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_stats.c302 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 Den_stats.h339 u64 xdp_redirect; member
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-eth.h384 __u64 xdp_redirect; member
A Ddpaa2-eth.c408 ch->stats.xdp_redirect++; in dpaa2_eth_run_xdp()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc.h68 unsigned int xdp_redirect; member
A Denetc_ethtool.c290 data[o++] = priv->rx_ring[i]->stats.xdp_redirect; in enetc_get_ethtool_stats()
A Denetc.c1625 rx_ring->stats.xdp_redirect++; in enetc_clean_rx_ring_xdp()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dxdp.c151 rq->stats->xdp_redirect++; in mlx5e_xdp_handle()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Den_port.c260 priv->xdp_stats.rx_xdp_redirect += READ_ONCE(ring->xdp_redirect); in mlx4_en_DUMP_ETH_STATS()
A Dmlx4_en.h344 unsigned long xdp_redirect; member
A Den_rx.c797 ring->xdp_redirect++; in mlx4_en_process_rx_cq()
A Den_ethtool.c434 data[index++] = priv->rx_ring[i]->xdp_redirect; in mlx4_en_get_ethtool_stats()
/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_main.c1999 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 Dmvpp2.h1120 u64 xdp_redirect; member

Completed in 118 milliseconds

12