Home
last modified time | relevance | path

Searched full:drop (Results 1 – 25 of 2310) sorted by relevance

12345678910>>...93

/Linux-v5.15/Documentation/networking/devlink/
Ddevlink-trap.rst38 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 …]
Dprestera.rst116 - ``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…
/Linux-v5.15/samples/bpf/
Dxdp_sample_user.c62 #define DROP(drop) drop, "drop/s" argument
117 __u64 drop; member
124 __u64 drop; member
136 __u64 drop; member
219 " err,drop/s Aggregated count of errors per second (including dropped packets)\n" in sample_print_help()
226 " \t\t\tWhenever an error or packet drop occurs, details of per CPU error\n" in sample_print_help()
227 " \t\t\tand drop statistics will be expanded inline in terse mode.\n" in sample_print_help()
651 double t, pps, drop, err; in stats_get_rx_cnt() local
664 drop = calc_drop_pps(r, p, t); in stats_get_rx_cnt()
666 if (!pps && !drop && !err) in stats_get_rx_cnt()
[all …]
Dhbm_out_kern.c18 * 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()
Dhbm_edt_kern.c18 * 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()
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh41 # shared block with a drop rule.
47 skip_sw dst_ip 192.0.2.2 action drop
48 check_err $? "Failed to add drop rule to ingress bound block"
61 …check_err $? "Failed to create another clsact with egress shared block after blocker drop rule rem…
64 skip_sw dst_ip 192.0.2.2 action drop
65 check_fail $? "Incorrect success to add drop rule to mixed bound block"
73 skip_sw dst_ip 192.0.2.2 action drop
74 check_err $? "Failed to add drop rule to egress bound shared block"
81 log_test "shared block drop"
136 log_test "shared block drop"
[all …]
Ddevlink_trap_policer.sh94 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 …]
Ddevlink_trap_l2_drops.sh4 # 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 …]
Ddevlink_trap_l3_drops.sh4 # Test devlink-trap L3 drops functionality over mlxsw. Each registered L3 drop
162 devlink_trap_action_set $trap_name "drop"
175 flower dst_ip $h2_ipv4 action drop
204 flower ip_proto udp src_port 54321 dst_port 12345 action drop
239 flower src_ip $sip action drop
273 flower dst_ip $dip action drop
308 flower src_ip $sip action drop
339 flower src_ip $sip action drop
391 flower dst_ip $h2_ipv4 action drop
437 flower dst_ip $h2_ipv4 action drop
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh109 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 …]
/Linux-v5.15/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh69 # The action of non-drop traps cannot be changed.
70 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
77 devlink_trap_action_set $trap_name "drop"
79 if [ $action != "drop" ]; then
80 check_err 1 "Trap $trap_name did not change action to drop"
91 devlink_trap_action_set $trap_name "drop"
125 devlink_trap_action_set "made_up_trap" "drop"
160 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
165 devlink_trap_action_set $trap_name "drop"
167 check_err $? "Stats of trap $trap_name not idle when action is drop"
[all …]
/Linux-v5.15/lib/zlib_inflate/
Dinftrees.c31 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 …]
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh101 $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 …]
/Linux-v5.15/tools/testing/selftests/net/forwarding/
Dtc_flower.sh45 $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 …]
Dtc_chains.sh39 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
/Linux-v5.15/tools/testing/selftests/tc-testing/tc-tests/actions/
Dgact.json76 "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 …]
/Linux-v5.15/include/net/
Dcodel_impl.h133 * 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 …]
Dpie.h20 * @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
/Linux-v5.15/net/ipv4/
Dip_forward.c96 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()
Dxfrm4_input.c35 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()
/Linux-v5.15/net/ipv6/
Dseg6_local.c308 goto drop; in input_action_end()
316 drop: in input_action_end()
328 goto drop; in input_action_end_x()
336 drop: in input_action_end_x()
347 goto drop; in input_action_end_t()
355 drop: in input_action_end_t()
369 goto drop; in input_action_end_dx2()
372 goto drop; in input_action_end_dx2()
382 goto drop; in input_action_end_dx2()
386 goto drop; in input_action_end_dx2()
[all …]
Dxfrm6_input.c109 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()
/Linux-v5.15/drivers/infiniband/hw/qib/
Dqib_ud.c70 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()
452 * and drop incomplete packets. in qib_ud_rcv()
456 goto drop; in qib_ud_rcv()
467 goto drop; in qib_ud_rcv()
486 /* Drop invalid MAD packets (see 13.5.3.1). */ in qib_ud_rcv()
[all …]
Dqib_uc.c271 * Silently drop any current message. in qib_uc_rcv()
294 goto drop; in qib_uc_rcv()
343 goto drop; in qib_uc_rcv()
413 goto drop; in qib_uc_rcv()
429 goto drop; in qib_uc_rcv()
448 goto drop; in qib_uc_rcv()
451 goto drop; in qib_uc_rcv()
466 goto drop; in qib_uc_rcv()
470 goto drop; in qib_uc_rcv()
478 goto drop; in qib_uc_rcv()
[all …]
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Duc.c286 * Silently drop any current message. in hfi1_uc_rcv()
310 goto drop; in hfi1_uc_rcv()
359 goto drop; in hfi1_uc_rcv()
442 goto drop; in hfi1_uc_rcv()
457 goto drop; in hfi1_uc_rcv()
476 goto drop; in hfi1_uc_rcv()
479 goto drop; in hfi1_uc_rcv()
491 goto drop; in hfi1_uc_rcv()
495 goto drop; in hfi1_uc_rcv()
503 goto drop; in hfi1_uc_rcv()
[all …]

12345678910>>...93