Searched refs:swp1 (Results 1 – 25 of 71) sorted by relevance
123
48 swp1=${NETIFS[p1]}51 ip link set dev $swp1 up60 ip link set dev $swp1 down65 local swp1_mac=$(mac_get $swp1)72 ip addr flush dev $swp176 ip addr add dev $swp1 192.0.2.1/2879 ip link set dev $swp1 addr 00:11:22:33:44:55106 ip addr del dev $swp1 192.0.2.1/28109 ip link set dev $swp1 addr $swp1_mac119 ip link set dev $swp1 master vrf-test[all …]
26 simple_if_init $swp1 192.0.2.1/2433 simple_if_fini $swp1 192.0.2.1/2443 tc qdisc add dev $swp1 ingress_block 22 clsact67 tc qdisc del dev $swp1 clsact69 tc qdisc add dev $swp1 egress_block 22 clsact79 tc qdisc del dev $swp1 clsact91 tc qdisc add dev $swp1 ingress_block 22 clsact117 tc qdisc del dev $swp1 clsact119 tc qdisc add dev $swp1 egress_block 22 clsact134 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 …]
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 …]
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 …]
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)
17 simple_if_init $swp118 tc qdisc add dev $swp1 clsact23 tc qdisc del dev $swp1 clsact24 simple_if_fini $swp143 filter add dev $swp1 ingress \63 offload_count=$(tc -j filter show dev $swp1 ingress |85 swp1=${NETIFS[p2]}
137 devlink_port_pool_th_save $swp1 1142 devlink_tc_bind_pool_th_save $swp1 1 ingress165 ip link set dev $swp1 up166 mtu_set $swp1 10000167 vlan_create $swp1 111168 ip link set dev $swp1.111 type vlan ingress-qos-map 0:0 1:1170 devlink_port_pool_th_set $swp1 1 $_10MB171 devlink_tc_bind_pool_th_set $swp1 1 ingress 1 $_10MB175 tc qdisc replace dev $swp1 root handle 1: \177 dcb buffer set dev $swp1 prio-buffer all:0 1:1[all …]
112 ip link set dev $swp1 up113 mtu_set $swp1 10000135 vlan_create $swp1 111141 ip link set dev $swp1.111 master br111155 devlink_port_pool_th_save $swp1 0156 devlink_port_pool_th_set $swp1 0 6157 devlink_tc_bind_pool_th_save $swp1 1 ingress158 devlink_tc_bind_pool_th_set $swp1 1 ingress 0 6182 devlink_tc_bind_pool_th_restore $swp1 1 ingress183 devlink_port_pool_th_restore $swp1 0[all …]
30 devlink_port_pool_th_save $swp1 031 devlink_port_pool_th_set $swp1 0 1232 devlink_tc_bind_pool_th_save $swp1 0 ingress33 devlink_tc_bind_pool_th_set $swp1 0 ingress 0 1255 devlink_tc_bind_pool_th_restore $swp1 0 ingress56 devlink_port_pool_th_restore $swp1 0
67 __addr_add_del $swp1 add 192.0.2.2/2868 tc qdisc add dev $swp1 clsact69 ip link set dev $swp1 up88 ip link set dev $swp1 down89 tc qdisc del dev $swp1 clsact90 __addr_add_del $swp1 del 192.0.2.2/2896 swp1=${NETIFS[p2]}150 tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \165 tc_check_packets "dev $swp1 egress" 101 0171 tc filter del dev $swp1 egress protocol ip pref 1 handle 101 flower[all …]
16 swp1=${NETIFS[p1]}44 ip link set dev $swp1 up47 ethtool_extended_state_check $swp1 "Autoneg" "No partner detected"51 ip link set dev $swp1 down58 ip link set dev $swp1 up61 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0))65 ethtool_set $swp1 speed $speed1 autoneg off69 ethtool_extended_state_check $swp1 "Autoneg" \78 ethtool -s $swp1 autoneg on81 ip link set dev $swp1 down
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 …]
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 …]
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
35 ip link set dev $swp1 master br039 ip link set dev $swp1 up46 ip link set dev $swp1 down54 swp1=${NETIFS[p2]}91 learning_test "br0" $swp1 $h1 $h2103 log_info "Add and delete a VLAN on bridge port $swp1"105 bridge vlan add vid 10 dev $swp1106 bridge vlan del vid 10 dev $swp1120 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1122 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37[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 …]
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 …]
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/28167 vlan_destroy $swp1 555168 vlan_destroy $swp1 333169 tc qdisc del dev $swp1 clsact170 ip link set dev $swp1 down176 swp1=${NETIFS[p2]}227 tc filter add dev $swp1 ingress pref 999 \[all …]
141 ip link set dev $swp1 up142 tc qdisc add dev $swp1 clsact143 vlan_create $swp1 333 "" 192.0.2.2/28144 vlan_create $swp1 555 "" 192.0.2.17/28167 vlan_destroy $swp1 555168 vlan_destroy $swp1 333169 tc qdisc del dev $swp1 clsact170 ip link set dev $swp1 down176 swp1=${NETIFS[p2]}220 mirror_install $swp1 ingress gt4 \[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 …]
64 ip link set dev $swp1 master br165 ip link set dev $swp1 up69 tc qdisc add dev $swp1 clsact76 tc qdisc del dev $swp1 clsact80 ip link set dev $swp1 down81 ip link set dev $swp1 nomaster88 swp1=${NETIFS[p2]}182 do_test_ip_dsfield "dev $swp1 ingress"201 do_test_ip_dscp "dev $swp1 ingress"220 do_test_ip_ecn "dev $swp1 ingress"[all …]
13 ip link set dev $swp1 master br018 ip link set dev $swp1 up27 ip link set dev $swp1 down36 swp1=${NETIFS[p2]}51 bridge fdb add $TEST_MAC dev $swp1 master static sticky53 bridge fdb del $TEST_MAC dev $swp1 vlan 1 master static sticky55 bridge -j fdb show br br0 brport $swp1\
60 ip link set dev $swp1 master br161 ip link set dev $swp1 up65 tc qdisc add dev $swp1 clsact72 tc qdisc del dev $swp1 clsact76 ip link set dev $swp1 down77 ip link set dev $swp1 nomaster84 swp1=${NETIFS[p2]}171 do_test_pedit_l4port "dev $swp1 ingress" udp sport src_port177 do_test_pedit_l4port "dev $swp1 ingress" udp dport dst_port183 do_test_pedit_l4port "dev $swp1 ingress" tcp sport src_port[all …]