Home
last modified time | relevance | path

Searched full:packets (Results 1 – 25 of 2070) sorted by relevance

12345678910>>...83

/Linux-v5.10/Documentation/networking/devlink/
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
96 entry) and trapped to the control plane for resolution. Packets are
100 * ``control``: Trapped packets were trapped by the device because these are
[all …]
/Linux-v5.10/drivers/net/ethernet/qualcomm/emac/
Demac.h214 u64 rx_ok; /* good packets */
215 u64 rx_bcast; /* good broadcast packets */
216 u64 rx_mcast; /* good multicast packets */
218 u64 rx_ctrl; /* control packets other than pause frame. */
219 u64 rx_fcs_err; /* packets with bad FCS. */
220 u64 rx_len_err; /* packets with length mismatch */
222 u64 rx_runt; /* runt packets */
224 u64 rx_sz_64; /* packets that are 64 bytes */
225 u64 rx_sz_65_127; /* packets that are 65-127 bytes */
226 u64 rx_sz_128_255; /* packets that are 128-255 bytes */
[all …]
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l2_drops.sh124 # packets from entering the bridge.
135 # Add PVID and make sure packets are no longer dropped.
140 check_err $? "Trap stats not idle when packets should not be dropped"
142 check_err $? "Trap group stats not idle with when packets should not be dropped"
145 check_fail $? "Packets not forwarded when should"
158 log_test "VLAN tag mismatch - untagged packets"
167 log_test "VLAN tag mismatch - prio-tagged packets"
195 # Add the VLAN on the bridge port and make sure packets are no longer
201 check_err $? "Trap stats not idle when packets should not be dropped"
203 check_err $? "Trap group stats not idle with when packets should not be dropped"
[all …]
Dvxlan_flooding.sh6 # verifies that packets are correctly flooded in various cases such as deletion
201 local packets=("$@")
202 local num_remotes=${#packets[@]}
206 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
207 check_err $? "remote $i - did not get expected number of packets"
214 # 'packets' will store how many packets are expected to be received
216 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1)
223 # packets were flooded to each remote VTEP
229 flooding_check_packets "${packets[@]}"
237 packets=(2 2 2 2 2 2 1 1 1 2 2 2)
[all …]
/Linux-v5.10/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c21 { "rx-packets" },
22 { "rx-broadcast-packets" },
23 { "rx-multicast-packets" },
29 { "rx-64-byte-packets" },
30 { "rx-65-127-byte-packets" },
31 { "rx-128-255-byte-packets" },
32 { "rx-256-511-byte-packets" },
33 { "rx-512-1023-byte-packets" },
34 { "rx-1024-1518-byte-packets" },
37 { "tx-packets" },
[all …]
/Linux-v5.10/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
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 …]
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_struct.h82 /*! 0~63: byte location used extracted by packets comparator, which
83 * can be anything from the first 64 bytes of the MAC packets.
92 /*! 0~63: byte location used extracted by packets comparator, which
93 * can be anything from the first 64 bytes of the MAC packets.
102 /*! 0~63: byte location used extracted by packets comparator, which
103 * can be anything from the first 64 bytes of the MAC packets.
112 /*! 0~63: byte location used extracted by packets comparator, which
113 * can be anything from the first 64 bytes of the MAC packets.
213 /*! 0: the packets will be sent to MAC FIFO
214 * 1: The packets will be sent to Debug/Loopback FIFO.
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh107 # Drops all IP/UDP packets coming from port 9
111 # Send 10 IPv4/UDP packets from port 8. Filter should not drop any.
113 # Send 10 IPv4/UDP packets from port 9. Filter should drop all.
115 # Send 10 IPv4/UDP packets from port 10. Filter should not drop any.
119 # Send 10 IPv4/IPv4/UDP packets from port 8. Filter should not drop any.
122 # Send 10 IPv4/IPv4/UDP packets from port 9. Filter should drop all.
125 # Send 10 IPv4/IPv4/UDP packets from port 10. Filter should not drop any.
130 # Send 10 IPv4/GRE/IPv4/UDP packets from port 8. Filter should not drop any.
133 # Send 10 IPv4/GRE/IPv4/UDP packets from port 9. Filter should drop all.
136 # Send 10 IPv4/GRE/IPv4/UDP packets from port 10. Filter should not drop any.
[all …]
Dtest_netcnt.c43 unsigned long packets; in main() local
109 /* Some packets can be still in per-cpu cache, but not more than in main()
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()
125 /* No packets should be lost */ in main()
126 if (packets != 10000) { in main()
127 printf("Unexpected packet count: %lu\n", packets); in main()
131 /* Let's check that bytes counter matches the number of packets in main()
[all …]
/Linux-v5.10/sound/firewire/
Dpackets-buffer.c3 * helpers for managing a buffer for many packets
11 #include "packets-buffer.h"
14 * iso_packets_buffer_init - allocates the memory for packets
17 * @count: the number of packets
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()
/Linux-v5.10/drivers/net/ethernet/atheros/alx/
Dhw.h394 u64 rx_ok; /* good RX packets */
395 u64 rx_bcast; /* good RX broadcast packets */
396 u64 rx_mcast; /* good RX multicast packets */
398 u64 rx_ctrl; /* RX control packets other than pause frames */
399 u64 rx_fcs_err; /* RX packets with bad FCS */
400 u64 rx_len_err; /* RX packets with length != actual size */
402 u64 rx_runt; /* RX packets < 64 bytes with good FCS */
403 u64 rx_frag; /* RX packets < 64 bytes with bad FCS */
404 u64 rx_sz_64B; /* 64 byte RX packets */
405 u64 rx_sz_127B; /* 65-127 byte RX packets */
[all …]
/Linux-v5.10/drivers/net/ethernet/broadcom/
Db44.h187 #define B44_TX_GOOD_P 0x0504UL /* MIB TX Good Packets */
189 #define B44_TX_P 0x050CUL /* MIB TX Packets */
190 #define B44_TX_BCAST 0x0510UL /* MIB TX Broadcast Packets */
191 #define B44_TX_MCAST 0x0514UL /* MIB TX Multicast Packets */
192 #define B44_TX_64 0x0518UL /* MIB TX <= 64 byte Packets */
193 #define B44_TX_65_127 0x051CUL /* MIB TX 65 to 127 byte Packets */
194 #define B44_TX_128_255 0x0520UL /* MIB TX 128 to 255 byte Packets */
195 #define B44_TX_256_511 0x0524UL /* MIB TX 256 to 511 byte Packets */
196 #define B44_TX_512_1023 0x0528UL /* MIB TX 512 to 1023 byte Packets */
197 #define B44_TX_1024_MAX 0x052CUL /* MIB TX 1024 to max byte Packets */
[all …]
/Linux-v5.10/Documentation/networking/
Dnf_conntrack-sysctl.rst29 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 …]
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
31 of logical flows. Packets for each flow are steered to a separate receive
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
[all …]
Dseg6-sysctl.rst12 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
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-pip.h186 /* Inbound packets marked to be dropped by the IPD */
188 /* RAW PCI Packets received by PIP per port */
192 /* Number of packets processed by PIP */
193 uint32_t packets; member
195 * Number of identified L2 multicast packets. Does not
196 * include broadcast packets. Only includes packets whose
201 * Number of identified L2 broadcast packets. Does not
202 * include multicast packets. Only includes packets whose
206 /* Number of 64B packets */
208 /* Number of 65-127B packets */
[all …]
/Linux-v5.10/tools/testing/selftests/netfilter/
Dnft_nat.sh94 cnt=$(ip netns exec $ns nft list counter inet filter ns0in | grep -q "packets 1 bytes 84")
96 bad_counter $ns ns0in "packets 1 bytes 84" "check_counters 1"
99 cnt=$(ip netns exec $ns nft list counter inet filter ns0out | grep -q "packets 1 bytes 84")
101 bad_counter $ns ns0out "packets 1 bytes 84" "check_counters 2"
105 expect="packets 1 bytes 104"
125 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in | grep -q "packets 0 bytes 0")
127 bad_counter "$ns0" ns0in "packets 0 bytes 0" "check_ns0_counters 1"
131 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in6 | grep -q "packets 0 bytes 0")
133 bad_counter "$ns0" ns0in6 "packets 0 bytes 0"
137 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out | grep -q "packets 0 bytes 0")
[all …]
/Linux-v5.10/drivers/net/ethernet/atheros/atl1e/
Datl1e.h253 unsigned long rx_fcs_err; /* The number of packets with bad FCS. */
254 …unsigned long rx_len_err; /* The number of packets with mismatch of length field and actual si…
256 …unsigned long rx_runt; /* The number of packets received that are less than 64 byte long an…
257 …unsigned long rx_frag; /* The number of packets received that are less than 64 byte long an…
258 …unsigned long rx_sz_64; /* The number of good and bad packets received that are 64 byte long…
259 …unsigned long rx_sz_65_127; /* The number of good and bad packets received that are between 65 a…
260 …unsigned long rx_sz_128_255; /* The number of good and bad packets received that are between 128 …
261 …unsigned long rx_sz_256_511; /* The number of good and bad packets received that are between 256 …
262 …unsigned long rx_sz_512_1023; /* The number of good and bad packets received that are between 512 …
263 …unsigned long rx_sz_1024_1518; /* The number of good and bad packets received that are between …
[all …]
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/altera/
Daltera_tse.rst164 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 …]
/Linux-v5.10/drivers/media/test-drivers/vidtv/
Dvidtv_mux.h7 * This file contains the muxer logic for TS packets from different
29 * This is used to decide when PCR or PSI packets should be sent. This will also
37 * @pcr_period_usecs: How often we should send PCR packets.
38 * @si_period_usecs: How often we should send PSI packets.
57 * vidtv_channel and then periodically sends the TS packets for them>
95 * @on_new_packets_available_cb: A callback to inform of new TS packets ready.
96 * @mux_buf: A pointer to a buffer for this muxer. TS packets are stored there
102 * @num_streamed_pcr: Number of PCR packets streamed.
103 * @num_streamed_si: The number of PSI packets streamed.
106 * @pcr_pid: The TS PID used for the PSI packets. All channels will share the
[all …]
/Linux-v5.10/include/uapi/linux/
Dpkt_sched.h10 no more precise mechanism to classify packets.
36 __u32 packets; /* Number of enqueued packets */ member
37 __u32 drops; /* Packets dropped because of lack of resources */
125 __u32 limit; /* Queue length: bytes for bfifo, packets for pfifo */
140 __u32 limit; /* Queue length in packets. */
169 * buffer any incoming packets
170 * TCQ_PLUG_RELEASE_ONE: Dequeue packets from queue head
172 * TCQ_PLUG_RELEASE_INDEFINITE: Dequeue all packets from queue.
173 * Stop buffering packets until the next TCQ_PLUG_BUFFER
216 __u32 limit; /* Maximal packets in queue */
[all …]
Dif_pppol2tp.h34 __u16 s_tunnel, s_session; /* For matching incoming packets */
35 __u16 d_tunnel, d_session; /* For sending outgoing packets */
46 __u16 s_tunnel, s_session; /* For matching incoming packets */
47 __u16 d_tunnel, d_session; /* For sending outgoing packets */
62 __u32 s_tunnel, s_session; /* For matching incoming packets */
63 __u32 d_tunnel, d_session; /* For sending outgoing packets */
71 __u32 s_tunnel, s_session; /* For matching incoming packets */
72 __u32 d_tunnel, d_session; /* For sending outgoing packets */
79 * SENDSEQ - 0 => don't send packets with sequence numbers
80 * 1 => send packets with sequence numbers
[all …]
/Linux-v5.10/drivers/net/ethernet/atheros/atlx/
Datl1.h311 u32 rx_ok; /* good RX packets */
312 u32 rx_bcast; /* good RX broadcast packets */
313 u32 rx_mcast; /* good RX multicast packets */
315 u32 rx_ctrl; /* RX control packets other than pause frames */
316 u32 rx_fcs_err; /* RX packets with bad FCS */
317 u32 rx_len_err; /* RX packets with length != actual size */
319 u32 rx_runt; /* RX packets < 64 bytes with good FCS */
320 u32 rx_frag; /* RX packets < 64 bytes with bad FCS */
321 u32 rx_sz_64; /* 64 byte RX packets */
327 u32 rx_sz_1519_max; /* 1519 byte to MTU RX packets */
[all …]
/Linux-v5.10/tools/include/uapi/linux/
Dpkt_sched.h9 no more precise mechanism to classify packets.
35 __u32 packets; /* Number of enqueued packets */ member
36 __u32 drops; /* Packets dropped because of lack of resources */
124 __u32 limit; /* Queue length: bytes for bfifo, packets for pfifo */
139 __u32 limit; /* Queue length in packets. */
168 * buffer any incoming packets
169 * TCQ_PLUG_RELEASE_ONE: Dequeue packets from queue head
171 * TCQ_PLUG_RELEASE_INDEFINITE: Dequeue all packets from queue.
172 * Stop buffering packets until the next TCQ_PLUG_BUFFER
215 __u32 limit; /* Maximal packets in queue */
[all …]
/Linux-v5.10/drivers/net/ethernet/atheros/atl1c/
Datl1c.h306 unsigned long rx_fcs_err; /* The number of packets with bad FCS. */
307 …unsigned long rx_len_err; /* The number of packets with mismatch of length field and actual size. …
309 …unsigned long rx_runt; /* The number of packets received that are less than 64 byte long and with…
310 …unsigned long rx_frag; /* The number of packets received that are less than 64 byte long and with…
311 unsigned long rx_sz_64; /* The number of good and bad packets received that are 64 byte long. */
312 …unsigned long rx_sz_65_127; /* The number of good and bad packets received that are between 65 and…
313 …unsigned long rx_sz_128_255; /* The number of good and bad packets received that are between 128 a…
314 …unsigned long rx_sz_256_511; /* The number of good and bad packets received that are between 256 a…
315 …unsigned long rx_sz_512_1023; /* The number of good and bad packets received that are between 512 …
316 …unsigned long rx_sz_1024_1518; /* The number of good and bad packets received that are between 102…
[all …]

12345678910>>...83