| /kernel/linux/linux-6.6/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 …]
|
| D | prestera.rst | 116 - ``drop`` 119 - ``drop`` 122 - ``drop`` 125 - ``drop`` 128 - ``drop`` 131 - ``drop`` 134 - ``drop`` 137 - ``drop`` 140 - ``drop`` 141 …- Drops non-conforming packets (dropped by Ingress policer, metering drop), e.g. packet rate excee…
|
| /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-6.6/tools/testing/selftests/bpf/ |
| D | test_flow_dissector.sh | 111 udp src_port 9 action drop 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 …]
|
| /kernel/linux/linux-6.6/samples/bpf/ |
| D | xdp_sample_user.c | 61 #define DROP(drop) drop, "drop/s" argument 116 __u64 drop; member 126 __u64 drop; member 138 __u64 drop; member 221 " err,drop/s Aggregated count of errors per second (including dropped packets)\n" in sample_print_help() 228 " \t\t\tWhenever an error or packet drop occurs, details of per CPU error\n" in sample_print_help() 229 " \t\t\tand drop statistics will be expanded inline in terse mode.\n" in sample_print_help() 653 double t, pps, drop, err; in stats_get_rx_cnt() local 666 drop = calc_drop_pps(r, p, t); in stats_get_rx_cnt() 668 if (!pps && !drop && !err) in stats_get_rx_cnt() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | tc_restrictions.sh | 42 # shared block with a drop rule. 48 skip_sw dst_ip 192.0.2.2 action drop 49 check_err $? "Failed to add drop rule to ingress bound block" 62 …check_err $? "Failed to create another clsact with egress shared block after blocker drop rule rem… 65 skip_sw dst_ip 192.0.2.2 action drop 66 check_fail $? "Incorrect success to add drop rule to mixed bound block" 74 skip_sw dst_ip 192.0.2.2 action drop 75 check_err $? "Failed to add drop rule to egress bound shared block" 82 log_test "shared block drop" 137 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" 290 local t0_rx t0_drop t1_rx t1_drop rx drop 315 drop=$((t1_drop - t0_drop)) 316 (( drop == 0 )) [all …]
|
| D | devlink_trap_l2_drops.sh | 4 # Test devlink-trap L2 drops functionality over mlxsw. Each registered L2 drop 103 flower src_mac $smac action drop 129 flower dst_mac $dmac action drop 148 devlink_trap_action_set $trap_name "drop" 189 flower dst_mac $dmac action drop 209 devlink_trap_action_set $trap_name "drop" 232 flower dst_mac $dmac action drop 252 devlink_trap_action_set $trap_name "drop" 302 flower dst_mac $dmac action drop 321 devlink_trap_action_set $trap_name "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 …]
|
| /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-6.6/include/net/ |
| D | dropreason.h | 8 * enum skb_drop_reason_subsys - subsystem tag for (extended) drop reasons 11 /** @SKB_DROP_REASON_SUBSYS_CORE: core drop reasons defined above */ 15 * @SKB_DROP_REASON_SUBSYS_MAC80211_UNUSABLE: mac80211 drop reasons 16 * for unusable frames, see net/mac80211/drop.h 21 * @SKB_DROP_REASON_SUBSYS_MAC80211_MONITOR: mac80211 drop reasons 22 * for frames still going to monitor, see net/mac80211/drop.h 27 * @SKB_DROP_REASON_SUBSYS_OPENVSWITCH: openvswitch drop reasons, 28 * see net/openvswitch/drop.h
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/ |
| D | devlink_trap.sh | 80 # The action of non-drop traps cannot be changed. 81 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then 88 devlink_trap_action_set $trap_name "drop" 90 if [ $action != "drop" ]; then 91 check_err 1 "Trap $trap_name did not change action to drop" 102 devlink_trap_action_set $trap_name "drop" 136 devlink_trap_action_set "made_up_trap" "drop" 172 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then 177 devlink_trap_action_set $trap_name "drop" 179 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 …]
|
| /kernel/linux/linux-6.6/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/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-6.6/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| D | tc_flower.sh | 102 $tcflags dst_ip 192.0.2.2 action drop 111 $tcflags dst_ip 198.51.100.2 action drop 148 $tcflags dst_ip 192.0.2.2 action drop 150 $tcflags dst_ip 192.0.2.2 action drop 167 $tcflags dst_ip 192.0.2.2 action drop 196 $tcflags dst_ip 192.0.2.2 action drop 198 $tcflags dst_ip 192.0.0.0/8 action drop 215 $tcflags dst_ip 192.0.2.0/24 action drop 265 action drop" 303 $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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
| D | tc_flower.sh | 45 $tcflags dst_mac $dummy_mac action drop 47 $tcflags dst_mac $h2mac action drop 71 $tcflags src_mac $dummy_mac action drop 73 $tcflags src_mac $h1mac action drop 95 $tcflags dst_ip 198.51.100.2 action drop 97 $tcflags dst_ip 192.0.2.2 action drop 99 $tcflags dst_ip 192.0.2.0/24 action drop 129 $tcflags src_ip 198.51.100.1 action drop 131 $tcflags src_ip 192.0.2.1 action drop 133 $tcflags src_ip 192.0.2.0/24 action drop [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| D | tc_flower.sh | 102 $tcflags dst_ip 192.0.2.2 action drop 111 $tcflags dst_ip 198.51.100.2 action drop 148 $tcflags dst_ip 192.0.2.2 action drop 150 $tcflags dst_ip 192.0.2.2 action drop 167 $tcflags dst_ip 192.0.2.2 action drop 196 $tcflags dst_ip 192.0.2.2 action drop 198 $tcflags dst_ip 192.0.0.0/8 action drop 215 $tcflags dst_ip 192.0.2.0/24 action drop 265 action drop" 303 $tcflags dst_ip 192.0.2.2 action drop [all …]
|
| /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 …]
|
| /kernel/linux/linux-6.6/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 …]
|