/linux/include/trace/events/ |
H A D | xdp.h | 57 int sent, int drops, int err), 59 TP_ARGS(dev, sent, drops, err), 64 __field(int, drops) 72 __entry->drops = drops; 77 TP_printk("ifindex=%d action=%s sent=%d drops=%d err=%d", 80 __entry->sent, __entry->drops, __entry->err) 174 TP_PROTO(int map_id, unsigned int processed, unsigned int drops, 177 TP_ARGS(map_id, processed, drops, sched, xdp_stats), 183 __field(unsigned int, drops) [all...] |
/linux/samples/bpf/ |
H A D | xdp_sample.bpf.c | 129 unsigned int drops, int to_cpu) in BPF_PROG() argument 143 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG() 157 unsigned int drops, int sched, struct xdp_cpumap_stats *xdp_stats) in BPF_PROG() argument 170 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG() 207 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() argument 226 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG() 231 if (err || drops < 0) in BPF_PROG() 238 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() argument 261 NO_TEAR_ADD(rec->dropped, drops); in BPF_PROG() 263 if (err || drops < in BPF_PROG() [all...] |
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_mirror.c | 117 new_stats.rx_dropped - old_stats->drops, in lan966x_mirror_port_stats() 123 old_stats->drops = new_stats.rx_dropped; in lan966x_mirror_port_stats() 129 new_stats.tx_dropped - old_stats->drops, in lan966x_mirror_port_stats() 135 old_stats->drops = new_stats.tx_dropped; in lan966x_mirror_port_stats()
|
H A D | lan966x_police.c | 175 old_stats->drops = new_stats.rx_dropped; in lan966x_police_port_add() 218 new_stats.rx_dropped - old_stats->drops, in lan966x_police_port_stats() 224 old_stats->drops = new_stats.rx_dropped; in lan966x_police_port_stats()
|
/linux/net/core/ |
H A D | gen_stats.c | 350 qstats->drops += qcpu->drops; in gnet_stats_add_queue_cpu() 365 qstats->drops += q->drops; in gnet_stats_add_queue() 397 d->tc_stats.drops = qstats.drops; in gnet_stats_copy_queue()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_mirror.c | 219 new_stats.rx_dropped - old_stats->drops, in sparx5_mirror_stats() 225 old_stats->drops = new_stats.rx_dropped; in sparx5_mirror_stats() 231 new_stats.tx_dropped - old_stats->drops, in sparx5_mirror_stats() 237 old_stats->drops = new_stats.tx_dropped; in sparx5_mirror_stats()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_qdisc.c | 77 u64 drops; member 561 u64 drops, u64 backlog, in mlxsw_sp_qdisc_update_stats() argument 568 drops -= stats_base->drops; in mlxsw_sp_qdisc_update_stats() 572 stats_ptr->qstats->drops += drops; in mlxsw_sp_qdisc_update_stats() 576 stats_base->drops += drops; in mlxsw_sp_qdisc_update_stats() 589 u64 drops = 0; in mlxsw_sp_qdisc_get_tc_stats() local 593 &drops, in mlxsw_sp_qdisc_get_tc_stats() 905 u64 drops = 0; mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local 1449 u64 drops = 0; mlxsw_sp_qdisc_get_prio_stats() local [all...] |
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 814 meter_entry->stats.curr.drops = be64_to_cpu(msg->drop_pkts); in nfp_act_stats_reply() 818 meter_entry->stats.prev.drops = meter_entry->stats.curr.drops; in nfp_act_stats_reply() 852 diff_drops = meter_entry->stats.curr.drops > meter_entry->stats.prev.drops ? in nfp_act_stats_actions() 853 meter_entry->stats.curr.drops - meter_entry->stats.prev.drops : 0; in nfp_act_stats_actions() 861 meter_entry->stats.prev.drops = meter_entry->stats.curr.drops; in nfp_act_stats_actions()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | police.c | 175 u64 bytes, packets, drops, lastuse; in tc_act_police_stats() local 184 mlx5e_tc_meter_get_stats(meter, &bytes, &packets, &drops, &lastuse); in tc_act_police_stats() 185 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse, in tc_act_police_stats()
|
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_local_storage_create.c | 143 res->drops = atomic_swap(&skel->bss->kmalloc_cnts, 0); in measure() 209 kmallocs_per_create = (double)res->drops / res->hits; in report_progress() 227 total_kmallocs += res[i].drops; in report_final()
|
H A D | run_common.sh | 26 function drops() function 28 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 63 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
|
/linux/tools/testing/selftests/drivers/net/ocelot/ |
H A D | psfp.sh | 75 local drops="" 80 drops=$(echo ${stats} | jq ".[1].options.actions[].stats.drops") 87 echo "Hardware filter reports ${drops} drops"
|
/linux/Documentation/bpf/ |
H A D | redirect.rst | 32 Debugging packet drops 34 Silent packet drops for XDP_REDIRECT can be debugged using:
|
/linux/include/uapi/linux/ |
H A D | gen_stats.h | 55 * @drops: number of dropped packets 62 __u32 drops; member
|
/linux/include/net/ |
H A D | act_api.h | 261 u64 drops, bool hw); 289 u64 packets, u64 drops, in tcf_action_stats_update() argument 296 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
|
H A D | flow_offload.h | 545 u64 drops; member 553 u64 drops, u64 lastused, in flow_stats_update() argument 558 flow_stats->drops += drops; in flow_stats_update()
|
/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_net.c | 44 u64 drops; member 279 net->rx_stats.drops += rx_drops; in vdpasim_net_work() 304 rx_drops = net->rx_stats.drops; in vdpasim_net_get_stats() 332 "rx drops")) in vdpasim_net_get_stats() 345 tx_drops = net->tx_stats.drops; in vdpasim_net_get_stats() 367 "tx drops")) in vdpasim_net_get_stats()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | meter.h | 73 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse);
|
/linux/Documentation/hwmon/ |
H A D | mc34vr500.rst | 24 drops below 2.8V.
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-power-twl4030 | 15 when voltage drops.
|
H A D | sysfs-class-power-wilco | 19 Charging begins when level drops below
|
/linux/net/sched/ |
H A D | sch_skbprio.c | 26 * Skbprio drops already-enqueued lower priority packets to make space 103 q->qstats[prio].drops++; in skbprio_enqueue() 120 q->qstats[lp].drops++; in skbprio_enqueue()
|
H A D | act_gact.c | 174 u64 drops, u64 lastuse, bool hw) in tcf_gact_stats_update() argument 181 action == TC_ACT_SHOT ? packets : drops, hw); in tcf_gact_stats_update()
|
/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | qdisc.c | 41 parent->drops += child->drops; in nfp_abm_stats_propagate() 469 qstats->drops += new->drops - old->drops; in nfp_abm_stats_calculate()
|
/linux/net/dcb/ |
H A D | Kconfig | 13 requirements (highly reliable, no drops vs. best effort vs. low
|