| /kernel/linux/linux-5.10/Documentation/networking/devlink/ |
| D | devlink-trap.rst | 38 port). This is especially useful for drop traps (see :ref:`Trap-Types`) 62 | devlink | (non-drop traps) 91 * ``drop``: Trapped packets were dropped by the underlying device. Packets 103 the kernel's Rx path, but not reported to the kernel's drop monitor. 115 * ``drop``: The packet is dropped by the underlying device and a copy is not 135 - ``drop`` 136 - Traps incoming packets that the device decided to drop because of a 139 - ``drop`` 140 - Traps incoming packets that the device decided to drop in case of VLAN 144 - ``drop`` [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | tc_restrictions.sh | 39 # shared block with a drop rule. 45 skip_sw dst_ip 192.0.2.2 action drop 46 check_err $? "Failed to add drop rule to ingress bound block" 59 …check_err $? "Failed to create another clsact with egress shared block after blocker drop rule rem… 62 skip_sw dst_ip 192.0.2.2 action drop 63 check_fail $? "Incorrect success to add drop rule to mixed bound block" 71 skip_sw dst_ip 192.0.2.2 action drop 72 check_err $? "Failed to add drop rule to egress bound shared block" 79 log_test "shared block drop" 134 log_test "shared block drop" [all …]
|
| D | devlink_trap_policer.sh | 94 devlink trap set $DEVLINK_DEV trap blackhole_route action drop 229 check_err $? "Expected non-zero policer drop rate, got 0" 230 log_info "Measured policer drop rate of $drop_rate pps" 244 check_err $? "Expected zero policer drop rate, got a drop rate of $drop_rate pps" 245 log_info "Measured policer drop rate of $drop_rate pps" 265 check_err $? "Expected zero policer drop rate, got a drop rate of $drop_rate pps" 266 log_info "Measured policer drop rate of $drop_rate pps" 286 local t0_rx t0_drop t1_rx t1_drop rx drop 311 drop=$((t1_drop - t0_drop)) 312 (( drop == 0 )) [all …]
|
| D | devlink_trap_l2_drops.sh | 4 # Test devlink-trap L2 drops functionality over mlxsw. Each registered L2 drop 102 flower src_mac $smac action drop 128 flower dst_mac $dmac action drop 147 devlink_trap_action_set $trap_name "drop" 188 flower dst_mac $dmac action drop 208 devlink_trap_action_set $trap_name "drop" 231 flower dst_mac $dmac action drop 251 devlink_trap_action_set $trap_name "drop" 301 flower dst_mac $dmac action drop 320 devlink_trap_action_set $trap_name "drop" [all …]
|
| D | devlink_trap_l3_drops.sh | 4 # Test devlink-trap L3 drops functionality over mlxsw. Each registered L3 drop 161 devlink_trap_action_set $trap_name "drop" 174 flower dst_ip $h2_ipv4 action drop 203 flower ip_proto udp src_port 54321 dst_port 12345 action drop 238 flower src_ip $sip action drop 272 flower dst_ip $dip action drop 307 flower src_ip $sip action drop 338 flower src_ip $sip action drop 390 flower dst_ip $h2_ipv4 action drop 436 flower dst_ip $h2_ipv4 action drop [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_flow_dissector.sh | 109 udp src_port 9 action drop 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
| D | devlink_trap.sh | 67 # The action of non-drop traps cannot be changed. 68 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then 75 devlink_trap_action_set $trap_name "drop" 77 if [ $action != "drop" ]; then 78 check_err 1 "Trap $trap_name did not change action to drop" 89 devlink_trap_action_set $trap_name "drop" 123 devlink_trap_action_set "made_up_trap" "drop" 158 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then 163 devlink_trap_action_set $trap_name "drop" 165 check_err $? "Stats of trap $trap_name not idle when action is drop" [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
| D | tc_flower.sh | 42 $tcflags dst_mac $dummy_mac action drop 44 $tcflags dst_mac $h2mac action drop 68 $tcflags src_mac $dummy_mac action drop 70 $tcflags src_mac $h1mac action drop 92 $tcflags dst_ip 198.51.100.2 action drop 94 $tcflags dst_ip 192.0.2.2 action drop 96 $tcflags dst_ip 192.0.2.0/24 action drop 126 $tcflags src_ip 198.51.100.1 action drop 128 $tcflags src_ip 192.0.2.1 action drop 130 $tcflags src_ip 192.0.2.0/24 action drop [all …]
|
| D | tc_chains.sh | 39 flower $tcflags dst_mac $h2mac action drop 58 flower $tcflags dst_mac $h2mac action drop 60 $tcflags dst_mac $h2mac action drop 134 flower dst_mac $h2mac action drop 138 flower src_mac $h2mac action drop &> /dev/null 142 flower src_mac $h2mac action drop 146 flower dst_mac $h2mac action drop &> /dev/null
|
| /kernel/linux/linux-5.10/lib/zlib_inflate/ |
| D | inftrees.c | 31 unsigned drop; /* code bits to drop for sub-table */ in zlib_inflate_table() local 138 with length len. That code is converted to an index by dropping drop in zlib_inflate_table() 139 bits off of the bottom. For codes where len is less than drop + curr, in zlib_inflate_table() 140 those top drop + curr - len bits are incremented through all values to in zlib_inflate_table() 146 new sub-table should be started. drop is zero when the root table is in zlib_inflate_table() 147 being filled, and drop is root when sub-tables are being filled. in zlib_inflate_table() 192 drop = 0; /* current bits to drop from code for index */ in zlib_inflate_table() 204 this.bits = (unsigned char)(len - drop); in zlib_inflate_table() 219 incr = 1U << (len - drop); in zlib_inflate_table() 224 next[(huff >> drop) + fill] = this; in zlib_inflate_table() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| D | tc_flower.sh | 101 $tcflags dst_ip 192.0.2.2 action drop 110 $tcflags dst_ip 198.51.100.2 action drop 147 $tcflags dst_ip 192.0.2.2 action drop 149 $tcflags dst_ip 192.0.2.2 action drop 166 $tcflags dst_ip 192.0.2.2 action drop 195 $tcflags dst_ip 192.0.2.2 action drop 197 $tcflags dst_ip 192.0.0.0/8 action drop 214 $tcflags dst_ip 192.0.2.0/24 action drop 264 action drop" 302 $tcflags dst_ip 192.0.2.2 action drop [all …]
|
| /kernel/linux/linux-5.10/net/ipv6/ |
| D | seg6_local.c | 225 goto drop; in input_action_end() 233 drop: in input_action_end() 245 goto drop; in input_action_end_x() 253 drop: in input_action_end_x() 264 goto drop; in input_action_end_t() 272 drop: in input_action_end_t() 286 goto drop; in input_action_end_dx2() 289 goto drop; in input_action_end_dx2() 299 goto drop; in input_action_end_dx2() 303 goto drop; in input_action_end_dx2() [all …]
|
| D | xfrm6_input.c | 109 goto drop; in xfrm6_udp_encap_rcv() 120 goto drop; in xfrm6_udp_encap_rcv() 138 goto drop; in xfrm6_udp_encap_rcv() 145 goto drop; in xfrm6_udp_encap_rcv() 158 drop: in xfrm6_udp_encap_rcv() 186 goto drop; in xfrm6_input_addr() 191 goto drop; in xfrm6_input_addr() 238 goto drop; in xfrm6_input_addr() 252 drop: in xfrm6_input_addr()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | gact.json | 76 "name": "Add valid drop action", 89 "cmdUnderTest": "$TC actions add action drop index 30", 92 "matchPattern": "action order [0-9]*: gact action drop.*index 30 ref", 162 "cmdUnderTest": "$TC actions add action drop index 15", 165 "matchPattern": "action order [0-9]*: gact action drop.*index 15 ref", 186 "cmdUnderTest": "$TC actions add action drop index 4294967296", 189 "matchPattern": "action order [0-9]*: gact action drop.*index 4294967296 ref", 210 "cmdUnderTest": "$TC actions add action drop index 4294967295", 213 "matchPattern": "action order [0-9]*: gact action drop.*index 4294967295 ref", 346 "name": "Delete drop action", [all …]
|
| /kernel/linux/linux-5.10/include/net/ |
| D | codel_impl.h | 133 * for at least interval we'll say it's ok to drop in codel_should_drop() 154 bool drop; in codel_dequeue() local 161 drop = codel_should_drop(skb, ctx, vars, params, stats, in codel_dequeue() 164 if (!drop) { in codel_dequeue() 168 /* It's time for the next drop. Drop the current in codel_dequeue() 171 * If not, schedule the next drop. in codel_dequeue() 172 * A large backlog might result in drop rates so high in codel_dequeue() 173 * that the next drop should happen now, in codel_dequeue() 202 /* and schedule the next drop */ in codel_dequeue() 210 } else if (drop) { in codel_dequeue() [all …]
|
| D | pie.h | 20 * @tudpate: interval at which drop probability is calculated 22 * @alpha: parameter to control drop probability 23 * @beta: parameter to control drop probability 25 * @bytemode: is drop probability scaled based on pkt size 45 * @prob: drop probability 46 * @accu_prob: accumulated drop probability
|
| /kernel/linux/linux-5.10/net/ipv4/ |
| D | ip_forward.c | 96 goto drop; in ip_forward() 99 goto drop; in ip_forward() 102 goto drop; in ip_forward() 105 goto drop; in ip_forward() 122 goto drop; in ip_forward() 135 goto drop; in ip_forward() 140 goto drop; in ip_forward() 166 goto drop; in ip_forward() 172 drop: in ip_forward()
|
| D | xfrm4_input.c | 35 goto drop; in xfrm4_rcv_encap_finish() 39 goto drop; in xfrm4_rcv_encap_finish() 42 drop: in xfrm4_rcv_encap_finish() 113 goto drop; in xfrm4_udp_encap_rcv() 124 goto drop; in xfrm4_udp_encap_rcv() 142 goto drop; in xfrm4_udp_encap_rcv() 150 goto drop; in xfrm4_udp_encap_rcv() 163 drop: in xfrm4_udp_encap_rcv()
|
| /kernel/linux/linux-5.10/samples/bpf/ |
| D | hbm_out_kern.c | 18 * the other two to drop packets: 23 * | drop thresh | 24 * Small pkt drop Mark threshold 33 * at drop threshold). 36 * If the credit is below the drop threshold, the packet is dropped. If it 41 * This BPF program actually uses 2 drop thresholds, one threshold 122 // Set flags (drop, congestion, cwr) in _hbm_out_cg() 126 // Very congested, set drop packet in _hbm_out_cg()
|
| D | hbm_edt_kern.c | 18 * the other two to drop packets: 23 * | drop thresh | 24 * Small pkt drop Mark threshold 33 * at drop threshold). 36 * If the credit is below the drop threshold, the packet is dropped. If it 41 * This BPF program actually uses 2 drop thresholds, one threshold 113 // Set flags (drop, congestion, cwr) in _hbm_out_cg()
|
| D | xdp_monitor_user.c | 339 "XDP-event", "CPU:to", "pps", "drop-pps", "extra-info"); in stats_print() 400 double drop, info; in stats_print() local 410 drop = calc_drop(r, p, t); in stats_print() 418 i, to_cpu, pps, drop, info, info_str); in stats_print() 422 drop = calc_drop(&rec->total, &prev->total, t); in stats_print() 429 "sum", to_cpu, pps, drop, info, info_str); in stats_print() 438 double drop, info; in stats_print() local 449 drop = calc_drop(r, p, t); in stats_print() 453 if (pps > 0 || drop > 0) in stats_print() 455 i, pps, drop, info, i_str); in stats_print() [all …]
|
| D | xdp_redirect_cpu_user.c | 357 double pps = 0, drop = 0, err = 0; in stats_print() local 370 "XDP-cpumap", "CPU:to", "pps", "drop-pps", "extra-info"); in stats_print() 386 drop = calc_drop_pps(r, p, t); in stats_print() 392 i, pps, drop, err, errstr); in stats_print() 395 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_print() 397 printf(fm2_rx, "XDP-RX", "total", pps, drop); in stats_print() 414 drop = calc_drop_pps(r, p, t); in stats_print() 422 i, to_cpu, pps, drop, err, errstr); in stats_print() 426 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_print() 433 "sum", to_cpu, pps, drop, err, errstr); in stats_print() [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
| D | qib_ud.c | 70 goto drop; in qib_ud_loopback() 81 goto drop; in qib_ud_loopback() 102 goto drop; in qib_ud_loopback() 117 goto drop; in qib_ud_loopback() 154 /* Silently drop packets which are too big. */ in qib_ud_loopback() 218 drop: in qib_ud_loopback() 451 * and drop incomplete packets. in qib_ud_rcv() 455 goto drop; in qib_ud_rcv() 466 goto drop; in qib_ud_rcv() 485 /* Drop invalid MAD packets (see 13.5.3.1). */ in qib_ud_rcv() [all …]
|
| D | qib_uc.c | 270 * Silently drop any current message. in qib_uc_rcv() 293 goto drop; in qib_uc_rcv() 342 goto drop; in qib_uc_rcv() 412 goto drop; in qib_uc_rcv() 428 goto drop; in qib_uc_rcv() 447 goto drop; in qib_uc_rcv() 450 goto drop; in qib_uc_rcv() 465 goto drop; in qib_uc_rcv() 469 goto drop; in qib_uc_rcv() 477 goto drop; in qib_uc_rcv() [all …]
|
| /kernel/linux/linux-5.10/net/xfrm/ |
| D | xfrm_input.c | 490 goto drop; in xfrm_input() 521 goto drop; in xfrm_input() 526 goto drop; in xfrm_input() 530 goto drop; in xfrm_input() 535 goto drop; in xfrm_input() 559 goto drop; in xfrm_input() 566 goto drop; in xfrm_input() 577 goto drop; in xfrm_input() 585 goto drop; in xfrm_input() 595 goto drop; in xfrm_input() [all …]
|