/openbmc/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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-io.json | 78 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 87 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 96 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 105 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 114 … 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… 132 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 141 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 150 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 159 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/openbmc/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 …]
|
/openbmc/openbmc-test-automation/security/ |
H A D | test_bmc_network_security.robot | 33 [Documentation] Send ICMP packet type 13 and check BMC drops such packets 37 ${packet_loss}= Send Network Packets And Get Packet Loss 43 [Documentation] Send ICMP packet type 17 and check BMC drops such packets 47 ${packet_loss}= Send Network Packets And Get Packet Loss 53 [Documentation] Send ICMP packet type 8 continuously and check no packets are dropped from BMC 57 ${packet_loss}= Send Network Packets And Get Packet Loss 60 ... msg=FAILURE: BMC is dropping packets. 62 Send Network Packets Continuously To Redfish Interface 63 [Documentation] Send network packets continuously to Redfish interface and verify stability. 66 # Send large number of packets to Redfish interface. [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | uncore-io.json | 101 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 110 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 119 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 128 … 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… 146 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 155 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 182 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 191 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 200 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-io.json | 101 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 110 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 119 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 128 … 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… 146 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 155 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 182 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 191 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 200 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_network_security_utils.robot | 9 Send Network Packets And Get Packet Loss 10 [Documentation] Send TCP, UDP or ICMP packets to any network device and return packet loss. 16 # packet_type The type of packets to be sent ("tcp, "udp", "icmp"). 18 # icmp_type Type of ICMP packets (e.g. 8, 13, 17, etc.). 19 # num Number of packets to be sent. 21 # This keyword expects host, port, type and number of packets to be sent 22 # and rate at which packets to be sent, should be given in command line. 23 # By default it sends 4 ICMP echo request packets at 1 packets/second. 34 Send Network Packets With Flags And Verify Stability 42 # packet_type The type of packets to be sent ("tcp, "udp", "icmp"). [all …]
|
/openbmc/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. 206 - Number of received packets processed using hardware-accelerated GRO that 211 - Number of receive packets using hardware-accelerated GRO that have large 216 - The number of LRO packets received on ring i [#accel]_. 224 - The number of received packets where the ECN mark was turned on. [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-io.json | 101 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 110 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 119 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 128 … 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… 146 … 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… 182 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 191 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 200 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-io.json | 96 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 105 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 114 … 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… 132 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 141 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 150 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 159 … ring stop. This includes when packets are passing by and when packets are being sunk, but does n… 168 … 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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()
|
/openbmc/linux/sound/firewire/ |
H A D | packets-buffer.c | 3 * 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()
|
/openbmc/qemu/net/ |
H A D | vmnet-common.m | 59 * Write packets from QEMU to vmnet interface. 109 * Read packets from vmnet interface and write them 112 * Returns read packets number (may be 0) on success, 119 struct vmpktdesc *packets = s->packets_buf; 123 /* Read as many packets as present */ 127 packets[i].vm_pkt_size = s->max_packet_size; 128 packets[i].vm_pkt_iovcnt = 1; 129 packets[i].vm_flags = 0; 132 status = vmnet_read(s->vmnet_if, packets, &s->packets_send_end_pos); 145 * Write packets from temporary buffers in VmnetState [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_rx.h | 74 /* Number of packets received from the Device. */ 75 u64 packets; member 88 /* Received packets */ 91 /* Octets of received packets */ 94 /* Received PAUSE and Control packets */ 100 /* Filtered DMAC0 packets */ 106 /* Packets dropped due to RX FIFO full */ 112 /* Error packets */ 115 /* Filtered DMAC1 packets */ 121 /* NCSI-bound packets dropped */ [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|