Searched full:swp1 (Results 1 – 25 of 130) sorted by relevance
123456
46 swp1=${NETIFS[p1]}49 ip link set dev $swp1 up58 ip link set dev $swp1 down68 ip link set dev $swp1 master vrf-test87 ip addr add dev $swp1 192.0.2.1/28115 ip addr del dev $swp1 192.0.2.1/28127 ip link set dev $swp1 master br0152 ip link set dev $swp1 master br0164 ip -6 address add 2001:db8:1::1/64 dev $swp1165 ip -6 address del 2001:db8:1::1/64 dev $swp1[all …]
27 simple_if_init $swp1 192.0.2.1/2434 simple_if_fini $swp1 192.0.2.1/2444 tc qdisc add dev $swp1 ingress_block 22 clsact68 tc qdisc del dev $swp1 clsact70 tc qdisc add dev $swp1 egress_block 22 clsact80 tc qdisc del dev $swp1 clsact92 tc qdisc add dev $swp1 ingress_block 22 clsact118 tc qdisc del dev $swp1 clsact120 tc qdisc add dev $swp1 egress_block 22 clsact135 tc qdisc del dev $swp1 clsact[all …]
25 swp1=${NETIFS[p1]}28 ip link set dev $swp1 up39 ip link set dev $swp1 down54 ip link set dev $swp1 master br074 ip link add name $swp1.100 link $swp1 type vlan \78 ip link add name $swp1.100 link $swp1 type vlan \94 ip link set dev $swp1 master br097 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[all …]
18 swp1=${NETIFS[p1]}21 ip link set dev $swp1 up27 local lanes_exist=$(ethtool $swp1 | grep 'Lanes:')34 ip link set dev $swp1 down48 check_err $? "swp1 advertise $max_speed and $lanes, devs sync to $chosen_lanes"65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null112 local -a linkmodes_params=($(dev_linkmodes_params_get $swp1 1))113 local -a max_values=($(max_speed_and_lanes_get $swp1 "${linkmodes_params[@]}"))122 ethtool_set $swp1 speed $max_speed lanes $lanes123 ip link set dev $swp1 up[all …]
23 # | + $swp1 |27 # | | + $swp1.111 | |106 devlink_port_pool_th_save $swp1 1109 devlink_tc_bind_pool_th_save $swp1 1 ingress115 # $swp1118 ip link set dev $swp1 up119 vlan_create $swp1 111120 ip link set dev $swp1.111 type vlan ingress-qos-map 0:0 1:1122 devlink_port_pool_th_set $swp1 1 16123 devlink_tc_bind_pool_th_set $swp1 1 ingress 1 16[all …]
19 swp1=${NETIFS[p1]}24 ip link set dev lag1 address $(mac_get $swp1)30 ip link set dev $swp1 master lag131 ip link set dev $swp1 up44 ip link set dev $swp1 nomaster45 ip link set dev $swp1 down72 ip link set dev $swp1 nomaster88 ip link set dev $swp1 down89 ip link set dev $swp1 master lag190 ip link set dev $swp1 up[all …]
4 # Test for port-default priority. Non-IP packets ingress $swp1 and are16 # | + $swp1 |44 ip link set dev $swp1 up45 ip addr add dev $swp1 192.0.2.2/2850 dcb app flush dev $swp1 default-prio51 ip addr del dev $swp1 192.0.2.2/2852 ip link set dev $swp1 down58 swp1=${NETIFS[p2]}91 dcb app add dev $swp1 default-prio $prio_install93 local t0=$(ethtool_stats_get $swp1 rx_frames_prio_$prio_observe)[all …]
29 simple_if_init $swp130 tc qdisc add dev $swp1 clsact35 tc qdisc del dev $swp1 clsact36 simple_if_fini $swp142 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 \82 tc filter add dev $swp1 ingress pref 2 handle 103 proto ipv6 \85 tc filter add dev $swp1 ingress pref 2 handle 104 proto ipv6 \91 tc filter del dev $swp1 ingress pref 2 handle 104 flower[all …]
19 # | SW $swp1 + + $swp2 |22 # | | $swp1.10 + + $swp2.10 | |101 ip link set dev $swp1 up102 tc qdisc add dev $swp1 clsact138 tc qdisc del dev $swp1 clsact139 ip link set dev $swp1 down145 swp1=${NETIFS[p2]}200 # First add {port, VID}->FID for swp1.10, then add a RIF and verify that202 vlan_create $swp1 10203 ip link set dev $swp1.10 master br0[all …]
19 swp1=${NETIFS[p1]}24 ip link set dev lag1 address $(mac_get $swp1)30 ip link set dev $swp1 master lag131 ip link set dev $swp1 up53 ip link set dev $swp1 nomaster54 ip link set dev $swp1 down82 ip link set dev $swp1 nomaster98 ip link set dev $swp1 down99 ip link set dev $swp1 master lag1100 ip link set dev $swp1 up[all …]
48 ip link set dev $swp1 master br052 ip link set dev $swp1 up63 ip link set dev $swp1 down71 swp1=${NETIFS[p2]}126 bridge vlan add vid 1 dev $swp1 untagged master137 bridge vlan add vid 1 dev $swp1 pvid untagged master198 bridge vlan add vid $vid dev $swp1 master215 bridge vlan del vid $vid dev $swp1 master228 bridge vlan add vid $vid dev $swp1 master229 ip link set dev $swp1 type bridge_slave state $state[all …]
8 # - the stream first ingresses through $swp1, where it is forwarded to $swp315 # - since $swp3 now can't send traffic, the traffic ingressing $swp1 is kept at24 # - if PFC works, all lossless flow packets that ingress through $swp1 should26 # discrepancy between the speeds of $swp1 and $h2.40 # | + $swp1 $swp3 + + $swp4 |46 # | | + $swp1.111 $swp3.111 + | | + $swp4.111 | |133 devlink_port_pool_th_save $swp1 1138 devlink_tc_bind_pool_th_save $swp1 1 ingress158 # $swp1161 ip link set dev $swp1 up[all …]
6 # VXLAN. The test checks that when the switch port (swp1) is down, traffic is12 # | + swp1 + vx0 | | + swp1 + vx0 |179 ip -n $ns link add name swp1 up type dummy180 ip -n $ns link set dev swp1 master br0181 bridge -n $ns vlan add vid 10 dev swp1 untagged251 run_cmd "tc -n sw1 qdisc replace dev swp1 clsact"252 …run_cmd "tc -n sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac …257 run_cmd "bridge -n sw1 fdb replace $dmac dev swp1 master static vlan 10"259 # Initial state - check that packets are forwarded out of swp1 when it263 tc_check_packets sw1 "dev swp1 egress" 101 1[all …]
47 ip link set dev $swp1 master br050 bridge link set dev $swp1 learning off53 ip link set dev $swp1 up60 ip link set dev $swp1 down68 swp1=${NETIFS[p2]}102 bridge link set dev $swp1 locked on107 bridge fdb add `mac_get $h1` dev $swp1 master static112 bridge link set dev $swp1 locked off113 bridge fdb del `mac_get $h1` dev $swp1 master static127 bridge vlan add vid 100 dev $swp1[all …]
42 simple_if_init $swp1 192.0.2.2/2443 tc qdisc add dev $swp1 clsact52 tc qdisc del dev $swp1 clsact53 simple_if_fini $swp1 192.0.2.2/2474 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \84 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \101 tc_check_packets "dev $swp1 ingress" 102 1104 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \110 tc_check_packets "dev $swp1 ingress" 101 1[all …]
47 simple_if_init $swp1 192.0.2.2/2448 tc qdisc add dev $swp1 clsact55 tc qdisc del dev $swp1 clsact56 simple_if_fini $swp1 192.0.2.2/2462 swp1=${NETIFS[p2]}70 swp1origmac=$(mac_get $swp1)72 ip link set $swp1 address $h2mac98 ip link set $swp1 address $swp1origmac106 tc filter add dev $swp1 ingress protocol ip pref 100 handle 100 \109 tc filter add dev $swp1 ingress protocol ip pref 101 handle 101 \[all …]
20 # | | + $swp1 BR0 (802.1q) + $swp2 | |74 ip link set dev $swp1 master br075 ip link set dev $swp1 up76 bridge link set dev $swp1 fastleave on95 ip link set dev $swp1 master br096 ip link set dev $swp1 up97 bridge link set dev $swp1 fastleave on98 bridge vlan add vid 10 dev $swp199 bridge vlan add vid 20 dev $swp1121 ip link set dev $swp1 down[all …]
20 # | | + $swp1 BR0 (802.1q) + $swp2 | |73 ip link set dev $swp1 master br074 ip link set dev $swp1 up75 bridge vlan add vid 10 dev $swp176 bridge vlan add vid 20 dev $swp197 bridge vlan del vid 20 dev $swp198 bridge vlan del vid 10 dev $swp199 ip link set dev $swp1 down100 ip link set dev $swp1 nomaster111 swp1=${NETIFS[p2]}[all …]
28 swp1=${NETIFS[p2]}75 mirror_install $swp1 ingress $tundev \88 mirror_uninstall $swp1 ingress101 mirror_install $swp1 ingress $tundev "matchall $tcflags"107 mirror_uninstall $swp1 ingress121 mirror_install $swp1 ingress $tundev "matchall $tcflags"131 mirror_uninstall $swp1 ingress147 mirror_install $swp1 ingress $tundev "matchall $tcflags"152 mirror_uninstall $swp1 ingress168 mirror_install $swp1 ingress $tundev "matchall $tcflags"[all …]
30 swp1=${NETIFS[p2]}77 mirror_install $swp1 $direction $tundev "matchall $tcflags"83 mirror_uninstall $swp1 $direction92 mirror_install $swp1 ingress gt4 "matchall $tcflags"93 mirror_install $swp1 egress gt6 "matchall $tcflags"97 mirror_uninstall $swp1 ingress101 mirror_install $swp1 ingress gt4 "matchall $tcflags"102 mirror_uninstall $swp1 egress106 mirror_uninstall $swp1 ingress136 slow_path_trap_install $swp1 ingress[all …]
41 ip link set dev $swp1 master br045 ip link set dev $swp1 up48 bridge vlan add dev $swp1 vid 8552 bridge vlan add dev $swp1 vid 6554 tc qdisc add dev $swp1 clsact61 tc qdisc del dev $swp1 clsact63 bridge vlan del vid 65 dev $swp167 bridge vlan del vid 85 dev $swp170 ip link set dev $swp1 down78 swp1=${NETIFS[p2]}[all …]
15 # | SW + $swp1 + $swp2 |22 # | | + $swp1.100 BR1 (802.1d) | | + $swp1.200 BR2 (802.1d) | |83 ip link set dev $swp1 up85 vlan_create $swp1 10087 ip link set dev br1 address $(mac_get $swp1.100)88 ip link set dev $swp1.100 master br192 vlan_create $swp1 20094 ip link set dev br2 address $(mac_get $swp1.200)95 ip link set dev $swp1.200 master br2111 ip link set dev $swp1.200 nomaster[all …]