Home
last modified time | relevance | path

Searched refs:swp1 (Results 1 – 25 of 129) sorted by relevance

123456

/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Drtnetlink.sh205 ip link add link $swp1 name $swp1.1 type vlan id 1
227 ip link add link $swp1 name $swp1.10 type vlan id 10
379 ip link add link $swp1 name $swp1.10 type vlan id 10
380 ip link add link $swp1 name $swp1.20 type vlan id 20
381 ip link add link $swp1 name $swp1.30 type vlan id 30
439 ip link add link $swp1 name $swp1.10 type vlan id 10
443 ip link add link $swp1 name $swp1.20 type vlan id 20
537 dev $swp1
663 dev $swp1
675 dev $swp1
[all …]
H A Dtc_restrictions.sh27 simple_if_init $swp1 192.0.2.1/24
34 simple_if_fini $swp1 192.0.2.1/24
68 tc qdisc del dev $swp1 clsact
80 tc qdisc del dev $swp1 clsact
118 tc qdisc del dev $swp1 clsact
135 tc qdisc del dev $swp1 clsact
147 tc qdisc add dev $swp1 clsact
162 tc qdisc del dev $swp1 clsact
175 tc qdisc add dev $swp1 clsact
187 tc qdisc del dev $swp1 clsact
[all …]
H A Dethtool_lanes.sh18 swp1=${NETIFS[p1]}
21 ip link set dev $swp1 up
27 local lanes_exist=$(ethtool $swp1 | grep 'Lanes:')
34 ip link set dev $swp1 down
123 ip link set dev $swp1 up
128 check_lanes $swp1 $lanes $max_speed
138 ip link set dev $swp1 down
161 ip link set dev $swp1 up
166 check_lanes $swp1 $lanes $max_speed
176 ip link set dev $swp1 down
[all …]
H A Dqos_defprio.sh44 ip link set dev $swp1 up
45 ip addr add dev $swp1 192.0.2.2/28
50 dcb app flush dev $swp1 default-prio
51 ip addr del dev $swp1 192.0.2.2/28
52 ip link set dev $swp1 down
58 swp1=${NETIFS[p2]}
91 dcb app add dev $swp1 default-prio $prio_install
96 ethtool_stats_get $swp1 rx_frames_prio_$prio_observe)
101 dcb app del dev $swp1 default-prio $prio_install
112 dcb app add dev $swp1 default-prio 3
[all …]
H A Dq_in_q_veto.sh25 swp1=${NETIFS[p1]}
28 ip link set dev $swp1 up
39 ip link set dev $swp1 down
74 ip link add name $swp1.100 link $swp1 type vlan \
78 ip link add name $swp1.100 link $swp1 type vlan \
97 ip link add name $swp1.100 link $swp1 type vlan \
101 ip link add name $swp1.100 link $swp1 type vlan \
116 ip link set dev $swp1 down
165 ip link add name $swp1.100 link $swp1 type vlan id 100 2>/dev/null
168 ip link add name $swp1.100 link $swp1 type vlan id 100 2>&1 >/dev/null \
[all …]
H A Dqos_max_descriptors.sh106 devlink_port_pool_th_save $swp1 1
118 ip link set dev $swp1 up
119 vlan_create $swp1 111
122 devlink_port_pool_th_set $swp1 1 16
148 ip link set dev $swp1.111 master br1
167 ip link set dev $swp1.111 nomaster
186 tc qdisc del dev $swp1 root
189 devlink_port_pool_th_restore $swp1 1
191 vlan_destroy $swp1 111
192 ip link set dev $swp1 down
[all …]
H A Degress_vid_classification.sh101 ip link set dev $swp1 up
102 tc qdisc add dev $swp1 clsact
138 tc qdisc del dev $swp1 clsact
139 ip link set dev $swp1 down
145 swp1=${NETIFS[p2]}
202 vlan_create $swp1 10
223 tc filter del dev $swp1 egress
227 vlan_destroy $swp1 10
238 vlan_create $swp1 10
258 tc filter del dev $swp1 egress
[all …]
H A Dport_range_occ.sh29 simple_if_init $swp1
30 tc qdisc add dev $swp1 clsact
35 tc qdisc del dev $swp1 clsact
36 simple_if_fini $swp1
42 swp1=${NETIFS[p2]}
73 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
79 tc filter add dev $swp1 ingress pref 1 handle 102 proto ip \
91 tc filter del dev $swp1 ingress pref 2 handle 104 flower
92 tc filter del dev $swp1 ingress pref 2 handle 103 flower
93 tc filter del dev $swp1 ingress pref 1 handle 102 flower
[all …]
H A Drif_lag.sh19 swp1=${NETIFS[p1]}
30 ip link set dev $swp1 master lag1
31 ip link set dev $swp1 up
44 ip link set dev $swp1 nomaster
45 ip link set dev $swp1 down
72 ip link set dev $swp1 nomaster
88 ip link set dev $swp1 down
89 ip link set dev $swp1 master lag1
90 ip link set dev $swp1 up
91 setup_wait_dev $swp1
[all …]
H A Drif_lag_vlan.sh19 swp1=${NETIFS[p1]}
30 ip link set dev $swp1 master lag1
31 ip link set dev $swp1 up
53 ip link set dev $swp1 nomaster
54 ip link set dev $swp1 down
82 ip link set dev $swp1 nomaster
98 ip link set dev $swp1 down
99 ip link set dev $swp1 master lag1
100 ip link set dev $swp1 up
101 setup_wait_dev $swp1
[all …]
H A Dtc_police_occ.sh28 simple_if_init $swp1
29 tc qdisc add dev $swp1 clsact
34 tc qdisc del dev $swp1 clsact
35 simple_if_fini $swp1
41 swp1=${NETIFS[p2]}
70 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
76 tc filter del dev $swp1 ingress pref 1 handle 101 flower
80 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
84 tc filter add dev $swp1 ingress pref 2 handle 102 proto ip \
90 tc filter del dev $swp1 ingress pref 2 handle 102 flower
[all …]
H A Dtc_action_hw_stats.sh30 simple_if_init $swp1 192.0.2.2/24
31 tc qdisc add dev $swp1 clsact
36 tc qdisc del dev $swp1 clsact
37 simple_if_fini $swp1 192.0.2.2/24
51 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
63 tc_check_packets "dev $swp1 ingress" 101 $expected_packet_count
66 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
85 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
100 swp1=${NETIFS[p2]}
103 swp1mac=$(mac_get $swp1)
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_locked_port.sh47 ip link set dev $swp1 master br0
53 ip link set dev $swp1 up
60 ip link set dev $swp1 down
68 swp1=${NETIFS[p2]}
102 bridge link set dev $swp1 locked on
112 bridge link set dev $swp1 locked off
127 bridge vlan add vid 100 dev $swp1
133 bridge link set dev $swp1 locked on
148 bridge vlan del vid 100 dev $swp1
330 tc qdisc add dev $swp1 clsact
[all …]
H A Dbridge_mdb_max.sh74 ip link set dev $swp1 master br0
75 ip link set dev $swp1 up
95 ip link set dev $swp1 master br0
96 ip link set dev $swp1 up
98 bridge vlan add vid 10 dev $swp1
99 bridge vlan add vid 20 dev $swp1
121 ip link set dev $swp1 down
122 ip link set dev $swp1 nomaster
131 swp1=${NETIFS[p2]}
652 local locus0="dev $swp1"
[all …]
H A Dtc_actions.sh42 simple_if_init $swp1 192.0.2.2/24
43 tc qdisc add dev $swp1 clsact
52 tc qdisc del dev $swp1 clsact
53 simple_if_fini $swp1 192.0.2.2/24
101 tc_check_packets "dev $swp1 ingress" 102 1
110 tc_check_packets "dev $swp1 ingress" 101 1
113 tc_check_packets "dev $swp1 ingress" 102 2
250 swp1=${NETIFS[p2]}
258 swp1origmac=$(mac_get $swp1)
260 ip link set $swp1 address $h2mac
[all …]
H A Dtc_tunnel_key.sh47 simple_if_init $swp1 192.0.2.2/24
48 tc qdisc add dev $swp1 clsact
55 tc qdisc del dev $swp1 clsact
56 simple_if_fini $swp1 192.0.2.2/24
62 swp1=${NETIFS[p2]}
70 swp1origmac=$(mac_get $swp1)
72 ip link set $swp1 address $h2mac
98 ip link set $swp1 address $swp1origmac
120 tc_check_packets "dev $swp1 ingress" 100 1
124 tc_check_packets "dev $swp1 ingress" 100 1
[all …]
H A Dmirror_gre.sh30 swp1=${NETIFS[p2]}
83 mirror_uninstall $swp1 $direction
92 mirror_install $swp1 ingress gt4 "matchall $tcflags"
93 mirror_install $swp1 egress gt6 "matchall $tcflags"
97 mirror_uninstall $swp1 ingress
102 mirror_uninstall $swp1 egress
106 mirror_uninstall $swp1 ingress
136 slow_path_trap_install $swp1 ingress
137 slow_path_trap_install $swp1 egress
141 slow_path_trap_uninstall $swp1 egress
[all …]
H A Drouter_bridge_1d.sh83 ip link set dev $swp1 up
85 vlan_create $swp1 100
92 vlan_create $swp1 200
111 ip link set dev $swp1.200 nomaster
113 vlan_destroy $swp1 200
116 ip link set dev $swp1.100 nomaster
118 vlan_destroy $swp1 100
120 ip link set dev $swp1 down
127 ip link set dev $swp1.100 nomaster
128 ip link set dev $swp1.200 nomaster
[all …]
H A Dmirror_gre_changes.sh28 swp1=${NETIFS[p2]}
75 mirror_install $swp1 ingress $tundev \
88 mirror_uninstall $swp1 ingress
107 mirror_uninstall $swp1 ingress
131 mirror_uninstall $swp1 ingress
152 mirror_uninstall $swp1 ingress
178 mirror_uninstall $swp1 ingress
181 mirror_uninstall $swp1 ingress
204 mirror_uninstall $swp1 ingress
249 slow_path_trap_install $swp1 ingress
[all …]
H A Dbridge_mdb.sh73 ip link set dev $swp1 master br0
74 ip link set dev $swp1 up
75 bridge vlan add vid 10 dev $swp1
76 bridge vlan add vid 20 dev $swp1
97 bridge vlan del vid 20 dev $swp1
99 ip link set dev $swp1 down
100 ip link set dev $swp1 nomaster
111 swp1=${NETIFS[p2]}
239 ip link set dev $swp1 down
249 ip link set dev $swp1 up
[all …]
H A Dbridge_vlan_aware.sh36 ip link set dev $swp1 master br0
40 ip link set dev $swp1 up
47 ip link set dev $swp1 down
55 swp1=${NETIFS[p2]}
92 learning_test "br0" $swp1 $h1 $h2
104 log_info "Add and delete a VLAN on bridge port $swp1"
106 bridge vlan add vid 10 dev $swp1
107 bridge vlan del vid 10 dev $swp1
121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_locked_port.sh47 ip link set dev $swp1 master br0
53 ip link set dev $swp1 up
60 ip link set dev $swp1 down
68 swp1=${NETIFS[p2]}
102 bridge link set dev $swp1 locked on
112 bridge link set dev $swp1 locked off
127 bridge vlan add vid 100 dev $swp1
133 bridge link set dev $swp1 locked on
148 bridge vlan del vid 100 dev $swp1
330 tc qdisc add dev $swp1 clsact
[all …]
H A Dtc_actions.sh42 simple_if_init $swp1 192.0.2.2/24
43 tc qdisc add dev $swp1 clsact
52 tc qdisc del dev $swp1 clsact
53 simple_if_fini $swp1 192.0.2.2/24
101 tc_check_packets "dev $swp1 ingress" 102 1
110 tc_check_packets "dev $swp1 ingress" 101 1
113 tc_check_packets "dev $swp1 ingress" 102 2
250 swp1=${NETIFS[p2]}
258 swp1origmac=$(mac_get $swp1)
260 ip link set $swp1 address $h2mac
[all …]
H A Dbridge_mdb.sh73 ip link set dev $swp1 master br0
74 ip link set dev $swp1 up
75 bridge vlan add vid 10 dev $swp1
76 bridge vlan add vid 20 dev $swp1
97 bridge vlan del vid 20 dev $swp1
99 ip link set dev $swp1 down
100 ip link set dev $swp1 nomaster
111 swp1=${NETIFS[p2]}
239 ip link set dev $swp1 down
249 ip link set dev $swp1 up
[all …]
H A Dbridge_vlan_aware.sh36 ip link set dev $swp1 master br0
40 ip link set dev $swp1 up
47 ip link set dev $swp1 down
55 swp1=${NETIFS[p2]}
92 learning_test "br0" $swp1 $h1 $h2
104 log_info "Add and delete a VLAN on bridge port $swp1"
106 bridge vlan add vid 10 dev $swp1
107 bridge vlan del vid 10 dev $swp1
121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
[all …]

123456