| /OK3568_Linux_fs/kernel/Documentation/networking/devlink/ |
| H A D | devlink-trap.rst | 11 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 100 * ``control``: Trapped packets were trapped by the device because these are 101 control packets required for the correct functioning of the control plane. [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_netcnt.c | 43 unsigned long packets; in main() local 112 packets = netcnt.packets; in main() 115 if (percpu_netcnt[cpu].packets > MAX_PERCPU_PACKETS) { in main() 117 percpu_netcnt[cpu].packets); in main() 121 packets += percpu_netcnt[cpu].packets; in main() 126 if (packets != 10000) { in main() 127 printf("Unexpected packet count: %lu\n", packets); in main() 134 if (bytes != packets * 104) { in main()
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | seg6-sysctl.rst | 12 Accept or drop SR-enabled IPv6 packets on this interface. 14 Relevant packets are those with SRH present and DA = local. 20 Define HMAC policy for ingress SR-enabled packets on this interface. 23 * 0 - Accept SR packets without HMAC, validate SR packets with HMAC 24 * 1 - Drop SR packets without HMAC, validate SR packets with HMAC
|
| H A D | nf_conntrack-sysctl.rst | 29 Verify checksum of incoming packets. Packets with bad checksums are 30 in INVALID state. If this is enabled, such packets will not be 52 purpose, the fragment handler will toss packets until 92 - 1 - log ICMP packets 93 - 6 - log TCP packets 94 - 17 - log UDP packets 95 - 33 - log DCCP packets 96 - 41 - log ICMPv6 packets 97 - 136 - log UDPLITE packets 98 - 255 - log packets of any protocol [all …]
|
| H A D | scaling.rst | 28 (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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | drop_monitor_tests.sh | 79 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 80 (( $(tshark -r ${dir}/packets.pcap \ 84 rm ${dir}/packets.pcap 87 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 88 (( $(tshark -r ${dir}/packets.pcap \ 107 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 108 (( $(tshark -r ${dir}/packets.pcap \ 113 rm ${dir}/packets.pcap 116 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 117 (( $(tshark -r ${dir}/packets.pcap \
|
| H A D | udpgso_bench_rx.c | 53 static unsigned long packets, bytes; variable 181 packets++; in do_flush_tcp() 280 packets++; in do_flush_udp() 282 if (cfg_expected_pkt_nr && packets >= cfg_expected_pkt_nr) in do_flush_udp() 379 if (packets) in do_recv() 383 bytes >> 20, packets); in do_recv() 384 bytes = packets = 0; in do_recv() 392 if (cfg_expected_pkt_nr && (packets != cfg_expected_pkt_nr)) in do_recv() 394 packets, cfg_expected_pkt_nr); in do_recv()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | gen_stats.c | 126 u64 bytes, packets; in __gnet_stats_copy_basic_cpu() local 131 packets = bcpu->bstats.packets; in __gnet_stats_copy_basic_cpu() 135 bstats->packets += packets; in __gnet_stats_copy_basic_cpu() 155 bstats->packets = b->packets; in __gnet_stats_copy_basic() 173 d->tc_stats.packets = bstats.packets; in ___gnet_stats_copy_basic() 182 sb.packets = bstats.packets; in ___gnet_stats_copy_basic() 184 if (res < 0 || sb.packets == bstats.packets) in ___gnet_stats_copy_basic() 187 return gnet_stats_copy(d, TCA_STATS_PKT64, &bstats.packets, in ___gnet_stats_copy_basic() 188 sizeof(bstats.packets), TCA_STATS_PAD); in ___gnet_stats_copy_basic()
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-class-net-statistics | 14 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 95 Indicates the number of received packets that have been missed 104 Indicates the number of received packets that were dropped on 112 Indicates the number of received packets that are oversized 122 Indicates the total number of good packets received by this 130 Indicates the number of packets that have been aborted 143 transmitted packets or all packets that have been queued for [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nft_counter.c | 19 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()
|
| H A D | xt_connbytes.c | 45 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()
|
| /OK3568_Linux_fs/kernel/sound/firewire/ |
| H A D | packets-buffer.c | 30 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()
|
| H A D | amdtp-stream.c | 464 s->buffer.packets[s->packet_index].offset); in queue_packet() 707 unsigned int packets) in generate_device_pkt_descs() argument 715 for (i = 0; i < packets; ++i) { in generate_device_pkt_descs() 733 desc->ctx_payload = s->buffer.packets[packet_index].buffer; in generate_device_pkt_descs() 761 const __be32 *ctx_header, unsigned int packets, in generate_pkt_descs() argument 769 for (i = 0; i < packets; ++i) { in generate_pkt_descs() 793 desc->ctx_payload = s->buffer.packets[index].buffer; in generate_pkt_descs() 814 unsigned int packets) in process_ctx_payloads() argument 820 pcm_frames = s->process_ctx_payloads(s, descs, packets, pcm); in process_ctx_payloads() 834 unsigned int packets; in out_stream_callback() local [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | netcnt_prog.c | 37 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()
|
| /OK3568_Linux_fs/kernel/net/mpls/ |
| H A D | Kconfig | 10 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.
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | loopback.c | 94 void dev_lstats_read(struct net_device *dev, u64 *packets, u64 *bytes) in dev_lstats_read() argument 98 *packets = 0; in dev_lstats_read() 109 tpackets = u64_stats_read(&lb_stats->packets); in dev_lstats_read() 113 *packets += tpackets; in dev_lstats_read() 121 u64 packets, bytes; in loopback_get_stats64() local 123 dev_lstats_read(dev, &packets, &bytes); in loopback_get_stats64() 125 stats->rx_packets = packets; in loopback_get_stats64() 126 stats->tx_packets = packets; in loopback_get_stats64()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/blockdev/drbd/ |
| H A D | figures.rst | 5 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
|
| /OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/altera/ |
| H A D | altera_tse.rst | 164 received. This count does not include any error packets such as CRC errors, 194 a count of the number of packets received containing errors that prevented the 198 is a count of the number of packets that could not be transmitted due to errors. 201 statistic is a count of the number of packets received that were not addressed 205 statistic is a count of the number of packets received that were addressed to 209 statistic is a count of the number of packets received that were addressed to 213 statistic is the number of outbound packets not transmitted even though an 218 statistic counts the number of packets transmitted that were not addressed to 222 statistic counts the number of packets transmitted that were addressed to a 226 statistic counts the number of packets transmitted that were addressed to a [all …]
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | qdisc.h | 17 int packets, struct sk_buff *skb), 19 TP_ARGS(qdisc, txq, packets, skb), 24 __field( int, packets ) 36 __entry->packets = skb ? packets : 0; 46 __entry->txq_state, __entry->packets, __entry->skbaddr )
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | vxlan_flooding.sh | 218 local packets=("$@") 223 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]} 233 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1) 254 packets=(2 2 2 2 2 2 1 1 1 2 2 2) 266 packets=(2 2 2 3 3 3 1 1 1 3 3 3) 278 packets=(2 2 2 4 4 4 1 1 1 3 3 3) 291 packets=(2 2 2 4 5 5 1 1 1 3 3 3) 300 packets=(2 2 2 4 5 6 1 1 1 3 3 3) 309 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_counters.c | 47 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireguard/ |
| H A D | send.c | 344 struct sk_buff_head packets; in wg_packet_send_staged_packets() local 348 __skb_queue_head_init(&packets); in wg_packet_send_staged_packets() 350 skb_queue_splice_init(&peer->staged_packet_queue, &packets); in wg_packet_send_staged_packets() 352 if (unlikely(skb_queue_empty(&packets))) in wg_packet_send_staged_packets() 373 skb_queue_walk(&packets, skb) { in wg_packet_send_staged_packets() 384 packets.prev->next = NULL; in wg_packet_send_staged_packets() 386 PACKET_CB(packets.next)->keypair = keypair; in wg_packet_send_staged_packets() 387 wg_packet_create_data(peer, packets.next); in wg_packet_send_staged_packets() 398 skb_queue_walk(&packets, skb) in wg_packet_send_staged_packets() 406 skb_queue_splice(&packets, &peer->staged_packet_queue); in wg_packet_send_staged_packets()
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | xdp_monitor_user.c | 271 __u64 packets = 0; in calc_pps() local 275 packets = r->processed - p->processed; in calc_pps() 276 pps = packets / period; in calc_pps() 283 __u64 packets = 0; in calc_pps_u64() local 287 packets = r->processed - p->processed; in calc_pps_u64() 288 pps = packets / period; in calc_pps_u64() 295 __u64 packets = 0; in calc_drop() local 299 packets = r->dropped - p->dropped; in calc_drop() 300 pps = packets / period; in calc_drop() 307 __u64 packets = 0; in calc_info() local [all …]
|
| /OK3568_Linux_fs/buildroot/package/libnet/ |
| H A D | 0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch | 23 - __int64_t packets_sent; /* packets sent */ 24 - __int64_t packet_errors; /* packets errors */ 26 + int64_t packets_sent; /* packets sent */ 27 + int64_t packet_errors; /* packets errors */
|
| /OK3568_Linux_fs/kernel/sound/usb/6fire/ |
| H A D | pcm.c | 164 packet = &rt->in_urbs[i].packets[k]; in usb6fire_pcm_stream_start() 210 if (urb->packets[i].actual_length > 4) in usb6fire_pcm_capture() 211 frame_count = (urb->packets[i].actual_length - 4) in usb6fire_pcm_capture() 223 total_length += urb->packets[i].length; in usb6fire_pcm_capture() 266 if (urb->packets[i].length > 4) in usb6fire_pcm_playback() 267 frame_count = (urb->packets[i].length - 4) in usb6fire_pcm_playback() 303 if (in_urb->packets[i].status) { in usb6fire_pcm_in_urb_handler() 330 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler() 331 out_urb->packets[i].length = (in_urb->packets[i].actual_length in usb6fire_pcm_in_urb_handler() 334 out_urb->packets[i].status = 0; in usb6fire_pcm_in_urb_handler() [all …]
|