Home
last modified time | relevance | path

Searched refs:swp1 (Results 26 – 50 of 129) sorted by relevance

123456

/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dmirror_vlan.sh22 swp1=${NETIFS[p2]}
39 bridge vlan add dev $swp1 vid 111
66 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"
68 mirror_uninstall $swp1 $direction
87 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"
92 mirror_uninstall $swp1 $direction
105 slow_path_trap_install $swp1 ingress
106 slow_path_trap_install $swp1 egress
112 slow_path_trap_uninstall $swp1 egress
113 slow_path_trap_uninstall $swp1 ingress
H A Dethtool_extended_state.sh18 swp1=${NETIFS[p1]}
51 ip link set dev $swp1 up
53 msg=$(busywait $TIMEOUT ethtool_ext_state $swp1 \
59 ip link set dev $swp1 down
68 ip link set dev $swp1 up
71 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0))
75 ethtool_set $swp1 speed $speed1 autoneg off
78 msg=$(busywait $TIMEOUT ethtool_ext_state $swp1 \
89 ethtool -s $swp1 autoneg on
92 ip link set dev $swp1 down
H A Dmirror_gre_bridge_1q_lag.sh132 ip link set dev $swp1 up
133 tc qdisc add dev $swp1 clsact
169 vlan_destroy $swp1 555
170 vlan_destroy $swp1 333
171 tc qdisc del dev $swp1 clsact
172 ip link set dev $swp1 down
178 swp1=${NETIFS[p2]}
232 mirror_install $swp1 ingress gt4 \
252 mirror_uninstall $swp1 ingress
270 slow_path_trap_install $swp1 ingress
[all …]
H A Dtc_vlan_modify.sh41 ip link set dev $swp1 master br0
45 ip link set dev $swp1 up
48 bridge vlan add dev $swp1 vid 85
52 bridge vlan add dev $swp1 vid 65
54 tc qdisc add dev $swp1 clsact
61 tc qdisc del dev $swp1 clsact
63 bridge vlan del vid 65 dev $swp1
67 bridge vlan del vid 85 dev $swp1
70 ip link set dev $swp1 down
78 swp1=${NETIFS[p2]}
[all …]
H A Dmirror_gre_lag_lacp.sh141 ip link set dev $swp1 up
142 tc qdisc add dev $swp1 clsact
167 vlan_destroy $swp1 555
168 vlan_destroy $swp1 333
169 tc qdisc del dev $swp1 clsact
170 ip link set dev $swp1 down
176 swp1=${NETIFS[p2]}
220 mirror_install $swp1 ingress gt4 \
236 mirror_uninstall $swp1 ingress
261 slow_path_trap_install $swp1 ingress
[all …]
H A Dbridge_mld.sh115 swp1=${NETIFS[p2]}
216 mldv2cleanup $swp1
237 mldv2cleanup $swp1
258 mldv2cleanup $swp1
272 mldv2cleanup $swp1
319 mldv2cleanup $swp1
342 mldv2cleanup $swp1
365 mldv2cleanup $swp1
388 mldv2cleanup $swp1
416 mldv2cleanup $swp1
[all …]
H A Dpedit_dsfield.sh66 ip link set dev $swp1 master br1
67 ip link set dev $swp1 up
71 tc qdisc add dev $swp1 clsact
78 tc qdisc del dev $swp1 clsact
82 ip link set dev $swp1 down
83 ip link set dev $swp1 nomaster
90 swp1=${NETIFS[p2]}
203 do_test_ip_dscp "dev $swp1 ingress"
222 do_test_ip_ecn "dev $swp1 ingress"
283 do_test_ip6_dscp "dev $swp1 ingress"
[all …]
H A Dpedit_ip.sh59 ip link set dev $swp1 master br1
60 ip link set dev $swp1 up
64 tc qdisc add dev $swp1 clsact
71 tc qdisc del dev $swp1 clsact
75 ip link set dev $swp1 down
76 ip link set dev $swp1 nomaster
83 swp1=${NETIFS[p2]}
172 do_test_pedit_ip4 "dev $swp1 ingress" "ip src" src_ip
178 do_test_pedit_ip4 "dev $swp1 ingress" "ip dst" dst_ip
184 do_test_pedit_ip6 "dev $swp1 ingress" "ip6 src" src_ip
[all …]
H A Dpedit_l4port.sh60 ip link set dev $swp1 master br1
61 ip link set dev $swp1 up
65 tc qdisc add dev $swp1 clsact
72 tc qdisc del dev $swp1 clsact
76 ip link set dev $swp1 down
77 ip link set dev $swp1 nomaster
84 swp1=${NETIFS[p2]}
171 do_test_pedit_l4port "dev $swp1 ingress" udp sport src_port
177 do_test_pedit_l4port "dev $swp1 ingress" udp dport dst_port
183 do_test_pedit_l4port "dev $swp1 ingress" tcp sport src_port
[all …]
H A Dtc_flower_port_range.sh52 ip link set dev $swp1 master br1
53 ip link set dev $swp1 up
58 tc qdisc add dev $swp1 clsact
65 tc qdisc del dev $swp1 clsact
70 ip link set dev $swp1 down
71 ip link set dev $swp1 nomaster
107 tc_check_packets "dev $swp1 ingress" 101 1
114 tc_check_packets "dev $swp1 ingress" 101 2
121 tc_check_packets "dev $swp1 ingress" 101 3
138 tc_check_packets "dev $swp1 ingress" 101 3
[all …]
H A Drouter_bridge.sh71 ip link add name br1 address $(mac_get $swp1) \
75 ip link set dev $swp1 master br1
76 ip link set dev $swp1 up
89 ip link set dev $swp1 down
90 ip link set dev $swp1 nomaster
99 ip link set dev $swp1 nomaster
101 ip link set dev $swp1 master br1
124 ip link set dev $swp1 nomaster
127 ip link set dev $swp1 master br1
134 swp1=${NETIFS[p2]}
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_l2_drops.sh48 ip link set dev $swp1 master br0
52 ip link set dev $swp1 up
63 ip link set dev $swp1 down
71 swp1=${NETIFS[p2]}
430 bridge link set dev $swp1 locked on
459 bridge link set dev $swp1 locked off
468 bridge link set dev $swp1 learning on
477 bridge link set dev $swp1 locked on
500 bridge link set dev $swp1 locked off
506 bridge link set dev $swp1 locked on
[all …]
H A Dqos_pfc.sh136 devlink_port_pool_th_save $swp1 1
164 ip link set dev $swp1 up
165 mtu_set $swp1 10000
166 vlan_create $swp1 111
254 ip link set dev $swp1.111 master br1
285 ip link set dev $swp1.111 nomaster
334 tc qdisc del dev $swp1 root
339 vlan_destroy $swp1 111
340 mtu_restore $swp1
341 ip link set dev $swp1 down
[all …]
H A Ddevlink_trap_tunnel_ipip.sh67 __addr_add_del $swp1 add 192.0.2.2/28
68 tc qdisc add dev $swp1 clsact
69 ip link set dev $swp1 up
88 ip link set dev $swp1 down
89 tc qdisc del dev $swp1 clsact
90 __addr_add_del $swp1 del 192.0.2.2/28
96 swp1=${NETIFS[p2]}
159 tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \
174 tc_check_packets "dev $swp1 egress" 101 0
192 tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \
[all …]
H A Dqos_ets_strict.sh112 ip link set dev $swp1 up
113 mtu_set $swp1 10000
136 vlan_create $swp1 111
144 ip link set dev $swp1.111 master br111
160 devlink_port_pool_th_save $swp1 0
161 devlink_port_pool_th_set $swp1 0 6
188 devlink_port_pool_th_restore $swp1 0
199 vlan_destroy $swp1 111
209 mtu_restore $swp1
210 ip link set dev $swp1 down
[all …]
H A Ddevlink_trap_tunnel_vxlan_ipv6.sh65 ip link set dev br1 address $(mac_get $swp1)
68 tc qdisc add dev $swp1 clsact
69 ip link set dev $swp1 master br1
70 ip link set dev $swp1 up
91 ip link set dev $swp1 down
92 ip link set dev $swp1 nomaster
93 tc qdisc del dev $swp1 clsact
112 swp1=${NETIFS[p2]}
186 tc_check_packets "dev $swp1 egress" 101 0
260 tc_check_packets "dev $swp1 egress" 101 0
[all …]
H A Ddevlink_trap_tunnel_vxlan.sh65 ip link set dev br1 address $(mac_get $swp1)
68 tc qdisc add dev $swp1 clsact
69 ip link set dev $swp1 master br1
70 ip link set dev $swp1 up
90 ip link set dev $swp1 down
91 ip link set dev $swp1 nomaster
92 tc qdisc del dev $swp1 clsact
111 swp1=${NETIFS[p2]}
181 tc_check_packets "dev $swp1 egress" 101 0
251 tc_check_packets "dev $swp1 egress" 101 0
[all …]
H A Ddevlink_trap_tunnel_ipip6.sh67 ip link set dev $swp1 up
68 __addr_add_del $swp1 add 2001:db8:1::2/64
69 tc qdisc add dev $swp1 clsact
89 tc qdisc del dev $swp1 clsact
90 __addr_add_del $swp1 del 2001:db8:1::2/64
91 ip link set dev $swp1 down
97 swp1=${NETIFS[p2]}
159 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \
174 tc_check_packets "dev $swp1 egress" 101 0
192 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \
[all …]
H A Dport_range_scale.sh17 simple_if_init $swp1
18 tc qdisc add dev $swp1 clsact
23 tc qdisc del dev $swp1 clsact
24 simple_if_fini $swp1
35 filter add dev $swp1 ingress \
57 offload_count=$(tc -j filter show dev $swp1 ingress |
79 swp1=${NETIFS[p2]}
H A Dtc_police_scale.sh17 simple_if_init $swp1
18 tc qdisc add dev $swp1 clsact
23 tc qdisc del dev $swp1 clsact
24 simple_if_fini $swp1
43 filter add dev $swp1 ingress \
63 offload_count=$(tc -j filter show dev $swp1 ingress |
85 swp1=${NETIFS[p2]}
H A Dingress_rif_conf_vxlan.sh82 ip link set dev br1 address $(mac_get $swp1)
88 ip link set dev $swp1 master br1
89 ip link set dev $swp1 up
92 tc qdisc add dev $swp1 clsact
134 tc qdisc del dev $swp1 clsact
136 bridge vlan del vid 10 dev $swp1
137 ip link set dev $swp1 down
138 ip link set dev $swp1 nomaster
169 swp1=${NETIFS[p2]}
267 tc filter del dev $swp1 egress
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh15 swp1=${NETIFS[p2]}
141 ip link set $swp1 up
146 create_tcam_skeleton $swp1
149 ip link set $swp1 master br0
183 tc qdisc del dev $swp1 clsact
244 bridge vlan add dev $swp1 vid 200
245 bridge vlan add dev $swp1 vid 300
268 bridge vlan del dev $swp1 vid 200
269 bridge vlan del dev $swp1 vid 300
286 bridge vlan add dev $swp1 vid 200
[all …]
H A Dbasic_qos.sh19 swp1=${NETIFS[p2]}
108 ip link set ${swp1} up
113 ip link set ${swp1} master br0
166 ipv4_after=$(ethtool_stats_get ${swp1} "${counter_name}")
177 ipv6_after=$(ethtool_stats_get ${swp1} "${counter_name}")
203 local orig=$(port_default_prio_get ${swp1})
206 dcb app replace dev ${swp1} default-prio 5
210 dcb app replace dev ${swp1} default-prio ${orig}
224 local port_default=$(port_default_prio_get ${swp1})
227 dcb app add dev ${swp1} dscp-prio CS4:4
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_mld.sh115 swp1=${NETIFS[p2]}
216 mldv2cleanup $swp1
237 mldv2cleanup $swp1
258 mldv2cleanup $swp1
272 mldv2cleanup $swp1
319 mldv2cleanup $swp1
342 mldv2cleanup $swp1
365 mldv2cleanup $swp1
388 mldv2cleanup $swp1
416 mldv2cleanup $swp1
[all …]
/openbmc/qemu/tests/rocker/
H A Dtut.dot4 sw1:swp1 -- h1:swp1;
5 sw1:swp2 -- h2:swp1;
6 sw1:swp3 -- h3:swp1;
7 sw1:swp4 -- h4:swp1;

123456