Home
last modified time | relevance | path

Searched refs:swp2 (Results 1 – 25 of 92) sorted by relevance

1234

/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l2_drops.sh48 ip link set dev $swp2 master br0
52 ip link set dev $swp2 up
54 tc qdisc add dev $swp2 clsact
59 tc qdisc del dev $swp2 clsact
61 ip link set dev $swp2 down
72 swp2=${NETIFS[p3]}
101 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
109 devlink_trap_drop_test $trap_name $swp2 101
113 devlink_trap_drop_cleanup $mz_pid $swp2 ip 1 101
127 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
[all …]
Dsch_ets.sh23 tc qdisc replace dev $swp2 root handle 3: tbf rate 1gbit \
36 devlink_port_pool_th_save $swp2 4
37 devlink_port_pool_th_set $swp2 4 12
38 devlink_tc_bind_pool_th_save $swp2 7 egress
39 devlink_tc_bind_pool_th_set $swp2 7 egress 4 5
40 devlink_tc_bind_pool_th_save $swp2 6 egress
41 devlink_tc_bind_pool_th_set $swp2 6 egress 4 5
42 devlink_tc_bind_pool_th_save $swp2 5 egress
43 devlink_tc_bind_pool_th_set $swp2 5 egress 4 5
53 devlink_tc_bind_pool_th_restore $swp2 5 egress
[all …]
Dqos_max_descriptors.sh107 devlink_port_pool_th_save $swp2 6
110 devlink_tc_bind_pool_th_save $swp2 1 egress
132 ip link set dev $swp2 up
133 vlan_create $swp2 111
134 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
136 devlink_port_pool_th_set $swp2 6 $MAX_POOL_SIZE
137 devlink_tc_bind_pool_th_set $swp2 1 egress 6 $MAX_POOL_SIZE
139 tc qdisc replace dev $swp2 root handle 1: tbf rate $SHAPER_RATE \
141 tc qdisc replace dev $swp2 parent 1:1 handle 11: \
151 ip link set dev $swp2.111 master br1
[all …]
Ddevlink_trap_acl_drops.sh42 ip link set dev $swp2 master br0
46 ip link set dev $swp2 up
49 tc qdisc add dev $swp2 clsact
54 tc qdisc del dev $swp2 clsact
57 ip link set dev $swp2 down
68 swp2=${NETIFS[p3]}
98 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
110 devlink_trap_drop_test ingress_flow_action_drop $swp2 101
116 devlink_trap_drop_cleanup $mz_pid $swp2 ip 1 101
123 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 \
[all …]
Dqos_mc_aware.sh123 ip link set dev $swp2 up
124 mtu_set $swp2 10000
129 vlan_create $swp2 111
144 ip link set dev $swp2.111 master br111
154 devlink_port_pool_th_save $swp2 0
155 devlink_port_pool_th_set $swp2 0 5
156 devlink_tc_bind_pool_th_save $swp2 1 ingress
157 devlink_tc_bind_pool_th_set $swp2 1 ingress 0 5
167 devlink_tc_bind_pool_th_restore $swp2 1 ingress
168 devlink_port_pool_th_restore $swp2 0
[all …]
Done_armed_router.sh91 ip link set dev $swp2 master br0
92 ip link set dev $swp2 up
95 tc qdisc add dev $swp2 clsact
106 tc qdisc del dev $swp2 clsact
109 ip link set dev $swp2 down
110 ip link set dev $swp2 nomaster
138 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 flower \
142 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 flower \
158 tc_check_packets "dev $swp2 egress" 101 0
165 tc_check_packets "dev $swp2 egress" 102 10
[all …]
Dqos_pfc.sh135 devlink_port_pool_th_save $swp2 6
140 devlink_tc_bind_pool_th_save $swp2 1 egress
179 ip link set dev $swp2 up
180 mtu_set $swp2 10000
181 vlan_create $swp2 111
182 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
184 devlink_port_pool_th_set $swp2 6 $_10MB
185 devlink_tc_bind_pool_th_set $swp2 1 egress 6 $_10MB
188 tc qdisc replace dev $swp2 root handle 1: \
190 tc qdisc replace dev $swp2 parent 1:7 handle 17: \
[all …]
Dqos_ets_strict.sh115 ip link set dev $swp2 up
116 mtu_set $swp2 10000
137 vlan_create $swp2 222
146 ip link set dev $swp2.222 master br222
161 devlink_port_pool_th_save $swp2 0
162 devlink_port_pool_th_set $swp2 0 6
163 devlink_tc_bind_pool_th_save $swp2 2 ingress
164 devlink_tc_bind_pool_th_set $swp2 2 ingress 0 6
180 devlink_tc_bind_pool_th_restore $swp2 2 ingress
181 devlink_port_pool_th_restore $swp2 0
[all …]
Dethtool_lanes.sh19 swp2=${NETIFS[p2]}
22 ip link set dev $swp2 up
24 busywait "$TIMEOUT" wait_for_port_up ethtool $swp2
33 ip link set dev $swp2 down
124 ip link set dev $swp2 up
125 busywait "$TIMEOUT" wait_for_port_up ethtool $swp2
137 ip link set dev $swp2 down
160 ethtool_set $swp2 speed $max_speed lanes $lanes autoneg off
162 ip link set dev $swp2 up
163 busywait "$TIMEOUT" wait_for_port_up ethtool $swp2
[all …]
Dqos_dscp_router.sh110 __simple_if_init $swp2 v$swp1 192.0.2.17/28
113 tc qdisc add dev $swp2 clsact
116 lldptool -T -i $swp2 -V APP $(dscp_map 0) >/dev/null
118 lldpad_app_wait_set $swp2
123 lldptool -T -i $swp2 -V APP -d $(dscp_map 0) >/dev/null
127 tc qdisc del dev $swp2 clsact
130 __simple_if_fini $swp2 192.0.2.17/28
139 swp2=${NETIFS[p3]}
268 lldptool -T -i $swp2 -V APP -d $(dscp_map 0) >/dev/null
273 lldptool -T -i $swp2 -V APP $(dscp_map 0) >/dev/null
[all …]
Dtc_restrictions.sh28 simple_if_init $swp2 192.0.2.2/24
33 simple_if_fini $swp2 192.0.2.2/24
51 tc qdisc add dev $swp2 ingress_block 22 clsact
54 tc qdisc del dev $swp2 clsact
56 tc qdisc add dev $swp2 egress_block 22 clsact
61 tc qdisc add dev $swp2 egress_block 22 clsact
79 tc qdisc del dev $swp2 clsact
97 action mirred egress redirect dev $swp2
100 tc qdisc add dev $swp2 ingress_block 22 clsact
103 tc qdisc del dev $swp2 clsact
[all …]
Dqos_dscp_bridge.sh81 ip link set dev $swp2 master br1
82 ip link set dev $swp2 up
85 lldptool -T -i $swp2 -V APP $(dscp_map 20) >/dev/null
87 lldpad_app_wait_set $swp2
92 lldptool -T -i $swp2 -V APP -d $(dscp_map 20) >/dev/null
96 ip link set dev $swp2 down
97 ip link set dev $swp2 nomaster
108 swp2=${NETIFS[p3]}
/Linux-v6.1/tools/testing/selftests/net/forwarding/
Dbridge_mdb_port_down.sh19 ip link set dev $swp2 down
20 bridge mdb add dev br0 port "$swp2" grp $TEST_GROUP permanent 2>/dev/null
23 ip link set dev $swp2 up
24 setup_wait_dev $swp2
28 ip link set dev $swp2 down
32 bridge mdb del dev br0 port "$swp2" grp $TEST_GROUP 2>/dev/null
35 ip link set dev $swp2 up
36 setup_wait_dev $swp2
69 ip link set dev $swp2 master br0
74 bridge link set dev $swp2 mcast_flood off
[all …]
Dsch_tbf_etsprio.sh17 tc qdisc replace dev $swp2 parent 10:3 handle 103: tbf \
19 tc qdisc replace dev $swp2 parent 10:2 handle 102: tbf \
32 tc qdisc add dev $swp2 root handle 10: $QDISC 3 priomap 2 1 0
34 tc qdisc del dev $swp2 root
43 tc qdisc replace dev $swp2 root handle 1: \
45 tc qdisc replace dev $swp2 parent 1:1 handle 10: \
47 tc qdisc replace dev $swp2 parent 10:3 handle 103: \
49 tc qdisc replace dev $swp2 parent 10:2 handle 102: \
51 tc qdisc replace dev $swp2 parent 10:1 handle 101: \
57 tc qdisc del dev $swp2 root
Dskbedit_priority.sh60 ip link set dev $swp2 master br1
61 ip link set dev $swp2 up
64 tc qdisc add dev $swp2 clsact
65 tc qdisc add dev $swp2 root handle 10: \
71 tc qdisc del dev $swp2 root
72 tc qdisc del dev $swp2 clsact
75 ip link set dev $swp2 down
76 ip link set dev $swp2 nomaster
87 swp2=${NETIFS[p3]}
124 local pkt0=$(qdisc_parent_stats_get $swp2 $classid .packets)
[all …]
Dtc_vlan_modify.sh42 ip link set dev $swp2 master br0
46 ip link set dev $swp2 up
49 bridge vlan add dev $swp2 vid 65
51 bridge vlan add dev $swp2 vid 85
55 tc qdisc add dev $swp2 clsact
60 tc qdisc del dev $swp2 clsact
64 bridge vlan del vid 85 dev $swp2
66 bridge vlan del vid 65 dev $swp2
69 ip link set dev $swp2 down
80 swp2=${NETIFS[p3]}
[all …]
Dpedit_dsfield.sh66 ip link set dev $swp2 master br1
67 ip link set dev $swp2 up
70 tc qdisc add dev $swp2 clsact
75 tc qdisc del dev $swp2 clsact
78 ip link set dev $swp2 down
79 ip link set dev $swp2 nomaster
90 swp2=${NETIFS[p3]}
183 do_test_ip_dsfield "dev $swp2 egress"
202 do_test_ip_dscp "dev $swp2 egress"
221 do_test_ip_ecn "dev $swp2 egress"
[all …]
Dpedit_ip.sh61 ip link set dev $swp2 master br1
62 ip link set dev $swp2 up
65 tc qdisc add dev $swp2 clsact
70 tc qdisc del dev $swp2 clsact
73 ip link set dev $swp2 down
74 ip link set dev $swp2 nomaster
85 swp2=${NETIFS[p3]}
173 do_test_pedit_ip4 "dev $swp2 egress" "ip src" src_ip
179 do_test_pedit_ip4 "dev $swp2 egress" "ip dst" dst_ip
185 do_test_pedit_ip6 "dev $swp2 egress" "ip6 src" src_ip
[all …]
Dpedit_l4port.sh62 ip link set dev $swp2 master br1
63 ip link set dev $swp2 up
66 tc qdisc add dev $swp2 clsact
71 tc qdisc del dev $swp2 clsact
74 ip link set dev $swp2 down
75 ip link set dev $swp2 nomaster
86 swp2=${NETIFS[p3]}
172 do_test_pedit_l4port "dev $swp2 egress" udp sport src_port
178 do_test_pedit_l4port "dev $swp2 egress" udp dport dst_port
184 do_test_pedit_l4port "dev $swp2 egress" tcp sport src_port
[all …]
Dtc_shblocks.sh36 simple_if_init $swp2 192.0.2.2/24
37 tc qdisc add dev $swp2 ingress_block 22 egress_block 23 clsact
42 tc qdisc del dev $swp2 clsact
43 simple_if_fini $swp2 192.0.2.2/24
80 $tcflags indev $swp2 dst_mac $swmac action drop
105 swp2=${NETIFS[p3]}
112 swp2origmac=$(mac_get $swp2)
113 ip link set $swp2 address $swmac
132 ip link set $swp2 address $swp2origmac
Dsch_ets_core.sh216 ip link set dev $swp2 up
217 mtu_set $swp2 9900
223 vlan_create $swp2 1$i
227 ip link set dev $swp2.1$i master br1$i
231 ip link set dev $swp2.1$i up
243 vlan_destroy $swp2 1$i
247 mtu_restore $swp2
248 ip link set dev $swp2 down
259 swp2=${NETIFS[p3]}
262 put=$swp2
Dethtool_extended_state.sh19 swp2=${NETIFS[p2]}
69 ip link set dev $swp2 up
71 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0))
76 ethtool_set $swp2 speed $speed2 autoneg off
82 msg=$(busywait $TIMEOUT ethtool_ext_state $swp2 \
88 ethtool -s $swp2 autoneg on
91 ip link set dev $swp2 down
Dbridge_vlan_aware.sh37 ip link set dev $swp2 master br0
41 ip link set dev $swp2 up
46 ip link set dev $swp2 down
57 swp2=${NETIFS[p3]}
97 flood_test $swp2 $h1 $h2
136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37
141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
/Linux-v6.1/tools/testing/selftests/drivers/net/dsa/
Dbridge_vlan_aware.sh37 ip link set dev $swp2 master br0
41 ip link set dev $swp2 up
46 ip link set dev $swp2 down
57 swp2=${NETIFS[p3]}
97 flood_test $swp2 $h1 $h2
136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37
141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
/Linux-v6.1/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh16 swp2=${NETIFS[p3]}
142 ip link set $swp2 up
150 ip link set $swp2 master br0
165 flower skip_sw indev $swp2 \
246 bridge vlan add dev $swp2 vid 300
270 bridge vlan del dev $swp2 vid 300
283 tc qdisc add dev $swp2 clsact
287 bridge vlan add dev $swp2 vid 200
289 tc filter add dev $swp2 egress chain $(ES0) pref 3 \
306 tc filter del dev $swp2 egress chain $(ES0) pref 3
[all …]

1234