Home
last modified time | relevance | path

Searched full:swp3 (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/
Dqos_ets_strict.sh28 # | | $swp3.111 + | | + $swp3.222 | |
32 # | + $swp3 |
119 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
145 ip link set dev $swp3.111 master br111
[all …]
Dqos_pfc.sh8 # - the stream first ingresses through $swp1, where it is forwarded to $swp3
13 # fills, and $swp3 is paused.
15 # - since $swp3 now can't send traffic, the traffic ingressing $swp1 is kept at
20 # traffic to the pool, and $swp3 is unpaused again. This way the traffic is
40 # | + $swp1 $swp3 + + $swp4 |
46 # | | + $swp1.111 $swp3.111 + | | + $swp4.111 | |
135 devlink_port_pool_th_save $swp3 5
140 devlink_tc_bind_pool_th_save $swp3 1 egress
192 # $swp3
195 ip link set dev $swp3 up
[all …]
Dqos_mc_aware.sh21 # qdisc is installed on $swp3 and maps all priorities to the same band #7 (and
43 # | | $swp3.1 + | | + $swp3.111 | |
47 # | + $swp3 |
126 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: \
141 ip link set dev $swp3 master br1
147 ip link set dev $swp3.111 master br111
[all …]
Dingress_rif_conf_1d.sh27 # | $swp3.10 + |
30 # | $swp3 + |
115 ip link set dev $swp3 up
116 vlan_create $swp3 10 "" 192.0.2.17/28
117 tc qdisc add dev $swp3 clsact
121 ip neigh replace dev $swp3.10 192.0.2.18 lladdr $(mac_get $h3.10)
126 tc qdisc del dev $swp3 clsact
127 vlan_destroy $swp3 10
128 ip link set dev $swp3 down
149 swp3=${NETIFS[p5]}
[all …]
Dingress_rif_conf_1q.sh30 # | $swp3 + |
110 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 \
[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)
Dsch_red_core.sh5 # switch and forwarded to the port under test $swp3, which is also 1Gbps.
7 # This way, $swp3 should be 100% filled with traffic without any of it spilling
11 # A RED Qdisc is installed on $swp3. The configuration is such that the minimum
18 # In order to test WRED, $swp3 actually contains RED under PRIO, with two
46 # | +-|-----------------+ | | | + $swp3.10 | | |
54 # | | +-----------------|-+ | | | | $swp3.11 + | |
58 # | + $swp4 + $swp5 + $swp3 |
128 # e.g. traffic ingressing through $swp2 is flooded to $swp3 (the
134 # cause packets to fail to queue up at $swp3 due to shared buffer
172 for intf in $swp1 $swp2 $swp3 $swp4 $swp5; do
[all …]
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
Degress_vid_classification.sh28 # | $swp3.20 + |
31 # | $swp3 + |
117 ip link set dev $swp3 up
118 vlan_create $swp3 20 "" 192.0.2.17/28
122 ip neigh replace dev $swp3.20 192.0.2.18 lladdr $(mac_get $h3.20)
127 vlan_destroy $swp3 20
128 ip link set dev $swp3 down
150 swp3=${NETIFS[p5]}
/Linux-v6.6/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]}
39 # This test downs $swp3, which deletes the configured IPv6 address
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
120 ip link set dev $swp3 down
126 ip link set dev $swp3 up
[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_bridge_1d_vlan.sh32 swp3=${NETIFS[p5]}
38 ip link add name br2 address $(mac_get $swp3) \
42 vlan_create $swp3 555
44 ip link set dev $swp3.555 master br2
60 vlan_destroy $swp3 555
97 full_test_span_gre_stp gt4 $swp3.555 "mirror to gretap"
104 full_test_span_gre_stp gt6 $swp3.555 "mirror to ip6gretap"
Dmirror_gre_vlan_bridge_1q.sh19 # | | + $swp3 | |
83 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
[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]}
Dsch_red.sh5 # within TBF shaper on $swp3. The two shapers have the same configuration, and
7 # shaper. A second stream is sent from H2 also via $swp3, and used to inject
24 # | | + $swp3 | |
97 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
[all …]
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.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_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
Drouter_bridge_lag.sh18 # | + $swp1 + $swp4 + $swp2 + $swp3 |
154 ip link set dev $swp3 master lag3
156 ip link set dev $swp3 up
163 ip link set dev $swp3 down
165 ip link set dev $swp3 nomaster
223 config_deslave $swp3
254 config_enslave $swp3 lag3
276 swp3=${NETIFS[p5]}
Dmirror_gre_bridge_1q_lag.sh38 # | + $swp3 + $swp4 |
140 ip link set dev $swp3 up
143 ip link add name br1 address $(mac_get $swp3) \
146 team_create lag loadbalance $swp3 $swp4
165 ip link set dev $swp3 down
180 swp3=${NETIFS[p3]}
260 test_lag_slave $h3 $swp3 $swp4 "mirror to gretap: LAG first slave"
265 test_lag_slave $h4 $swp4 $swp3 "mirror to gretap: LAG second slave"
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
Drouter_bridge_1d_lag.sh47 # | + $swp2 + $swp3 |
226 ip link set dev $swp3 master lag3
228 ip link set dev $swp3 up
245 ip link set dev $swp3 down
247 ip link set dev $swp3 nomaster
306 config_deslave $swp3
337 config_enslave $swp3 lag3
359 swp3=${NETIFS[p5]}
/Linux-v6.6/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