Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Dqos_ets_strict.sh119 lldptool -T -i $swp3 -V ETS-CFG up2tc=0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7
120 lldptool -T -i $swp3 -V ETS-CFG tsa=$(
131 ip link set dev $swp3 up
132 mtu_set $swp3 10000
133 tc qdisc replace dev $swp3 root handle 101: tbf rate 1gbit \
138 vlan_create $swp3 111
139 vlan_create $swp3 222
143 ip link set dev $swp3.111 master br111
147 ip link set dev $swp3.222 master br222
166 devlink_tc_bind_pool_th_save $swp3 1 egress
[all …]
Dqos_pfc.sh136 devlink_port_pool_th_save $swp3 5
141 devlink_tc_bind_pool_th_save $swp3 1 egress
196 ip link set dev $swp3 up
197 mtu_set $swp3 10000
198 vlan_create $swp3 111
199 ip link set dev $swp3.111 type vlan egress-qos-map 0:0 1:1
201 devlink_port_pool_th_set $swp3 5 $_10MB
202 devlink_tc_bind_pool_th_set $swp3 1 egress 5 $_10MB
205 tc qdisc replace dev $swp3 root handle 1: \
212 dcb buffer set dev $swp3 prio-buffer all:0 1:1
[all …]
Dingress_rif_conf_1d.sh116 ip link set dev $swp3 up
117 vlan_create $swp3 10 "" 192.0.2.17/28
118 tc qdisc add dev $swp3 clsact
122 ip neigh replace dev $swp3.10 192.0.2.18 lladdr $(mac_get $h3.10)
127 tc qdisc del dev $swp3 clsact
128 vlan_destroy $swp3 10
129 ip link set dev $swp3 down
150 swp3=${NETIFS[p5]}
208 tc filter add dev $swp3 egress protocol ip pref 1 handle 101 \
214 tc_check_at_least_x_packets "dev $swp3 egress" 101 10
[all …]
Dqos_mc_aware.sh126 ip link set dev $swp3 up
127 mtu_set $swp3 10000
130 vlan_create $swp3 111
132 tc qdisc replace dev $swp3 root handle 3: tbf rate 1gbit \
134 tc qdisc replace dev $swp3 parent 3:3 handle 33: \
140 ip link set dev $swp3 master br1
145 ip link set dev $swp3.111 master br111
159 devlink_port_pool_th_save $swp3 4
160 devlink_port_pool_th_set $swp3 4 12
165 devlink_port_pool_th_restore $swp3 4
[all …]
Dingress_rif_conf_1q.sh110 ip link set dev $swp3 up
111 __addr_add_del $swp3 add 192.0.2.17/28
112 tc qdisc add dev $swp3 clsact
116 ip neigh replace dev $swp3 192.0.2.18 lladdr $(mac_get $h3)
121 tc qdisc del dev $swp3 clsact
122 __addr_add_del $swp3 del 192.0.2.17/28
123 ip link set dev $swp3 down
144 swp3=${NETIFS[p5]}
202 tc filter add dev $swp3 egress protocol ip pref 1 handle 101 \
208 tc_check_at_least_x_packets "dev $swp3 egress" 101 10
[all …]
Dsch_red_ets.sh28 tc qdisc add dev $swp3 parent 1: handle 10: $QDISC \
36 tc qdisc add dev $swp3 parent 10:8 handle 108: red \
45 tc qdisc add dev $swp3 parent 10:7 handle 107: red \
60 tc qdisc del dev $swp3 parent 10:8
65 tc qdisc del dev $swp3 parent 10:7
70 tc qdisc del dev $swp3 parent 1:
116 qdisc_stats_get $swp3 10: .backlog)
Dmirror_gre.sh29 ip address add dev $swp3 2001:db8:3::1/64
36 ip address del dev $swp3 2001:db8:3::1/64
79 swp3=${NETIFS[p5]}
85 ip address add dev $swp3 2001:db8:2::1/64
88 ip address add dev $swp3 192.0.2.129/28
103 ip address del dev $swp3 2001:db8:2::1/64
106 ip address del dev $swp3 192.0.2.129/28
Dsch_red_core.sh173 for intf in $swp1 $swp2 $swp3 $swp4 $swp5; do
186 for intf in $swp2 $swp3 $swp5; do
202 for intf in $swp3 $swp4; do
213 devlink_port_pool_th_save $swp3 8
214 devlink_port_pool_th_set $swp3 8 $size
222 devlink_port_pool_th_restore $swp3 8
229 for intf in $swp4 $swp3; do
233 for intf in $swp5 $swp3 $swp2 $swp4 $swp1; do
258 swp3=${NETIFS[p5]}
316 qdisc_stats_get $swp3 $(get_qdisc_handle $vlan) .backlog
[all …]
Degress_vid_classification.sh118 ip link set dev $swp3 up
119 vlan_create $swp3 20 "" 192.0.2.17/28
123 ip neigh replace dev $swp3.20 192.0.2.18 lladdr $(mac_get $h3.20)
128 vlan_destroy $swp3 20
129 ip link set dev $swp3 down
151 swp3=${NETIFS[p5]}
Dmirror_gre_scale.sh65 ip address add dev $swp3 $(mirror_gre_ipv6_addr 2 $i)::1/64
100 ip address del dev $swp3 $(mirror_gre_ipv6_addr 2 $i)::1/64
156 swp3=${NETIFS[p5]}
177 ip link set dev $swp3 up
184 ip link set dev $swp3 down
/linux-6.1.9/tools/testing/selftests/net/forwarding/
Dmirror_gre_vlan.sh28 swp3=${NETIFS[p5]}
34 ip link add name $swp3.555 link $swp3 type vlan id 555
35 ip address add dev $swp3.555 192.0.2.129/32
36 ip address add dev $swp3.555 2001:db8:2::1/128
37 ip link set dev $swp3.555 up
39 ip route add 192.0.2.130/32 dev $swp3.555
40 ip -6 route add 2001:db8:2::2/128 dev $swp3.555
54 ip link del dev $swp3.555
Dmirror_gre_changes.sh33 swp3=${NETIFS[p5]}
41 sysctl_set net.ipv6.conf.$swp3.keep_addr_on_down 1
43 ip address add dev $swp3 192.0.2.129/28
46 ip address add dev $swp3 2001:db8:2::1/64
55 ip address del dev $swp3 2001:db8:2::1/64
58 ip address del dev $swp3 192.0.2.129/28
60 sysctl_restore net.ipv6.conf.$swp3.keep_addr_on_down
119 ip link set dev $swp3 down
125 ip link set dev $swp3 up
126 setup_wait_dev $swp3
[all …]
Dmirror_gre_neigh.sh31 swp3=${NETIFS[p5]}
37 ip address add dev $swp3 192.0.2.129/28
40 ip address add dev $swp3 2001:db8:2::1/64
49 ip address del dev $swp3 2001:db8:2::1/64
52 ip address del dev $swp3 192.0.2.129/28
67 ip neigh replace dev $swp3 $addr lladdr 00:11:22:33:44:55
70 ip neigh del dev $swp3 $addr
Dmirror_gre_vlan_bridge_1q.sh83 swp3=${NETIFS[p5]}
103 ip link set dev $swp3 master br1
104 bridge vlan add dev $swp3 vid 555
113 ip link set dev $swp3 nomaster
193 bridge vlan del dev $swp3 vid 555
197 bridge vlan add dev $swp3 vid 555
232 bridge vlan add dev $swp3 vid 555 pvid untagged
240 bridge vlan add dev $swp3 vid 555
274 bridge fdb del dev $swp3 $h3mac vlan 555 master 2>/dev/null
314 full_test_span_gre_stp gt4 $swp3 "mirror to gretap"
[all …]
Dmirror_gre_bridge_1d_vlan.sh32 swp3=${NETIFS[p5]}
41 vlan_create $swp3 555
43 ip link set dev $swp3.555 master br2
59 vlan_destroy $swp3 555
96 full_test_span_gre_stp gt4 $swp3.555 "mirror to gretap"
103 full_test_span_gre_stp gt6 $swp3.555 "mirror to ip6gretap"
Dsch_red.sh97 ip link set dev $swp3 up master br
101 mtu_set $swp3 10000
103 tc qdisc replace dev $swp3 root handle 1: tbf \
111 tc qdisc del dev $swp3 root
117 ip link set dev $swp3 down nomaster
131 swp3=${NETIFS[p5]}
164 qdisc_stats_get $swp3 11: .backlog
169 qdisc_stats_get $swp3 11: .marked
174 qdisc_stats_get $swp3 11: .packets
440 tc qdisc replace dev $swp3 parent 1:1 handle 11: red \
[all …]
Dbridge_port_isolation.sh45 ip link set dev $swp3 master br0
51 ip link set dev $swp3 type bridge_slave isolated off
52 check_err $? "Can't disable isolation on port $swp3"
57 ip link set dev $swp3 up
62 ip link set dev $swp3 down
77 swp3=${NETIFS[p5]}
Dmirror_vlan.sh27 swp3=${NETIFS[p5]}
33 vlan_create $swp3 555
52 vlan_destroy $swp3 555
66 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"
87 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"
Dmirror_gre_flower.sh32 swp3=${NETIFS[p5]}
38 ip address add dev $swp3 192.0.2.129/28
41 ip address add dev $swp3 2001:db8:2::1/64
56 ip address del dev $swp3 2001:db8:2::1/64
59 ip address del dev $swp3 192.0.2.129/28
Dmirror_gre_nh.sh29 swp3=${NETIFS[p5]}
40 ip address add dev $swp3 192.0.2.161/28
48 ip address add dev $swp3 2001:db8:4::1/64
61 ip address del dev $swp3 2001:db8:4::1/64
64 ip address del dev $swp3 192.0.2.161/28
Dmirror_gre.sh35 swp3=${NETIFS[p5]}
41 ip address add dev $swp3 192.0.2.129/28
44 ip address add dev $swp3 2001:db8:2::1/64
53 ip address del dev $swp3 2001:db8:2::1/64
56 ip address del dev $swp3 192.0.2.129/28
Dmirror_gre_bridge_1q.sh59 swp3=${NETIFS[p5]}
67 ip link set dev $swp3 master br1
77 bridge vlan add dev $swp3 vid 555
84 ip link set dev $swp3 nomaster
Dethtool_extended_state.sh20 swp3=$NETIF_NO_CABLE
101 ip link set dev $swp3 up
103 msg=$(busywait $TIMEOUT ethtool_ext_state $swp3 "No cable")
108 ip link set dev $swp3 down
Dmirror_gre_bridge_1q_lag.sh140 ip link set dev $swp3 up
145 team_create lag loadbalance $swp3 $swp4
164 ip link set dev $swp3 down
179 swp3=${NETIFS[p3]}
259 test_lag_slave $h3 $swp3 $swp4 "mirror to gretap: LAG first slave"
264 test_lag_slave $h4 $swp4 $swp3 "mirror to gretap: LAG second slave"
/linux-6.1.9/tools/testing/selftests/net/
Dip6_gre_headroom.sh10 ip link add h3 type veth peer name swp3
20 ip link set dev swp3 up
21 ip address add dev swp3 2001:db8:2::1/64
22 ip address add dev swp3 2001:db8:2::3/64
43 ip link del dev swp3

12