Home
last modified time | relevance | path

Searched refs:drops (Results 1 – 25 of 187) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/include/trace/events/
H A Dxdp.h56 int sent, int drops, int err),
58 TP_ARGS(dev, sent, drops, err),
63 __field(int, drops)
71 __entry->drops = drops;
79 __entry->sent, __entry->drops, __entry->err)
179 TP_PROTO(int map_id, unsigned int processed, unsigned int drops,
182 TP_ARGS(map_id, processed, drops, sched, xdp_stats),
188 __field(unsigned int, drops)
200 __entry->drops = drops;
215 __entry->processed, __entry->drops,
[all …]
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp_monitor_kern.c154 unsigned int drops; // offset:20; size:4; signed:0; member
172 rec->dropped += ctx->drops; in trace_xdp_cpumap_enqueue()
189 unsigned int drops; // offset:20; size:4; signed:0; member
204 rec->dropped += ctx->drops; in trace_xdp_cpumap_kthread()
228 int drops; // offset:20; size:4; signed:1; member
243 rec->dropped += ctx->drops; in trace_xdp_devmap_xmit()
253 if (ctx->drops < 0) in trace_xdp_devmap_xmit()
H A Dxdp_redirect_cpu_kern.c662 unsigned int drops; // offset:20; size:4; signed:0; member
680 rec->dropped += ctx->drops; in trace_xdp_cpumap_enqueue()
702 unsigned int drops; // offset:20; size:4; signed:0; member
720 rec->dropped += ctx->drops; in trace_xdp_cpumap_kthread()
/OK3568_Linux_fs/kernel/net/core/
H A Dgen_stats.c296 qstats->drops += qcpu->drops; in __gnet_stats_copy_queue_cpu()
312 qstats->drops = q->drops; in __gnet_stats_copy_queue()
345 d->tc_stats.drops = qstats.drops; in gnet_stats_copy_queue()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c63 u64 drops; member
318 u64 drops, u64 backlog, in mlxsw_sp_qdisc_update_stats() argument
325 drops -= stats_base->drops; in mlxsw_sp_qdisc_update_stats()
329 stats_ptr->qstats->drops += drops; in mlxsw_sp_qdisc_update_stats()
333 stats_base->drops += drops; in mlxsw_sp_qdisc_update_stats()
346 u64 drops = 0; in mlxsw_sp_qdisc_get_tc_stats() local
350 &drops, &backlog); in mlxsw_sp_qdisc_get_tc_stats()
352 tx_bytes, tx_packets, drops, backlog, in mlxsw_sp_qdisc_get_tc_stats()
415 stats_base->drops = red_base->prob_drop + red_base->pdrop; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
609 u64 drops = 0; in mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local
[all …]
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dcpumap.c313 unsigned int drops = 0, sched = 0; in cpu_map_kthread_run() local
357 drops += nframes; in cpu_map_kthread_run()
376 drops++; in cpu_map_kthread_run()
379 trace_xdp_cpumap_kthread(rcpu->map_id, n, drops, sched, &stats); in cpu_map_kthread_run()
673 unsigned int processed = 0, drops = 0; in bq_flush_to_queue() local
690 drops++; in bq_flush_to_queue()
701 trace_xdp_cpumap_enqueue(rcpu->map_id, processed, drops, to_cpu); in bq_flush_to_queue()
H A Ddevmap.c347 int sent = 0, drops = 0, err = 0; in bq_xmit_all() local
365 drops = bq->count - sent; in bq_xmit_all()
369 trace_xdp_devmap_xmit(bq->dev_rx, dev, sent, drops, err); in bq_xmit_all()
381 drops++; in bq_xmit_all()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c223 int drops = 0; in bnxt_xdp_xmit() local
241 drops++; in bnxt_xdp_xmit()
250 drops++; in bnxt_xdp_xmit()
262 return num_frames - drops; in bnxt_xdp_xmit()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dbench.c60 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress()
77 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
85 drops_stddev += (drops_mean - res[i].drops / 1000000.0) * in hits_drops_report_final()
86 (drops_mean - res[i].drops / 1000000.0) / in hits_drops_report_final()
H A Dbench.h35 long drops; member
/OK3568_Linux_fs/kernel/include/net/
H A Dflow_offload.h393 u64 drops; member
401 u64 drops, u64 lastused, in flow_stats_update() argument
406 flow_stats->drops += drops; in flow_stats_update()
H A Dact_api.h234 u64 drops, bool hw);
245 u64 packets, u64 drops, in tcf_action_stats_update() argument
252 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c489 int drops = 0; in mlx5e_xdp_xmit() local
520 drops++; in mlx5e_xdp_xmit()
534 drops++; in mlx5e_xdp_xmit()
544 return n - drops; in mlx5e_xdp_xmit()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dveth.c343 u64 packets, bytes, drops, xdp_tx_err, peer_tq_xdp_xmit_err; in veth_stats_rx() local
353 drops = stats->vs.rx_drops; in veth_stats_rx()
359 result->rx_drops += drops; in veth_stats_rx()
435 int i, ret = -ENXIO, drops = 0; in veth_xdp_xmit() local
467 drops++; in veth_xdp_xmit()
475 ret = n - drops; in veth_xdp_xmit()
478 rq->stats.vs.peer_tq_xdp_xmit += n - drops; in veth_xdp_xmit()
479 rq->stats.vs.peer_tq_xdp_xmit_err += drops; in veth_xdp_xmit()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dgen_stats.h62 __u32 drops; member
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c132 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0); in ringbuf_libbpf_measure()
223 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0); in ringbuf_custom_measure()
352 res->drops = atomic_swap(&ctx->skel->bss->dropped, 0); in perfbuf_measure()
H A Drun_bench_ringbufs.sh12 function drops() function
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dgen_stats.h65 __u32 drops; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dgen_stats.h65 __u32 drops; member
/OK3568_Linux_fs/kernel/net/sched/
H A Dsch_mqprio.c420 sch->qstats.drops += qdisc->qstats.drops; in mqprio_dump()
550 qstats.drops += qdisc->qstats.drops; in mqprio_dump_class_stats()
H A Dsch_skbprio.c101 q->qstats[prio].drops++; in skbprio_enqueue()
118 q->qstats[lp].drops++; in skbprio_enqueue()
H A Dact_gact.c173 u64 drops, u64 lastuse, bool hw) in tcf_gact_stats_update() argument
180 action == TC_ACT_SHOT ? packets : drops, hw); in tcf_gact_stats_update()
H A Dsch_mq.c163 sch->qstats.drops += qdisc->qstats.drops; in mq_dump()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/abm/
H A Dqdisc.c41 parent->drops += child->drops; in nfp_abm_stats_propagate()
469 qstats->drops += new->drops - old->drops; in nfp_abm_stats_calculate()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-power-twl403015 when voltage drops.

12345678