Home
last modified time | relevance | path

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

12

/external/linux-kselftest/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 ethtool -s $swp3 speed 1000 autoneg off
137 vlan_create $swp3 111
138 vlan_create $swp3 222
142 ip link set dev $swp3.111 master br111
146 ip link set dev $swp3.222 master br222
165 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 …]
Dqos_mc_aware.sh126 ip link set dev $swp3 up
127 mtu_set $swp3 10000
130 vlan_create $swp3 111
132 ethtool -s $swp3 speed 1000 autoneg off
133 tc qdisc replace dev $swp3 root handle 3: \
139 ip link set dev $swp3 master br1
144 ip link set dev $swp3.111 master br111
158 devlink_port_pool_th_save $swp3 4
159 devlink_port_pool_th_set $swp3 4 12
164 devlink_port_pool_th_restore $swp3 4
[all …]
Dsch_red_ets.sh28 tc qdisc add dev $swp3 root 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 root
116 qdisc_stats_get $swp3 10: .backlog)
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 $swp2 $swp3 $swp4 $swp5; do
212 devlink_port_pool_th_save $swp3 8
213 devlink_port_pool_th_set $swp3 8 $size
221 devlink_port_pool_th_restore $swp3 8
223 tc qdisc del dev $swp3 root 2>/dev/null
230 for intf in $swp5 $swp4 $swp3 $swp2; do
234 for intf in $swp5 $swp3 $swp2 $swp4 $swp1; do
259 swp3=${NETIFS[p5]}
[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
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
Dsch_red_root.sh21 tc qdisc add dev $swp3 root handle 108: red \
29 tc qdisc del dev $swp3 root
/external/linux-kselftest/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.sh96 ip link set dev $swp3 up master br
100 mtu_set $swp3 10000
102 tc qdisc replace dev $swp3 root handle 1: tbf \
110 tc qdisc del dev $swp3 root
116 ip link set dev $swp3 down nomaster
130 swp3=${NETIFS[p5]}
163 qdisc_stats_get $swp3 11: .backlog
168 qdisc_stats_get $swp3 11: .marked
173 qdisc_stats_get $swp3 11: .packets
439 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.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
Dmirror_gre_bridge_1q.sh59 swp3=${NETIFS[p5]}
65 ip link set dev $swp3 master br1
74 bridge vlan add dev $swp3 vid 555
81 ip link set dev $swp3 nomaster
Dethtool_extended_state.sh18 swp3=$NETIF_NO_CABLE
88 ip link set dev $swp3 up
91 ethtool_extended_state_check $swp3 "No cable"
95 ip link set dev $swp3 down
Dmirror_gre_bridge_1q_lag.sh140 ip link set dev $swp3 up
148 team_create lag loadbalance $swp3 $swp4
163 ip link set dev $swp3 down
178 swp3=${NETIFS[p3]}
258 test_lag_slave $h3 $swp3 $swp4 "mirror to gretap: LAG first slave"
263 test_lag_slave $h4 $swp4 $swp3 "mirror to gretap: LAG second slave"
Dmirror_gre_bound.sh113 simple_if_init $swp3 192.0.2.129/28 2001:db8:2::1/64
116 ip link set dev ul master v$swp3
142 simple_if_fini $swp3 192.0.2.129/28 2001:db8:2::1/64
161 swp3=${NETIFS[p5]}
Dmirror_gre_lag_lacp.sh149 ip link set dev $swp3 up
151 team_create lag1 lacp $swp3 $swp4
163 ip link set dev $swp3 down
178 swp3=${NETIFS[p3]}
/external/linux-kselftest/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