Lines Matching full:swp2
11 # to a small pool ("PFC pool"). The traffic is forwarded to $swp2, which is
22 # $swp2, and eventually to $h2.
49 # | | | | + $swp2.111 | |
54 # | iPOOL2: 1MB static + $swp2 |
136 devlink_port_pool_th_save $swp2 6
141 devlink_tc_bind_pool_th_save $swp2 1 egress
177 # $swp2
180 ip link set dev $swp2 up
181 mtu_set $swp2 10000
182 vlan_create $swp2 111
183 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
185 devlink_port_pool_th_set $swp2 6 $_10MB
186 devlink_tc_bind_pool_th_set $swp2 1 egress 6 $_10MB
189 tc qdisc replace dev $swp2 root handle 1: \
191 tc qdisc replace dev $swp2 parent 1:7 handle 17: \
258 ip link set dev $swp2.111 master br2
279 ip link set dev $swp2.111 nomaster
316 # $swp2
319 tc qdisc del dev $swp2 parent 1:7
320 tc qdisc del dev $swp2 root
322 devlink_tc_bind_pool_th_restore $swp2 1 egress
323 devlink_port_pool_th_restore $swp2 6
325 vlan_destroy $swp2 111
326 mtu_restore $swp2
327 ip link set dev $swp2 down
348 swp2=${NETIFS[p3]}
387 local out0=$(ethtool_stats_get $swp2 tx_octets_prio_1)
394 local out1=$(ethtool_stats_get $swp2 tx_octets_prio_1)