Home
last modified time | relevance | path

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

12

/linux/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 action sample rate 100 group 1
[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_ets.sh10 TCFLAGS=skip_sw
H A Dsch_tbf_prio.sh10 TCFLAGS=skip_sw
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
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 Dport_range_scale.sh38 flower skip_sw \
H A Dtc_police_scale.sh46 flower skip_sw dst_ip $(tc_police_addr $i) \
H A Done_armed_router.sh144 skip_sw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
187 skip_sw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
H A Dingress_rif_conf_vxlan.sh255 flower skip_sw dst_ip 192.0.2.1 action pass
286 flower skip_sw dst_ip 192.0.2.1 action pass
H A Dmirror_gre_scale.sh82 flower skip_sw dst_ip $match_dip \
H A 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
/linux/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_id 200 src_mac $h1_mac \
[all …]
H A Dpsfp.sh61 skip_sw action goto chain $(PSFP)
132 protocol 802.1Q flower skip_sw \
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A 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/net/sched/
H A Dcls_bpf.c150 bool skip_sw; in cls_bpf_offload_cmd() local
153 skip_sw = prog && tc_skip_sw(prog->gen_flags); in cls_bpf_offload_cmd()
166 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
172 skip_sw, &prog->gen_flags, in cls_bpf_offload_cmd()
176 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
184 if (prog && skip_sw && !(prog->gen_flags & TCA_CLS_FLAGS_IN_HW)) in cls_bpf_offload_cmd()
379 bool skip_sw; in cls_bpf_prog_from_efd() local
383 skip_sw = gen_flags & TCA_CLS_FLAGS_SKIP_SW; in cls_bpf_prog_from_efd()
385 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()
H A Dcls_u32.c508 bool skip_sw = tc_skip_sw(flags); in u32_replace_hw_hnode() local
518 err = tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, skip_sw, true); in u32_replace_hw_hnode()
526 if (skip_sw && !offloaded) in u32_replace_hw_hnode()
552 bool skip_sw = tc_skip_sw(flags); in u32_replace_hw_knode() local
572 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSU32, &cls_u32, skip_sw, in u32_replace_hw_knode()
579 if (skip_sw && !(n->flags & TCA_CLS_FLAGS_IN_HW)) in u32_replace_hw_knode()
/linux/tools/testing/selftests/net/
H A Dbpf_offload.py457 flags = ["skip_sw", "skip_hw", "in_hw"]
504 skip_sw=False, skip_hw=False, argument
513 if skip_sw:
514 params += " skip_sw"
776 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True,
807 ret, _, err = sim.cls_bpf_add_filter(bytecode, skip_sw=True,
816 skip_sw=True,
827 sim.cls_bpf_add_filter(obj, prio=1, handle=1, skip_sw=True)
828 sim.cls_bpf_add_filter(obj, op="replace", prio=1, handle=1, skip_sw=True)
839 skip_sw
[all...]
/linux/tools/testing/selftests/tc-testing/
H A Dtdc_batch.py58 if args.skip_sw:

12