Home
last modified time | relevance | path

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

12345678910>>...105

/Linux-v6.1/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-v6.1/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/UDP packets from port 8. Filter should not drop any.
121 # Send 10 IPv4/UDP packets from port 9. Filter should drop all.
123 # Send 10 IPv4/UDP packets from port 10. Filter should not drop any.
127 # Send 10 IPv4/IPv4/UDP packets from port 8. Filter should not drop any.
130 # Send 10 IPv4/IPv4/UDP packets from port 9. Filter should drop all.
133 # Send 10 IPv4/IPv4/UDP packets from port 10. Filter should not drop any.
[all …]
/Linux-v6.1/samples/bpf/
Dxdp_sample_user.c61 #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 …]
Dxdp_router_ipv4.bpf.c89 goto drop; in xdp_router_ipv4_prog()
99 goto drop; in xdp_router_ipv4_prog()
116 goto drop; in xdp_router_ipv4_prog()
139 goto drop; in xdp_router_ipv4_prog()
144 goto drop; in xdp_router_ipv4_prog()
149 goto drop; in xdp_router_ipv4_prog()
182 drop: in xdp_router_ipv4_prog()
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()
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh42 # 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 …]
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"
290 local t0_rx t0_drop t1_rx t1_drop rx drop
315 drop=$((t1_drop - t0_drop))
316 (( 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-v6.1/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-v6.1/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-v6.1/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-v6.1/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
Dtc_police.sh134 action drop
160 action police rate 80mbit burst 16k conform-exceed drop/ok
172 action police rate 80mbit burst 16k conform-exceed drop/ok
209 action drop
214 action police rate 80mbit burst 16k conform-exceed drop/ok \
243 action drop
248 action drop
253 action police rate 80mbit burst 16k conform-exceed drop/pipe \
306 action drop
332 action police pkts_rate 2000 pkts_burst 400 conform-exceed drop/ok
[all …]
/Linux-v6.1/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-v6.1/include/net/
Dcodel_impl.h137 * for at least interval we'll say it's ok to drop in codel_should_drop()
158 bool drop; in codel_dequeue() local
165 drop = codel_should_drop(skb, ctx, vars, params, stats, in codel_dequeue()
168 if (!drop) { in codel_dequeue()
172 /* It's time for the next drop. Drop the current in codel_dequeue()
175 * If not, schedule the next drop. in codel_dequeue()
176 * A large backlog might result in drop rates so high in codel_dequeue()
177 * that the next drop should happen now, in codel_dequeue()
206 /* and schedule the next drop */ in codel_dequeue()
214 } 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-v6.1/net/ipv4/
Dip_forward.c97 goto drop; in ip_forward()
100 goto drop; in ip_forward()
103 goto drop; in ip_forward()
107 goto drop; in ip_forward()
126 goto drop; in ip_forward()
141 goto drop; in ip_forward()
146 goto drop; in ip_forward()
172 goto drop; in ip_forward()
179 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-v6.1/tools/testing/selftests/tc-testing/tc-tests/filters/
Dcgroup.json4 "name": "Add cgroup filter with cmp ematch u8/link layer and drop action",
15 …f: handle 1 protocol ip prio 1 cgroup match 'cmp(u8 at 0 layer link mask 0xff gt 10)' action drop",
81 …match 'cmp(u32 at 4 layer link mask 0xff00ff00 eq 3)' action skbedit mark 7 pipe action gact drop",
84 …(u32 at 4 layer 0 mask 0xff00ff00 eq 3\\).*action.*skbedit.*mark 7 pipe.*action.*gact action drop",
114 … "name": "Add cgroup filter with cmp ematch u8/network layer with trans flag and drop action",
125 …le 0xab protocol ip prio 11 cgroup match 'cmp(u8 at 0 layer 1 mask 0xff trans gt 10)' action drop",
169 …ch 'cmp(u32 at 4 layer network mask 0xff00ff00 eq 3)' action skbedit mark 7 pipe action gact drop",
172 …(u32 at 4 layer 1 mask 0xff00ff00 eq 3\\).*action.*skbedit.*mark 7 pipe.*action.*gact action drop",
213 …8 at 0 layer link mask 0xff eq 3) and cmp(u16 at 8 layer link mask 0x00ff gt 7)' action gact drop",
216 …layer 0 mask 0xff eq 3\\).*AND cmp\\(u16 at 8 layer 0 mask 0xff gt 7\\).*action.*gact action drop",
[all …]
/Linux-v6.1/net/ipv6/
Dseg6_local.c374 goto drop; in input_action_end_core()
382 drop: in input_action_end_core()
426 goto drop; in input_action_end_x()
434 drop: in input_action_end_x()
445 goto drop; in input_action_end_t()
453 drop: in input_action_end_t()
467 goto drop; in input_action_end_dx2()
470 goto drop; in input_action_end_dx2()
480 goto drop; in input_action_end_dx2()
484 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-v6.1/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 …]

12345678910>>...105