Home
last modified time | relevance | path

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

12345678910>>...150

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/qualcomm/emac/
Demac.h222 u64 rx_ok; /* good packets */
223 u64 rx_bcast; /* good broadcast packets */
224 u64 rx_mcast; /* good multicast packets */
226 u64 rx_ctrl; /* control packets other than pause frame. */
227 u64 rx_fcs_err; /* packets with bad FCS. */
228 u64 rx_len_err; /* packets with length mismatch */
230 u64 rx_runt; /* runt packets */
232 u64 rx_sz_64; /* packets that are 64 bytes */
233 u64 rx_sz_65_127; /* packets that are 65-127 bytes */
234 u64 rx_sz_128_255; /* packets that are 128-255 bytes */
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c32 { "rx-packets" },
33 { "rx-broadcast-packets" },
34 { "rx-multicast-packets" },
40 { "rx-64-byte-packets" },
41 { "rx-65-127-byte-packets" },
42 { "rx-128-255-byte-packets" },
43 { "rx-256-511-byte-packets" },
44 { "rx-512-1023-byte-packets" },
45 { "rx-1024-1518-byte-packets" },
48 { "tx-packets" },
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/tools/testing/selftests/netfilter/
Dnft_nat.sh66 cnt=$(ip netns exec $ns nft list counter inet filter ns0in | grep -q "packets 1 bytes 84")
68 bad_counter $ns ns0in "packets 1 bytes 84"
71 cnt=$(ip netns exec $ns nft list counter inet filter ns0out | grep -q "packets 1 bytes 84")
73 bad_counter $ns ns0out "packets 1 bytes 84"
77 expect="packets 1 bytes 104"
97 cnt=$(ip netns exec ns0 nft list counter inet filter ns0in | grep -q "packets 0 bytes 0")
99 bad_counter ns0 ns0in "packets 0 bytes 0"
103 cnt=$(ip netns exec ns0 nft list counter inet filter ns0in6 | grep -q "packets 0 bytes 0")
105 bad_counter ns0 ns0in6 "packets 0 bytes 0"
109 cnt=$(ip netns exec ns0 nft list counter inet filter ns0out | grep -q "packets 0 bytes 0")
[all …]
/kernel/linux/linux-4.19/Documentation/networking/
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.txt24 (multi-queue). On reception, a NIC can send different packets to different
25 queues to distribute processing among CPUs. The NIC distributes packets by
27 of logical flows. Packets for each flow are steered to a separate receive
43 Some advanced NICs allow steering packets to queues based on
44 programmable filters. For example, webserver bound TCP port 80 packets
69 this to notify a CPU when new packets arrive on the given queue. The
129 RPS may enqueue packets for processing. For each received packet,
134 packets have been queued to their backlog queue. The IPI wakes backlog
135 processing on the remote CPU, and any queued packets are then processed
148 (the default), in which case packets are processed on the interrupting
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/sound/firewire/
Dpackets-buffer.c2 * 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()
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/include/trace/events/
Dqdisc.h15 int packets, struct sk_buff *skb),
17 TP_ARGS(qdisc, txq, packets, skb),
22 __field( int, packets )
30 /* skb==NULL indicate packets dequeued was 0, even when packets==1 */
34 __entry->packets = skb ? packets : 0;
42 TP_printk("dequeue ifindex=%d qdisc handle=0x%X parent=0x%X txq_state=0x%lX packets=%d skbaddr=%p",
44 __entry->txq_state, __entry->packets, __entry->skbaddr )
/kernel/linux/linux-4.19/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 …]

12345678910>>...150