Home
last modified time | relevance | path

Searched refs:skip_sw (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh47 skip_sw dst_ip 192.0.2.2 action drop
64 skip_sw dst_ip 192.0.2.2 action drop
73 skip_sw dst_ip 192.0.2.2 action drop
95 skip_sw dst_ip 192.0.2.2 \
113 skip_sw dst_ip 192.0.2.2 \
123 skip_sw dst_ip 192.0.2.2 \
130 skip_sw dst_ip 192.0.2.2 \
149 skip_sw dst_ip 192.0.2.2 \
156 skip_sw dst_ip 192.0.2.2 \
177 matchall skip_sw action sample rate 100 group 1
[all …]
Dtc_sample.sh232 skip_sw action sample rate 32 group 1
263 skip_sw action sample rate $((35 * 10 ** 8)) group 1
269 skip_sw action sample rate $((35 * 10 ** 8 + 1)) \
284 skip_sw action sample rate 1024 group 1
288 skip_sw action sample rate 1024 group 1 &> /dev/null
297 skip_sw action sample rate 1024 group 1
313 skip_sw action sample rate 1024 group 1
317 skip_sw action sample rate 1024 group 2 &> /dev/null
332 skip_sw action sample rate 5 group 1
358 skip_sw action sample rate 5 group 1
[all …]
Dtc_police_occ.sh71 flower skip_sw \
81 flower skip_sw \
85 flower skip_sw action police index 10
Dtc_action_hw_stats.sh52 skip_sw dst_ip 192.0.2.2 action drop $action_hw_stats
86 skip_sw dst_ip 192.0.2.2 action drop hw_stats delayed
Dsch_tbf_ets.sh8 TCFLAGS=skip_sw
Dsch_tbf_prio.sh8 TCFLAGS=skip_sw
Dsch_tbf_root.sh8 TCFLAGS=skip_sw
Dtc_police_scale.sh46 flower skip_sw dst_ip $(tc_police_addr $i) \
Done_armed_router.sh143 skip_sw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
186 skip_sw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
Dsch_red_core.sh601 tc filter add block 10 pref 1234 handle 102 matchall skip_sw \
622 flower skip_sw ip_proto udp \
633 tc filter add block 10 pref 1234 handle 102 matchall skip_sw \
Ddevlink_trap_control.sh656 skip_sw action sample rate 1 group 1
671 skip_sw ip_proto udp src_port 12345 dst_port 54321 action trap
Dvxlan_flooding.sh182 dst_port 4789 skip_sw action drop
Dqos_headroom.sh325 tc filter add dev $swp egress matchall skip_sw action mirred egress mirror dev $swp
/Linux-v5.15/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh136 skip_sw action goto chain $(IS1 0)
138 flower skip_sw action goto chain $(IS1 1)
140 flower skip_sw action goto chain $(IS1 2)
142 flower skip_sw action goto chain $(IS2 0 0)
154 flower skip_sw action goto chain $(IS2 1 0)
173 protocol 802.1Q flower skip_sw vlan_id 100 \
178 flower skip_sw indev $eth1 \
182 protocol ipv4 flower skip_sw src_ip 10.1.1.2 \
187 protocol ipv4 flower skip_sw ip_proto udp dst_port 5201 \
255 protocol 802.1Q flower skip_sw vlan_id 200 \
/Linux-v5.15/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
Dswitch-driver.rst157 $ tc filter add dev eth4 ingress flower src_mac 00:01:02:03:04:05 skip_sw action trap
161 …$ tc filter add dev eth4 ingress protocol 802.1q flower skip_sw vlan_id 100 vlan_prio 3 action drop
171 $ tc filter add block 1 ingress flower dst_mac 00:01:02:03:04:04 skip_sw \
173 $ tc filter add block 1 ingress protocol ipv4 flower src_ip 192.168.1.1 skip_sw \
187 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_prio 3 action mirred egress mi…
196 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mi…
201 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mi…
204 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mi…
214 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mi…
215 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 100 action mirred egress mi…
/Linux-v5.15/net/sched/
Dcls_bpf.c148 bool skip_sw; in cls_bpf_offload_cmd() local
151 skip_sw = prog && tc_skip_sw(prog->gen_flags); in cls_bpf_offload_cmd()
164 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
170 skip_sw, &prog->gen_flags, in cls_bpf_offload_cmd()
174 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
182 if (prog && skip_sw && !(prog->gen_flags & TCA_CLS_FLAGS_IN_HW)) in cls_bpf_offload_cmd()
377 bool skip_sw; in cls_bpf_prog_from_efd() local
381 skip_sw = gen_flags & TCA_CLS_FLAGS_SKIP_SW; in cls_bpf_prog_from_efd()
383 fp = bpf_prog_get_type_dev(bpf_fd, BPF_PROG_TYPE_SCHED_CLS, skip_sw); in cls_bpf_prog_from_efd()
Dcls_matchall.c89 bool skip_sw = tc_skip_sw(head->flags); in mall_replace_hw_filter() local
104 if (skip_sw) in mall_replace_hw_filter()
113 skip_sw, &head->flags, &head->in_hw_count, true); in mall_replace_hw_filter()
122 if (skip_sw && !(head->flags & TCA_CLS_FLAGS_IN_HW)) in mall_replace_hw_filter()
Dcls_u32.c491 bool skip_sw = tc_skip_sw(flags); in u32_replace_hw_hnode() local
501 err = tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, skip_sw, true); in u32_replace_hw_hnode()
509 if (skip_sw && !offloaded) in u32_replace_hw_hnode()
535 bool skip_sw = tc_skip_sw(flags); in u32_replace_hw_knode() local
555 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSU32, &cls_u32, skip_sw, in u32_replace_hw_knode()
562 if (skip_sw && !(n->flags & TCA_CLS_FLAGS_IN_HW)) in u32_replace_hw_knode()
Dcls_flower.c448 bool skip_sw = tc_skip_sw(f->flags); in fl_hw_replace_filter() local
466 if (skip_sw) { in fl_hw_replace_filter()
474 skip_sw, &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_replace_filter()
483 if (skip_sw && !(f->flags & TCA_CLS_FLAGS_IN_HW)) in fl_hw_replace_filter()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_offload.py562 skip_sw=False, skip_hw=False, argument
571 if skip_sw:
832 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True,
863 ret, _, err = sim.cls_bpf_add_filter(bytecode, skip_sw=True,
872 skip_sw=True,
883 sim.cls_bpf_add_filter(obj, prio=1, handle=1, skip_sw=True)
884 sim.cls_bpf_add_filter(obj, op="replace", prio=1, handle=1, skip_sw=True)
895 skip_sw=(j == 1), skip_hw=(j == 2),
917 ret, _, err = sim.cls_bpf_add_filter(obj, verbose=True, skip_sw=True,
924 ret, _, err = sim.cls_bpf_add_filter(obj, verbose=True, skip_sw=True,
[all …]
/Linux-v5.15/tools/testing/selftests/tc-testing/
Dtdc_batch.py58 if args.skip_sw:
/Linux-v5.15/Documentation/networking/dsa/
Dsja1105.rst209 tc filter add dev swp2 ingress flower skip_sw dst_mac 42:be:24:9b:76:20 \
216 tc filter add dev swp2 ingress protocol 802.1Q flower skip_sw \
250 tc filter add dev swp2 ingress flower skip_sw \
284 tc filter add block 1 flower skip_sw dst_mac 42:be:24:9b:76:20 \
/Linux-v5.15/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh350 $add_del 100 "" $dev skip_sw 2>/dev/null || \
Dvxlan_bridge_1q.sh449 $add_del 100 "" $dev skip_sw 2>/dev/null || \
Dlib.sh885 flower skip_sw action trap 2>/dev/null \