Home
last modified time | relevance | path

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

1234

/linux/tools/testing/selftests/drivers/net/mlxsw/
A Drtnetlink.sh205 ip link add link $swp1 name $swp1.1 type vlan id 1
254 ip link add link $swp1 name $swp1.10 type vlan id 10
406 ip link add link $swp1 name $swp1.10 type vlan id 10
407 ip link add link $swp1 name $swp1.20 type vlan id 20
408 ip link add link $swp1 name $swp1.30 type vlan id 30
466 ip link add link $swp1 name $swp1.10 type vlan id 10
470 ip link add link $swp1 name $swp1.20 type vlan id 20
567 dev $swp1
693 dev $swp1
705 dev $swp1
[all …]
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 …]
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 …]
A Dq_in_q_veto.sh25 swp1=${NETIFS[p1]}
28 ip link set dev $swp1 up
39 ip link set dev $swp1 down
73 ip link add name $swp1.100 link $swp1 type vlan \
77 ip link add name $swp1.100 link $swp1 type vlan \
95 ip link add name $swp1.100 link $swp1 type vlan \
99 ip link add name $swp1.100 link $swp1 type vlan \
114 ip link set dev $swp1 down
162 ip link add name $swp1.100 link $swp1 type vlan id 100 2>/dev/null
165 ip link add name $swp1.100 link $swp1 type vlan id 100 2>&1 >/dev/null \
[all …]
A Dqos_defprio.sh80 ip link set dev $swp1 up
81 ip addr add dev $swp1 192.0.2.2/28
86 defprio_flush $swp1
87 ip addr del dev $swp1 192.0.2.2/28
88 ip link set dev $swp1 down
94 swp1=${NETIFS[p2]}
127 defprio_install $swp1 $prio_install
132 ethtool_stats_get $swp1 rx_frames_prio_$prio_observe)
137 defprio_uninstall $swp1 $prio_install
148 defprio_install $swp1 3
[all …]
A Dqos_pfc.sh134 devlink_port_pool_th_save $swp1 1
162 ip link set dev $swp1 up
163 mtu_set $swp1 10000
164 vlan_create $swp1 111
239 ip link set dev $swp1.111 master br1
270 ip link set dev $swp1.111 nomaster
319 tc qdisc del dev $swp1 root
324 vlan_destroy $swp1 111
325 mtu_restore $swp1
326 ip link set dev $swp1 down
[all …]
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 …]
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)
A Dqos_ets_strict.sh112 ip link set dev $swp1 up
113 mtu_set $swp1 10000
135 vlan_create $swp1 111
141 ip link set dev $swp1.111 master br111
155 devlink_port_pool_th_save $swp1 0
156 devlink_port_pool_th_set $swp1 0 6
183 devlink_port_pool_th_restore $swp1 0
194 vlan_destroy $swp1 111
204 mtu_restore $swp1
205 ip link set dev $swp1 down
[all …]
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 …]
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
249 tc_check_packets "dev $swp1 egress" 101 0
[all …]
A Dqos_mc_aware.sh120 ip link set dev $swp1 up
121 mtu_set $swp1 10000
138 ip link set dev $swp1 master br1
148 devlink_port_pool_th_save $swp1 0
149 devlink_port_pool_th_set $swp1 0 5
150 devlink_tc_bind_pool_th_save $swp1 0 ingress
151 devlink_tc_bind_pool_th_set $swp1 0 ingress 0 5
170 devlink_port_pool_th_restore $swp1 0
187 mtu_restore $swp1
188 ip link set dev $swp1 down
[all …]
/linux/tools/testing/selftests/net/forwarding/
A Dtc_actions.sh39 simple_if_init $swp1 192.0.2.2/24
40 tc qdisc add dev $swp1 clsact
49 tc qdisc del dev $swp1 clsact
50 simple_if_fini $swp1 192.0.2.2/24
98 tc_check_packets "dev $swp1 ingress" 102 1
107 tc_check_packets "dev $swp1 ingress" 101 1
110 tc_check_packets "dev $swp1 ingress" 102 2
204 swp1=${NETIFS[p2]}
212 swp1origmac=$(mac_get $swp1)
214 ip link set $swp1 address $h2mac
[all …]
A Dmirror_gre_changes.sh28 swp1=${NETIFS[p2]}
87 mirror_uninstall $swp1 ingress
106 mirror_uninstall $swp1 ingress
130 mirror_uninstall $swp1 ingress
151 mirror_uninstall $swp1 ingress
177 mirror_uninstall $swp1 ingress
180 mirror_uninstall $swp1 ingress
203 mirror_uninstall $swp1 ingress
248 slow_path_trap_install $swp1 ingress
249 slow_path_trap_install $swp1 egress
[all …]
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 …]
A Dmirror_gre_bridge_1q_lag.sh132 ip link set dev $swp1 up
133 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]}
230 mirror_install $swp1 ingress gt4 \
250 mirror_uninstall $swp1 ingress
268 slow_path_trap_install $swp1 ingress
[all …]
A Dbridge_vlan_aware.sh35 ip link set dev $swp1 master br0
39 ip link set dev $swp1 up
46 ip link set dev $swp1 down
54 swp1=${NETIFS[p2]}
91 learning_test "br0" $swp1 $h1 $h2
103 log_info "Add and delete a VLAN on bridge port $swp1"
105 bridge vlan add vid 10 dev $swp1
106 bridge vlan del vid 10 dev $swp1
120 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
122 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
[all …]
A Dethtool_extended_state.sh16 swp1=${NETIFS[p1]}
44 ip link set dev $swp1 up
47 ethtool_extended_state_check $swp1 "Autoneg" "No partner detected"
51 ip link set dev $swp1 down
58 ip link set dev $swp1 up
61 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0))
65 ethtool_set $swp1 speed $speed1 autoneg off
69 ethtool_extended_state_check $swp1 "Autoneg" \
78 ethtool -s $swp1 autoneg on
81 ip link set dev $swp1 down
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 …]
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 …]
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
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 …]
A Dpedit_dsfield.sh64 ip link set dev $swp1 master br1
65 ip link set dev $swp1 up
69 tc qdisc add dev $swp1 clsact
76 tc qdisc del dev $swp1 clsact
80 ip link set dev $swp1 down
81 ip link set dev $swp1 nomaster
88 swp1=${NETIFS[p2]}
201 do_test_ip_dscp "dev $swp1 ingress"
220 do_test_ip_ecn "dev $swp1 ingress"
281 do_test_ip6_dscp "dev $swp1 ingress"
[all …]
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 …]
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
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 …]

Completed in 25 milliseconds

1234