Searched full:swp1 (Results 1 – 25 of 126) 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 …]
19 swp1=${NETIFS[p1]}22 ip link set dev $swp1 up28 busywait $TIMEOUT sh -c "ethtool $swp1 | grep -q Lanes:"35 ip link set dev $swp1 down49 check_err $? "swp1 advertise $max_speed and $lanes, devs sync to $chosen_lanes"66 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null113 local -a linkmodes_params=($(dev_linkmodes_params_get $swp1 1))114 local -a max_values=($(max_speed_and_lanes_get $swp1 "${linkmodes_params[@]}"))123 ethtool_set $swp1 speed $max_speed lanes $lanes124 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 …]
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 …]
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 …]
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 …]
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 |45 # | | + $swp1.111 $swp3.111 + | | + $swp4.111 | |135 devlink_port_pool_th_save $swp1 1140 devlink_tc_bind_pool_th_save $swp1 1 ingress160 # $swp1163 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 …]
28 simple_if_init $swp129 tc qdisc add dev $swp1 clsact34 tc qdisc del dev $swp1 clsact35 simple_if_fini $swp141 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 flower80 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 …]
30 simple_if_init $swp1 192.0.2.2/2431 tc qdisc add dev $swp1 clsact36 tc qdisc del dev $swp1 clsact37 simple_if_fini $swp1 192.0.2.2/2451 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \63 tc_check_packets "dev $swp1 ingress" 101 $expected_packet_count66 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower85 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \100 swp1=${NETIFS[p2]}103 swp1mac=$(mac_get $swp1)
6 # VXLAN. The test checks that when the switch port (swp1) is down, traffic is12 # | + swp1 + vx0 | | + swp1 + vx0 |186 ip -n $ns link add name swp1 up type dummy187 ip -n $ns link set dev swp1 master br0188 bridge -n $ns vlan add vid 10 dev swp1 untagged254 run_cmd "tc -n $sw1 qdisc replace dev swp1 clsact"255 …run_cmd "tc -n $sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac…260 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"262 # Initial state - check that packets are forwarded out of swp1 when it266 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 …]
43 simple_if_init $swp1 192.0.2.2/2444 tc qdisc add dev $swp1 clsact53 tc qdisc del dev $swp1 clsact54 simple_if_fini $swp1 192.0.2.2/2475 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \85 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \96 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \102 tc_check_packets "dev $swp1 ingress" 102 1105 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \111 tc_check_packets "dev $swp1 ingress" 101 1[all …]
45 simple_if_init $swp1 192.0.2.2/2446 tc qdisc add dev $swp1 clsact53 tc qdisc del dev $swp1 clsact54 simple_if_fini $swp1 192.0.2.2/2460 swp1=${NETIFS[p2]}68 swp1origmac=$(mac_get $swp1)70 ip link set $swp1 address $h2mac96 ip link set $swp1 address $swp1origmac104 tc filter add dev $swp1 ingress protocol ip pref 100 handle 100 \107 tc filter add dev $swp1 ingress protocol ip pref 101 handle 101 \[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 …]
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 …]
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 …]
28 swp1=${NETIFS[p2]}75 mirror_install $swp1 ingress $tundev \88 mirror_uninstall $swp1 ingress101 mirror_install $swp1 ingress $tundev "matchall"107 mirror_uninstall $swp1 ingress121 mirror_install $swp1 ingress $tundev "matchall"131 mirror_uninstall $swp1 ingress147 mirror_install $swp1 ingress $tundev "matchall"152 mirror_uninstall $swp1 ingress168 mirror_install $swp1 ingress $tundev "matchall"[all …]
36 ip link set dev $swp1 master br040 ip link set dev $swp1 up47 ip link set dev $swp1 down55 swp1=${NETIFS[p2]}92 learning_test "br0" $swp1 $h1 $h2104 log_info "Add and delete a VLAN on bridge port $swp1"106 bridge vlan add vid 10 dev $swp1107 bridge vlan del vid 10 dev $swp1121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37[all …]
22 swp1=${NETIFS[p2]}62 ip link set ${swp1} up64 sysctl_set net.ipv6.conf.${swp1}.disable_ipv6 169 ip link set ${swp1} master br078 sysctl_restore net.ipv6.conf.${swp1}.disable_ipv6196 local swp1_stats=$(ip -s -j link show dev ${swp1})206 local swp1_rx_hi_before=$(ethtool_stats_get ${swp1} "rx_hi")231 local swp1_stats=$(ip -s -j link show dev ${swp1})248 local swp1_rx_hi_after=$(ethtool_stats_get ${swp1} "rx_hi")251 # Test if any packets were received on swp1, we will rx before and after[all …]