Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh45 skip_sw dst_ip 192.0.2.2 action drop
62 skip_sw dst_ip 192.0.2.2 action drop
71 skip_sw dst_ip 192.0.2.2 action drop
93 skip_sw dst_ip 192.0.2.2 \
111 skip_sw dst_ip 192.0.2.2 \
121 skip_sw dst_ip 192.0.2.2 \
128 skip_sw dst_ip 192.0.2.2 \
147 skip_sw dst_ip 192.0.2.2 \
154 skip_sw dst_ip 192.0.2.2 \
174 matchall skip_sw actio
[all...]
H A Dtc_police_occ.sh71 flower skip_sw \
81 flower skip_sw \
85 flower skip_sw action police index 10
H A 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
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh48 skip_sw dst_ip 192.0.2.2 action drop
65 skip_sw dst_ip 192.0.2.2 action drop
74 skip_sw dst_ip 192.0.2.2 action drop
96 skip_sw dst_ip 192.0.2.2 \
114 skip_sw dst_ip 192.0.2.2 \
124 skip_sw dst_ip 192.0.2.2 \
131 skip_sw dst_ip 192.0.2.2 \
150 skip_sw dst_ip 192.0.2.2 \
157 skip_sw dst_ip 192.0.2.2 \
178 matchall skip_sw actio
[all...]
H A Dtc_sample.sh233 skip_sw action sample rate 32 group 1
264 skip_sw action sample rate $((35 * 10 ** 8)) group 1
270 skip_sw action sample rate $((35 * 10 ** 8 + 1)) \
285 skip_sw action sample rate 1024 group 1
289 skip_sw action sample rate 1024 group 1 &> /dev/null
298 skip_sw action sample rate 1024 group 1
314 skip_sw action sample rate 1024 group 1
318 skip_sw action sample rate 1024 group 2 &> /dev/null
333 skip_sw action sample rate 5 group 1
359 skip_sw actio
[all...]
H A Dport_range_occ.sh74 flower skip_sw ip_proto udp src_port 1-100 dst_port 1-100 \
80 flower skip_sw ip_proto tcp src_port 1-100 dst_port 1-100 \
83 flower skip_sw ip_proto udp src_port 1-100 dst_port 1-100 \
86 flower skip_sw ip_proto tcp src_port 1-100 dst_port 1-100 \
H A Dtc_police_occ.sh71 flower skip_sw \
81 flower skip_sw \
85 flower skip_sw action police index 10
H A Drif_mac_profiles.sh113 flower skip_sw ip_proto udp src_port 12345 dst_port 54321 \
119 flower skip_sw src_mac $smac ip_proto udp src_port 12345 \
148 flower skip_sw ip_proto udp src_port 54321 dst_port 12345 \
152 flower skip_sw src_mac $rp1_mac ip_proto udp src_port 54321 \
H A 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
H A Dsch_tbf_root.sh10 TCFLAGS=skip_sw
H A Dsch_tbf_prio.sh10 TCFLAGS=skip_sw
H A Dsch_tbf_ets.sh10 TCFLAGS=skip_sw
H A Dsch_red_core.sh677 tc filter add block 10 pref 1234 handle 102 matchall skip_sw \
698 flower skip_sw ip_proto udp \
713 flower skip_sw ip_proto tcp \
725 tc filter add block 10 pref 1234 handle 102 matchall skip_sw \
753 tc filter add block 10 pref 1234 handle 102 matchall skip_sw \
H A Degress_vid_classification.sh213 flower skip_sw dst_ip 192.0.2.1 action pass
248 flower skip_sw dst_ip 192.0.2.1 action pass
H A Dingress_rif_conf_1q.sh203 flower skip_sw dst_ip 192.0.2.18 action pass
238 flower skip_sw dst_ip 192.0.2.18 action pass
H A Dingress_rif_conf_1d.sh208 flower skip_sw dst_ip 192.0.2.18 action pass
239 flower skip_sw dst_ip 192.0.2.18 action pass
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/ocelot/
H A 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_i
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh118 skip_sw action goto chain $(IS1 0)
120 flower skip_sw action goto chain $(IS1 1)
122 flower skip_sw action goto chain $(IS1 2)
124 flower skip_sw action goto chain $(IS2 0 0)
136 flower skip_sw action goto chain $(IS2 1 0)
160 protocol 802.1Q flower skip_sw vlan_id 100 \
165 flower skip_sw indev $swp2 \
169 protocol ipv4 flower skip_sw src_ip 10.1.1.2 \
174 protocol ipv4 flower skip_sw ip_proto udp dst_port 5201 \
249 protocol 802.1Q flower skip_sw vlan_i
[all...]
H A Dpsfp.sh61 skip_sw action goto chain $(PSFP)
132 protocol 802.1Q flower skip_sw \
/kernel/linux/linux-5.10/net/sched/
H A Dcls_bpf.c151 bool skip_sw; in cls_bpf_offload_cmd() local
154 skip_sw = prog && tc_skip_sw(prog->gen_flags); in cls_bpf_offload_cmd()
167 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
173 skip_sw, &prog->gen_flags, in cls_bpf_offload_cmd()
177 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
185 if (prog && skip_sw && !(prog->gen_flags & TCA_CLS_FLAGS_IN_HW)) in cls_bpf_offload_cmd()
380 bool skip_sw; in cls_bpf_prog_from_efd() local
384 skip_sw = gen_flags & TCA_CLS_FLAGS_SKIP_SW; in cls_bpf_prog_from_efd()
386 fp = bpf_prog_get_type_dev(bpf_fd, BPF_PROG_TYPE_SCHED_CLS, skip_sw); in cls_bpf_prog_from_efd()
H A 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()
/kernel/linux/linux-6.6/net/sched/
H A Dcls_bpf.c152 bool skip_sw; in cls_bpf_offload_cmd() local
155 skip_sw = prog && tc_skip_sw(prog->gen_flags); in cls_bpf_offload_cmd()
168 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
174 skip_sw, &prog->gen_flags, in cls_bpf_offload_cmd()
178 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
186 if (prog && skip_sw && !(prog->gen_flags & TCA_CLS_FLAGS_IN_HW)) in cls_bpf_offload_cmd()
381 bool skip_sw; in cls_bpf_prog_from_efd() local
385 skip_sw = gen_flags & TCA_CLS_FLAGS_SKIP_SW; in cls_bpf_prog_from_efd()
387 fp = bpf_prog_get_type_dev(bpf_fd, BPF_PROG_TYPE_SCHED_CLS, skip_sw); in cls_bpf_prog_from_efd()
H A Dcls_matchall.c91 bool skip_sw = tc_skip_sw(head->flags); in mall_replace_hw_filter() local
108 return skip_sw ? err : 0; in mall_replace_hw_filter()
112 skip_sw, &head->flags, &head->in_hw_count, true); in mall_replace_hw_filter()
121 if (skip_sw && !(head->flags & TCA_CLS_FLAGS_IN_HW)) in mall_replace_hw_filter()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_offload.py515 flags = ["skip_sw", "skip_hw", "in_hw"]
562 skip_sw=False, skip_hw=False,
571 if skip_sw:
572 params += " 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, variable
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 variable
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_offload.py515 flags = ["skip_sw", "skip_hw", "in_hw"]
562 skip_sw=False, skip_hw=False,
571 if skip_sw:
572 params += " skip_sw"
834 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True,
865 ret, _, err = sim.cls_bpf_add_filter(bytecode, skip_sw=True,
874 skip_sw=True, variable
885 sim.cls_bpf_add_filter(obj, prio=1, handle=1, skip_sw=True)
886 sim.cls_bpf_add_filter(obj, op="replace", prio=1, handle=1, skip_sw=True)
897 skip_sw variable
[all...]

Completed in 14 milliseconds

123