Home
last modified time | relevance | path

Searched refs:packets (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_netcnt.c43 unsigned long packets; in main() local
125 packets = netcnt.packets; in main()
128 if (percpu_netcnt[cpu].packets > MAX_PERCPU_PACKETS) { in main()
130 percpu_netcnt[cpu].packets); in main()
134 packets += percpu_netcnt[cpu].packets; in main()
139 if (packets != 10000) { in main()
140 printf("Unexpected packet count: %lu\n", packets); in main()
147 if (bytes != packets * 104) { in main()
/Linux-v5.4/Documentation/networking/
Dseg6-sysctl.txt4 Accept or drop SR-enabled IPv6 packets on this interface.
6 Relevant packets are those with SRH present and DA = local.
12 Define HMAC policy for ingress SR-enabled packets on this interface.
15 0 - Accept SR packets without HMAC, validate SR packets with HMAC
16 1 - Drop SR packets without HMAC, validate SR packets with HMAC
Ddevlink-trap.rst11 as bridging and routing must also be able to send specific packets to the
16 Without processing such packets, the bridge module could never populate its
22 error datagram. Without letting the kernel route such packets itself, utilities
25 The fundamental ability of sending certain packets to the kernel for processing
32 supported packet traps with ``devlink`` and report trapped packets to
35 Upon receiving trapped packets, ``devlink`` will perform a per-trap packets and
91 * ``drop``: Trapped packets were dropped by the underlying device. Packets
94 * ``exception``: Trapped packets were not forwarded as intended by the
115 Generic packet traps are used to describe traps that trap well-defined packets
116 or packets that are trapped due to well-defined conditions (e.g., TTL error).
[all …]
Dnf_conntrack-sysctl.txt22 Verify checksum of incoming packets. Packets with bad checksums are
23 in INVALID state. If this is enabled, such packets will not be
45 purpose, the fragment handler will toss packets until
85 1 - log ICMP packets
86 6 - log TCP packets
87 17 - log UDP packets
88 33 - log DCCP packets
89 41 - log ICMPv6 packets
90 136 - log UDPLITE packets
91 255 - log packets of any protocol
[all …]
Daltera_tse.txt141 received. This count does not include any error packets such as CRC errors,
171 a count of the number of packets received containing errors that prevented the
175 is a count of the number of packets that could not be transmitted due to errors.
178 statistic is a count of the number of packets received that were not addressed
182 statistic is a count of the number of packets received that were addressed to
186 statistic is a count of the number of packets received that were addressed to
190 statistic is the number of outbound packets not transmitted even though an
195 statistic counts the number of packets transmitted that were not addressed to
199 statistic counts the number of packets transmitted that were addressed to a
203 statistic counts the number of packets transmitted that were addressed to a
[all …]
Dscaling.rst28 (multi-queue). On reception, a NIC can send different packets to different
29 queues to distribute processing among CPUs. The NIC distributes packets by
47 Some advanced NICs allow steering packets to queues based on
48 programmable filters. For example, webserver bound TCP port 80 packets
77 this to notify a CPU when new packets arrive on the given queue. The
141 RPS may enqueue packets for processing. For each received packet,
146 packets have been queued to their backlog queue. The IPI wakes backlog
147 processing on the remote CPU, and any queued packets are then processed
162 (the default), in which case packets are processed on the interrupting
187 reordering. The trade-off to sending all packets from the same flow
[all …]
/Linux-v5.4/sound/firewire/
Dpackets-buffer.c30 b->packets = kmalloc_array(count, sizeof(*b->packets), GFP_KERNEL); in iso_packets_buffer_init()
31 if (!b->packets) { in iso_packets_buffer_init()
53 b->packets[i].buffer = p + offset_in_page; in iso_packets_buffer_init()
54 b->packets[i].offset = page_index * PAGE_SIZE + offset_in_page; in iso_packets_buffer_init()
60 kfree(b->packets); in iso_packets_buffer_init()
75 kfree(b->packets); in iso_packets_buffer_destroy()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-net-statistics14 Indicates the number of multicast packets received by this
31 Indicates the number of compressed packets received by this
40 Indicates the number of packets received with a CRC (FCS) error
49 Indicates the number of packets received by the network device
87 Indicates the number of received packets that have been missed
96 Indicates the number of received packets that are oversized
106 Indicates the total number of good packets received by this
114 Indicates the number of packets that have been aborted
127 transmitted packets or all packets that have been queued for
135 Indicates the number of packets that could not be transmitted
[all …]
/Linux-v5.4/include/trace/events/
Dqdisc.h15 int packets, struct sk_buff *skb),
17 TP_ARGS(qdisc, txq, packets, skb),
22 __field( int, packets )
34 __entry->packets = skb ? packets : 0;
44 __entry->txq_state, __entry->packets, __entry->skbaddr )
/Linux-v5.4/net/netfilter/
Dnft_counter.c19 s64 packets; member
42 this_cpu->packets++; in nft_counter_do_eval()
70 this_cpu->packets = in nft_counter_do_init()
111 this_cpu->packets -= total->packets; in nft_counter_reset()
121 u64 bytes, packets; in nft_counter_fetch() local
132 packets = this_cpu->packets; in nft_counter_fetch()
136 total->packets += packets; in nft_counter_fetch()
150 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets), in nft_counter_do_dump()
243 this_cpu->packets = total.packets; in nft_counter_clone()
Dxt_connbytes.c45 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
48 what = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
51 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
52 what += atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
74 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
78 pkts = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
83 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets) + in connbytes_mt()
84 atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dnetcnt_prog.c37 percpu_cnt->packets++; in bpf_nextcnt()
40 if (percpu_cnt->packets > MAX_PERCPU_PACKETS) { in bpf_nextcnt()
41 __sync_fetch_and_add(&cnt->packets, in bpf_nextcnt()
42 percpu_cnt->packets); in bpf_nextcnt()
43 percpu_cnt->packets = 0; in bpf_nextcnt()
63 percpu_cnt->prev_packets = cnt->packets; in bpf_nextcnt()
/Linux-v5.4/net/mpls/
DKconfig10 MultiProtocol Label Switching routes packets through logical
11 circuits. Originally conceived as a way of routing packets at
12 hardware speeds (before hardware was capable of routing ipv4 packets),
22 This is helper module to allow segmentation of non-MPLS GSO packets
24 become MPLS GSO packets.
31 Add support for forwarding of mpls packets.
/Linux-v5.4/Documentation/admin-guide/blockdev/drbd/
Dfigures.rst5 Data flows that Relate some functions, and write packets
8 .. kernel-figure:: DRBD-8.3-data-packets.svg
9 :alt: DRBD-8.3-data-packets.svg
12 .. kernel-figure:: DRBD-data-packets.svg
13 :alt: DRBD-data-packets.svg
/Linux-v5.4/net/core/
Dgen_stats.c127 u32 packets; in __gnet_stats_copy_basic_cpu() local
132 packets = bcpu->bstats.packets; in __gnet_stats_copy_basic_cpu()
136 bstats->packets += packets; in __gnet_stats_copy_basic_cpu()
156 bstats->packets = b->packets; in __gnet_stats_copy_basic()
174 d->tc_stats.packets = bstats.packets; in ___gnet_stats_copy_basic()
182 sb.packets = bstats.packets; in ___gnet_stats_copy_basic()
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan_flooding.sh201 local packets=("$@")
206 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
216 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1)
237 packets=(2 2 2 2 2 2 1 1 1 2 2 2)
249 packets=(2 2 2 3 3 3 1 1 1 3 3 3)
261 packets=(2 2 2 4 4 4 1 1 1 3 3 3)
274 packets=(2 2 2 4 5 5 1 1 1 3 3 3)
283 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
292 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
/Linux-v5.4/tools/testing/selftests/net/
Dudpgso_bench_rx.c53 static unsigned long packets, bytes; variable
178 packets++; in do_flush_tcp()
277 packets++; in do_flush_udp()
279 if (cfg_expected_pkt_nr && packets >= cfg_expected_pkt_nr) in do_flush_udp()
373 if (packets) in do_recv()
377 bytes >> 20, packets); in do_recv()
378 bytes = packets = 0; in do_recv()
386 if (cfg_expected_pkt_nr && (packets != cfg_expected_pkt_nr)) in do_recv()
388 packets, cfg_expected_pkt_nr); in do_recv()
/Linux-v5.4/drivers/net/
Dloopback.c95 lb_stats->packets++; in loopback_xmit()
106 u64 packets = 0; in loopback_get_stats64() local
118 tpackets = lb_stats->packets; in loopback_get_stats64()
121 packets += tpackets; in loopback_get_stats64()
123 stats->rx_packets = packets; in loopback_get_stats64()
124 stats->tx_packets = packets; in loopback_get_stats64()
Dvsockmon.c55 stats->packets++; in vsockmon_xmit()
67 u64 bytes = 0, packets = 0; in vsockmon_get_stats64() local
79 tpackets = vstats->packets; in vsockmon_get_stats64()
82 packets += tpackets; in vsockmon_get_stats64()
86 stats->rx_packets = packets; in vsockmon_get_stats64()
Dnlmon.c17 stats->packets++; in nlmon_xmit()
60 u64 bytes = 0, packets = 0; in nlmon_get_stats64() local
72 tpackets = nl_stats->packets; in nlmon_get_stats64()
75 packets += tpackets; in nlmon_get_stats64()
79 stats->rx_packets = packets; in nlmon_get_stats64()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c47 u64 packets; member
158 u64 packets = MLX5_GET64(traffic_counter, stats, packets); in update_counter_cache() local
161 if (cache->packets == packets) in update_counter_cache()
164 cache->packets = packets; in update_counter_cache()
316 counter->lastpackets = counter->cache.packets; in mlx5_fc_create()
422 u64 *packets, u64 *bytes) in mlx5_fc_query() argument
424 return mlx5_cmd_fc_query(dev, counter->id, packets, bytes); in mlx5_fc_query()
434 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument
441 *packets = c.packets - counter->lastpackets; in mlx5_fc_query_cached()
445 counter->lastpackets = c.packets; in mlx5_fc_query_cached()
/Linux-v5.4/samples/bpf/
Dxdp_monitor_user.c236 __u64 packets = 0; in calc_pps() local
240 packets = r->processed - p->processed; in calc_pps()
241 pps = packets / period; in calc_pps()
248 __u64 packets = 0; in calc_pps_u64() local
252 packets = r->processed - p->processed; in calc_pps_u64()
253 pps = packets / period; in calc_pps_u64()
260 __u64 packets = 0; in calc_drop() local
264 packets = r->dropped - p->dropped; in calc_drop()
265 pps = packets / period; in calc_drop()
272 __u64 packets = 0; in calc_info() local
[all …]
/Linux-v5.4/include/linux/
Ddim.h248 dim_update_sample(u16 event_ctr, u64 packets, u64 bytes, struct dim_sample *s) in dim_update_sample() argument
251 s->pkt_ctr = packets; in dim_update_sample()
266 dim_update_sample_with_comps(u16 event_ctr, u64 packets, u64 bytes, u64 comps, in dim_update_sample_with_comps() argument
269 dim_update_sample(event_ctr, packets, bytes, s); in dim_update_sample_with_comps()
/Linux-v5.4/include/linux/netfilter/ipset/
Dip_set.h96 atomic64_t packets; member
118 u64 packets; member
591 ip_set_add_packets(u64 packets, struct ip_set_counter *counter) in ip_set_add_packets() argument
593 atomic64_add((long long)packets, &(counter)->packets); in ip_set_add_packets()
605 return (u64)atomic64_read(&(counter)->packets); in ip_set_get_packets()
630 if (ext->packets != ULLONG_MAX && in ip_set_update_counter()
633 ip_set_add_packets(ext->packets, counter); in ip_set_update_counter()
654 if (ext->packets != ULLONG_MAX) in ip_set_init_counter()
655 atomic64_set(&(counter)->packets, (long long)(ext->packets)); in ip_set_init_counter()
691 { .bytes = (skb)->len, .packets = 1, \
[all …]
/Linux-v5.4/Documentation/driver-api/
Ddell_rbu.rst34 using the driver breaks the image in to packets of fixed sizes and the driver
36 maintains a link list of packets for reading them back.
60 of contiguous memory and the BIOS image is scattered in these packets.
63 changed to packets during the driver load time by specifying the load
68 In packet update mode the packet size has to be given before any packets can
74 packets of data arranged back to back. It can be done as follows
75 The user creates packets header, gets the chunk of the BIOS image and
78 packet, the user needs to create more such packets out of the entire BIOS
79 image file and then arrange all these packets back to back in to one single
87 This method makes sure that all the packets get to the driver in a single operation.

12345678910>>...19