Searched refs:swp1 (Results 1 – 25 of 107) sorted by relevance
12345
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 …]
18 swp1=${NETIFS[p1]}21 ip link set dev $swp1 up27 local lanes_exist=$(ethtool $swp1 | grep 'Lanes:')34 ip link set dev $swp1 down65 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 up128 check_lanes $swp1 $lanes $max_speed[all …]
25 swp1=${NETIFS[p1]}28 ip link set dev $swp1 up39 ip link set dev $swp1 down53 ip link set dev $swp1 master br073 ip link add name $swp1.100 link $swp1 type vlan \77 ip link add name $swp1.100 link $swp1 type vlan \92 ip link set dev $swp1 master br095 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[all …]
106 devlink_port_pool_th_save $swp1 1109 devlink_tc_bind_pool_th_save $swp1 1 ingress118 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 16125 tc qdisc replace dev $swp1 root handle 1: \127 dcb buffer set dev $swp1 prio-buffer all:0 1:1148 ip link set dev $swp1.111 master br1[all …]
102 ip link set dev $swp1 up103 tc qdisc add dev $swp1 clsact139 tc qdisc del dev $swp1 clsact140 ip link set dev $swp1 down146 swp1=${NETIFS[p2]}203 vlan_create $swp1 10204 ip link set dev $swp1.10 master br0213 tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \219 tc_check_at_least_x_packets "dev $swp1 egress" 101 10224 tc filter del dev $swp1 egress[all …]
80 ip link set dev $swp1 up81 ip addr add dev $swp1 192.0.2.2/2886 defprio_flush $swp187 ip addr del dev $swp1 192.0.2.2/2888 ip link set dev $swp1 down94 swp1=${NETIFS[p2]}127 defprio_install $swp1 $prio_install129 local t0=$(ethtool_stats_get $swp1 rx_frames_prio_$prio_observe)132 ethtool_stats_get $swp1 rx_frames_prio_$prio_observe)137 defprio_uninstall $swp1 $prio_install[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 …]
134 devlink_port_pool_th_save $swp1 1139 devlink_tc_bind_pool_th_save $swp1 1 ingress162 ip link set dev $swp1 up163 mtu_set $swp1 10000164 vlan_create $swp1 111165 ip link set dev $swp1.111 type vlan ingress-qos-map 0:0 1:1167 devlink_port_pool_th_set $swp1 1 $_10MB168 devlink_tc_bind_pool_th_set $swp1 1 ingress 1 $_10MB172 tc qdisc replace dev $swp1 root handle 1: \174 dcb buffer set dev $swp1 prio-buffer all:0 1:1[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)
39 simple_if_init $swp1 192.0.2.2/2440 tc qdisc add dev $swp1 clsact49 tc qdisc del dev $swp1 clsact50 simple_if_fini $swp1 192.0.2.2/2471 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \81 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \92 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \98 tc_check_packets "dev $swp1 ingress" 102 1101 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \107 tc_check_packets "dev $swp1 ingress" 101 1[all …]
37 ip link set dev $swp1 master br040 bridge link set dev $swp1 learning off43 ip link set dev $swp1 up50 ip link set dev $swp1 down58 swp1=${NETIFS[p2]}92 bridge link set dev $swp1 locked on97 bridge fdb add `mac_get $h1` dev $swp1 master static102 bridge link set dev $swp1 locked off103 bridge fdb del `mac_get $h1` dev $swp1 master static117 bridge vlan add vid 100 dev $swp1[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 …]
93 ip link set dev $swp1 master br097 ip link set dev $swp1 up107 ip link set dev $swp1 down115 swp1=${NETIFS[p2]}216 mldv2cleanup $swp1237 mldv2cleanup $swp1258 mldv2cleanup $swp1272 mldv2cleanup $swp1319 mldv2cleanup $swp1342 mldv2cleanup $swp1[all …]
28 swp1=${NETIFS[p2]}75 mirror_install $swp1 ingress $tundev "matchall $tcflags"87 mirror_uninstall $swp1 ingress100 mirror_install $swp1 ingress $tundev "matchall $tcflags"106 mirror_uninstall $swp1 ingress120 mirror_install $swp1 ingress $tundev "matchall $tcflags"130 mirror_uninstall $swp1 ingress146 mirror_install $swp1 ingress $tundev "matchall $tcflags"151 mirror_uninstall $swp1 ingress167 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 …]
132 ip link set dev $swp1 up133 tc qdisc add dev $swp1 clsact134 vlan_create $swp1 333 "" 192.0.2.2/28135 vlan_create $swp1 555 "" 192.0.2.17/28168 vlan_destroy $swp1 555169 vlan_destroy $swp1 333170 tc qdisc del dev $swp1 clsact171 ip link set dev $swp1 down177 swp1=${NETIFS[p2]}228 tc filter add dev $swp1 ingress pref 999 \[all …]
18 swp1=${NETIFS[p1]}51 ip link set dev $swp1 up53 msg=$(busywait $TIMEOUT ethtool_ext_state $swp1 \59 ip link set dev $swp1 down68 ip link set dev $swp1 up71 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0))75 ethtool_set $swp1 speed $speed1 autoneg off78 msg=$(busywait $TIMEOUT ethtool_ext_state $swp1 \89 ethtool -s $swp1 autoneg on92 ip link set dev $swp1 down
22 swp1=${NETIFS[p2]}39 bridge vlan add dev $swp1 vid 11166 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"68 mirror_uninstall $swp1 $direction87 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"92 mirror_uninstall $swp1 $direction105 slow_path_trap_install $swp1 ingress106 slow_path_trap_install $swp1 egress112 slow_path_trap_uninstall $swp1 egress113 slow_path_trap_uninstall $swp1 ingress
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 swp1=${NETIFS[p2]}141 ip link set $swp1 up146 create_tcam_skeleton $swp1149 ip link set $swp1 master br0159 tc filter add dev $swp1 ingress chain $(IS1 1) pref 1 \164 tc filter add dev $swp1 egress chain $(ES0) pref 1 \168 tc filter add dev $swp1 ingress chain $(IS1 0) pref 2 \173 tc filter add dev $swp1 ingress chain $(IS2 0 0) pref 1 \183 tc qdisc del dev $swp1 clsact244 bridge vlan add dev $swp1 vid 200[all …]