/linux/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 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 …]
|
H A D | prestera.rst | 27 - Traps ARP broadcast packets (both requests/responses) 30 - Traps IS-IS packets 33 - Traps OSPF packets 36 - Traps IPv4 packets with broadcast DA Mac address 42 - Traps LACP packets 45 - Traps LLDP packets 48 - Traps multicast packets 51 - Traps VRRP packets 54 - Traps DHCP packets 57 - Traps (exception) packets that exceeded port's MTU [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-io.json | 87 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 97 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 107 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 117 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 127 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 137 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 147 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 157 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 167 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 177 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac.h | 214 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/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | counters.rst | 145 - The number of packets received on ring i. 153 - The number of packets transmitted on ring i. 173 - The number of TSO packets transmitted on ring i [#accel]_. 181 - The number of TSO packets which are indicated to be carry internal 191 - Number of received packets processed using hardware-accelerated GRO. The 192 number of hardware GRO offloaded packets received on ring i. Only true GRO 193 packets are counted: only packets that are in an SKB with a GRO count > 1. 199 packets are counted: only packets that are in an SKB with a GRO count > 1. 208 - Number of receive packets using hardware-accelerated GRO that have large 213 - Number of header only packets in header/data split mode [#accel]_. [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-io.json | 113 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 123 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 133 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 143 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 153 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 163 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 173 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 203 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 213 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 223 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | uncore-io.json | 113 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 123 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 133 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 143 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 153 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 163 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 173 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 203 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 213 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 223 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/linux/Documentation/netlink/specs/ |
H A D | netdev.yaml | 68 HW timestamping egress packets is supported by the driver. 317 name: rx-packets 319 Number of wire packets successfully received and passed to the stack. 321 of the stack, so packets consumed by XDP are still counted here. 326 doc: Successfully received bytes, see `rx-packets`. 329 name: tx-packets 331 Number of wire packets successfully sent. Packet is considered to be 337 doc: Successfully sent bytes, see `tx-packets`. 349 Number of all packets which entered the device, but never left it, 350 including but not limited to: packets dropped due to lack of buffer [all …]
|
/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-io.json | 113 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 123 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 133 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 143 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 153 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 163 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 193 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 203 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 213 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 223 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac_ethtool.c | 21 { "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/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_struct.h | 82 /*! 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/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | vxlan_flooding_ipv6.sh | 6 # verifies that packets are correctly flooded in various cases such as deletion 162 # Prevent unwanted packets from entering the bridge and interfering 219 local packets=("$@") 220 local num_remotes=${#packets[@]} 224 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]} 225 check_err $? "remote $i - did not get expected number of packets" 232 # 'packets' will store how many packets are expected to be received 234 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1) 241 # packets were flooded to each remote VTEP 247 flooding_check_packets "${packets[@]}" [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | vxlan_flooding_ipv6.sh | 6 # verifies that packets are correctly flooded in various cases such as deletion 202 local packets=("$@") 203 local num_remotes=${#packets[@]} 207 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]} 208 check_err $? "remote $i - did not get expected number of packets" 215 # 'packets' will store how many packets are expected to be received 217 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1) 224 # packets were flooded to each remote VTEP 230 flooding_check_packets "${packets[@]}" 238 packets=(2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 2 2 2 2 2) [all …]
|
/linux/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 …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | vxlan_flooding.sh | 6 # verifies that packets are correctly flooded in various cases such as deletion 175 # Prevent unwanted packets from entering the bridge and interfering 218 local packets=("$@") 219 local num_remotes=${#packets[@]} 223 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]} 224 check_err $? "remote $i - did not get expected number of packets" 231 # 'packets' will store how many packets are expected to be received 233 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1) 240 # packets were flooded to each remote VTEP 246 flooding_check_packets "${packets[@]}" [all …]
|
H A D | devlink_trap_l2_drops.sh | 125 # packets from entering the bridge. 136 # Add PVID and make sure packets are no longer dropped. 141 check_err $? "Trap stats not idle when packets should not be dropped" 143 check_err $? "Trap group stats not idle with when packets should not be dropped" 146 check_fail $? "Packets not forwarded when should" 159 log_test "VLAN tag mismatch - untagged packets" 168 log_test "VLAN tag mismatch - prio-tagged packets" 196 # Add the VLAN on the bridge port and make sure packets are no longer 202 check_err $? "Trap stats not idle when packets should not be dropped" 204 check_err $? "Trap group stats not idle with when packets should not be dropped" [all …]
|
/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-io.json | 107 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 117 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 127 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 137 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 147 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 157 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 167 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 177 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 187 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 197 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.sh | 109 # Drops all IP/UDP packets coming from port 9 113 # Send 10 IPv4/UDP packets from port 8. Filter should not drop any. 115 # Send 10 IPv4/UDP packets from port 9. Filter should drop all. 117 # Send 10 IPv4/UDP packets from port 10. Filter should not drop any. 121 # Send 10 IPv4/UDP packets from port 8. Filter should not drop any. 123 # Send 10 IPv4/UDP packets from port 9. Filter should drop all. 125 # Send 10 IPv4/UDP packets from port 10. Filter should not drop any. 129 # Send 10 IPv4/IPv4/UDP packets from port 8. Filter should not drop any. 132 # Send 10 IPv4/IPv4/UDP packets from port 9. Filter should drop all. 135 # Send 10 IPv4/IPv4/UDP packets from port 10. Filter should not drop any. [all …]
|
/linux/tools/testing/selftests/drivers/net/microchip/ |
H A D | ksz9477_qos.sh | 170 # are only tx_hi and rx_hi counters, which are used to count packets 173 # On the ingress path, packets seem to get high priority status 178 # it seems that the switch considers packets as high priority on the 180 # egress path, the switch considers packets as high priority if 199 '.[0].stats64.rx.packets') 203 '.[0].stats64.tx.packets') 210 # For the testis with ipv4 or ipv6, use icmp response packets, 235 '.[0].stats64.rx.packets') 239 '.[0].stats64.tx.packets') 251 # Test if any packets were received on swp1, we will rx before and after [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | netcnt.c | 17 unsigned long packets; in serial_test_netcnt() local 57 /* Some packets can be still in per-cpu cache, but not more than in serial_test_netcnt() 60 packets = netcnt.packets; in serial_test_netcnt() 63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in serial_test_netcnt() 65 packets += percpu_netcnt[cpu].packets; in serial_test_netcnt() 69 /* No packets should be lost */ in serial_test_netcnt() 70 ASSERT_GE(packets, 10000, "packets"); in serial_test_netcnt() 72 /* Let's check that bytes counter matches the number of packets in serial_test_netcnt() 75 ASSERT_GE(bytes, packets * 104, "bytes"); in serial_test_netcnt()
|
/linux/drivers/net/ethernet/atheros/alx/ |
H A D | hw.h | 394 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/tools/testing/selftests/net/netfilter/ |
H A D | nft_nat.sh | 77 if ! ip netns exec "$ns" nft list counter inet filter ns0in | grep -q "packets 1 bytes 84";then 78 bad_counter "$ns" ns0in "packets 1 bytes 84" "check_counters 1" 82 if ! ip netns exec "$ns" nft list counter inet filter ns0out | grep -q "packets 1 bytes 84";then 83 bad_counter "$ns" ns0out "packets 1 bytes 84" "check_counters 2" 87 expect="packets 1 bytes 104" 105 if ! ip netns exec "$ns0" nft list counter inet filter ns0in | grep -q "packets 0 bytes 0";then 106 bad_counter "$ns0" ns0in "packets 0 bytes 0" "check_ns0_counters 1" 110 if ! ip netns exec "$ns0" nft list counter inet filter ns0in6 | grep -q "packets 0 bytes 0";then 111 bad_counter "$ns0" ns0in6 "packets 0 bytes 0" 115 if ! ip netns exec "$ns0" nft list counter inet filter ns0out | grep -q "packets 0 bytes 0";then [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.h | 187 #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/arch/mips/include/asm/octeon/ |
H A D | cvmx-pip.h | 186 /* 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/Documentation/networking/ |
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 31 of logical flows. Packets for each flow are steered to a separate receive 62 Some advanced NICs allow steering packets to queues based on 63 programmable filters. For example, webserver bound TCP port 80 packets 92 this to notify a CPU when new packets arrive on the given queue. The 198 RPS may enqueue packets for processing. For each received packet, 203 packets have been queued to their backlog queue. The IPI wakes backlog 204 processing on the remote CPU, and any queued packets are then processed 219 (the default), in which case packets are processed on the interrupting [all …]
|