Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dxdp_redirect_cpu_user.c183 __u64 xdp_redirect; member
231 rec->cpu[i].xdp_redirect = values[i].xdp_redirect; in map_collect_percpu()
232 sum_xdp_redirect += values[i].xdp_redirect; in map_collect_percpu()
239 rec->total.xdp_redirect = sum_xdp_redirect; in map_collect_percpu()
342 double *xdp_redirect, double period_) in calc_xdp_pps() argument
344 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps()
346 *xdp_redirect = (r->xdp_redirect - p->xdp_redirect) / period_; in calc_xdp_pps()
515 double xdp_pass, xdp_drop, xdp_redirect; in stats_print() local
529 &xdp_redirect, t); in stats_print()
530 if (xdp_pass > 0 || xdp_drop > 0 || xdp_redirect > 0) in stats_print()
[all …]
Dxdp_monitor_user.c176 struct record_u64 xdp_redirect[REDIR_RES_MAX]; member
350 rec = &stats_rec->xdp_redirect[rec_i]; in stats_print()
351 prev = &stats_prev->xdp_redirect[rec_i]; in stats_print()
523 map_collect_record_u64(fd, i, &rec->xdp_redirect[i]); in stats_collect()
572 rec->xdp_redirect[i].cpu = alloc_rec_per_cpu(rec_sz); in alloc_stats_record()
592 free(r->xdp_redirect[i].cpu); in free_stats_record()
D.gitignore45 xdp_redirect
Dxdp_redirect_cpu_kern.c35 __u64 xdp_redirect; member
707 unsigned int xdp_redirect; // offset:40; size:4; signed:0; member
723 rec->xdp_redirect += ctx->xdp_redirect; in trace_xdp_cpumap_kthread()
DMakefile42 tprogs-y += xdp_redirect
99 xdp_redirect-objs := xdp_redirect_user.o
/Linux-v5.10/include/trace/events/
Dxdp.h132 DEFINE_EVENT(xdp_redirect_template, xdp_redirect,
193 __field(unsigned int, xdp_redirect)
205 __entry->xdp_redirect = xdp_stats->redirect;
217 __entry->xdp_pass, __entry->xdp_drop, __entry->xdp_redirect)
/Linux-v5.10/drivers/net/
Dveth.c44 u64 xdp_redirect; member
96 { "xdp_redirect", VETH_RQ_STAT(xdp_redirect) },
616 stats->xdp_redirect++; in veth_xdp_rcv_one()
751 stats->xdp_redirect++; in veth_xdp_rcv_skb()
830 rq->stats.vs.xdp_redirect += stats->xdp_redirect; in veth_xdp_rcv()
864 if (stats.xdp_redirect > 0) in veth_poll()
/Linux-v5.10/drivers/net/ethernet/marvell/
Dmvneta.c422 u64 xdp_redirect; member
1989 stats->es.ps.xdp_redirect += ps->xdp_redirect; in mvneta_update_stats()
2198 stats->xdp_redirect++; in mvneta_run_xdp()
2435 if (ps.xdp_redirect) in mvneta_rx_swbm()
4603 u64 xdp_redirect; in mvneta_ethtool_update_pcpu_stats() local
4616 xdp_redirect = stats->es.ps.xdp_redirect; in mvneta_ethtool_update_pcpu_stats()
4627 es->ps.xdp_redirect += xdp_redirect; in mvneta_ethtool_update_pcpu_stats()
4675 pp->ethtool_stats[i] = stats.ps.xdp_redirect; in mvneta_ethtool_update_stats()
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h384 __u64 xdp_redirect; member
Ddpaa2-eth.c405 ch->stats.xdp_redirect++; in dpaa2_eth_run_xdp()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c282 s->rx_xdp_redirect += rq_stats->xdp_redirect; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
342 s->rx_xsk_xdp_redirect += xskrq_stats->xdp_redirect; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
1529 { MLX5E_DECLARE_RX_STAT(struct mlx5e_rq_stats, xdp_redirect) },
1629 { MLX5E_DECLARE_XSKRQ_STAT(struct mlx5e_rq_stats, xdp_redirect) },
Den_stats.h312 u64 xdp_redirect; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c151 rq->stats->xdp_redirect++; in mlx5e_xdp_handle()
/Linux-v5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1672 u64 xdp_redirect; in mvpp2_get_xdp_stats() local
1683 xdp_redirect = cpu_stats->xdp_redirect; in mvpp2_get_xdp_stats()
1692 xdp_stats->xdp_redirect += xdp_redirect; in mvpp2_get_xdp_stats()
1742 *pstats++ = xdp_stats.xdp_redirect; in mvpp2_read_stats()
3456 stats->xdp_redirect++; in mvpp2_run_xdp()
3644 stats->xdp_redirect += ps.xdp_redirect; in mvpp2_rx()
Dmvpp2.h1003 u64 xdp_redirect; member