/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | mirror_vlan.sh | 22 swp1=${NETIFS[p2]} 39 bridge vlan add dev $swp1 vid 111 66 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags" 68 mirror_uninstall $swp1 $direction 87 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags" 92 mirror_uninstall $swp1 $direction 105 slow_path_trap_install $swp1 ingress 106 slow_path_trap_install $swp1 egress 112 slow_path_trap_uninstall $swp1 egress 113 slow_path_trap_uninstall $swp1 ingress
|
H A D | ethtool_extended_state.sh | 18 swp1=${NETIFS[p1]} 51 ip link set dev $swp1 up 53 msg=$(busywait $TIMEOUT ethtool_ext_state $swp1 \ 59 ip link set dev $swp1 down 68 ip link set dev $swp1 up 71 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0)) 75 ethtool_set $swp1 speed $speed1 autoneg off 78 msg=$(busywait $TIMEOUT ethtool_ext_state $swp1 \ 89 ethtool -s $swp1 autoneg on 92 ip link set dev $swp1 down
|
H A D | mirror_gre_bridge_1q_lag.sh | 132 ip link set dev $swp1 up 133 tc qdisc add dev $swp1 clsact 169 vlan_destroy $swp1 555 170 vlan_destroy $swp1 333 171 tc qdisc del dev $swp1 clsact 172 ip link set dev $swp1 down 178 swp1=${NETIFS[p2]} 232 mirror_install $swp1 ingress gt4 \ 252 mirror_uninstall $swp1 ingress 270 slow_path_trap_install $swp1 ingress [all …]
|
H A D | tc_vlan_modify.sh | 41 ip link set dev $swp1 master br0 45 ip link set dev $swp1 up 48 bridge vlan add dev $swp1 vid 85 52 bridge vlan add dev $swp1 vid 65 54 tc qdisc add dev $swp1 clsact 61 tc qdisc del dev $swp1 clsact 63 bridge vlan del vid 65 dev $swp1 67 bridge vlan del vid 85 dev $swp1 70 ip link set dev $swp1 down 78 swp1=${NETIFS[p2]} [all …]
|
H A D | mirror_gre_lag_lacp.sh | 141 ip link set dev $swp1 up 142 tc qdisc add dev $swp1 clsact 167 vlan_destroy $swp1 555 168 vlan_destroy $swp1 333 169 tc qdisc del dev $swp1 clsact 170 ip link set dev $swp1 down 176 swp1=${NETIFS[p2]} 220 mirror_install $swp1 ingress gt4 \ 236 mirror_uninstall $swp1 ingress 261 slow_path_trap_install $swp1 ingress [all …]
|
H A D | bridge_mld.sh | 115 swp1=${NETIFS[p2]} 216 mldv2cleanup $swp1 237 mldv2cleanup $swp1 258 mldv2cleanup $swp1 272 mldv2cleanup $swp1 319 mldv2cleanup $swp1 342 mldv2cleanup $swp1 365 mldv2cleanup $swp1 388 mldv2cleanup $swp1 416 mldv2cleanup $swp1 [all …]
|
H A D | pedit_dsfield.sh | 66 ip link set dev $swp1 master br1 67 ip link set dev $swp1 up 71 tc qdisc add dev $swp1 clsact 78 tc qdisc del dev $swp1 clsact 82 ip link set dev $swp1 down 83 ip link set dev $swp1 nomaster 90 swp1=${NETIFS[p2]} 203 do_test_ip_dscp "dev $swp1 ingress" 222 do_test_ip_ecn "dev $swp1 ingress" 283 do_test_ip6_dscp "dev $swp1 ingress" [all …]
|
H A D | pedit_ip.sh | 59 ip link set dev $swp1 master br1 60 ip link set dev $swp1 up 64 tc qdisc add dev $swp1 clsact 71 tc qdisc del dev $swp1 clsact 75 ip link set dev $swp1 down 76 ip link set dev $swp1 nomaster 83 swp1=${NETIFS[p2]} 172 do_test_pedit_ip4 "dev $swp1 ingress" "ip src" src_ip 178 do_test_pedit_ip4 "dev $swp1 ingress" "ip dst" dst_ip 184 do_test_pedit_ip6 "dev $swp1 ingress" "ip6 src" src_ip [all …]
|
H A D | pedit_l4port.sh | 60 ip link set dev $swp1 master br1 61 ip link set dev $swp1 up 65 tc qdisc add dev $swp1 clsact 72 tc qdisc del dev $swp1 clsact 76 ip link set dev $swp1 down 77 ip link set dev $swp1 nomaster 84 swp1=${NETIFS[p2]} 171 do_test_pedit_l4port "dev $swp1 ingress" udp sport src_port 177 do_test_pedit_l4port "dev $swp1 ingress" udp dport dst_port 183 do_test_pedit_l4port "dev $swp1 ingress" tcp sport src_port [all …]
|
H A D | tc_flower_port_range.sh | 52 ip link set dev $swp1 master br1 53 ip link set dev $swp1 up 58 tc qdisc add dev $swp1 clsact 65 tc qdisc del dev $swp1 clsact 70 ip link set dev $swp1 down 71 ip link set dev $swp1 nomaster 107 tc_check_packets "dev $swp1 ingress" 101 1 114 tc_check_packets "dev $swp1 ingress" 101 2 121 tc_check_packets "dev $swp1 ingress" 101 3 138 tc_check_packets "dev $swp1 ingress" 101 3 [all …]
|
H A D | router_bridge.sh | 71 ip link add name br1 address $(mac_get $swp1) \ 75 ip link set dev $swp1 master br1 76 ip link set dev $swp1 up 89 ip link set dev $swp1 down 90 ip link set dev $swp1 nomaster 99 ip link set dev $swp1 nomaster 101 ip link set dev $swp1 master br1 124 ip link set dev $swp1 nomaster 127 ip link set dev $swp1 master br1 134 swp1=${NETIFS[p2]}
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l2_drops.sh | 48 ip link set dev $swp1 master br0 52 ip link set dev $swp1 up 63 ip link set dev $swp1 down 71 swp1=${NETIFS[p2]} 430 bridge link set dev $swp1 locked on 459 bridge link set dev $swp1 locked off 468 bridge link set dev $swp1 learning on 477 bridge link set dev $swp1 locked on 500 bridge link set dev $swp1 locked off 506 bridge link set dev $swp1 locked on [all …]
|
H A D | qos_pfc.sh | 136 devlink_port_pool_th_save $swp1 1 164 ip link set dev $swp1 up 165 mtu_set $swp1 10000 166 vlan_create $swp1 111 254 ip link set dev $swp1.111 master br1 285 ip link set dev $swp1.111 nomaster 334 tc qdisc del dev $swp1 root 339 vlan_destroy $swp1 111 340 mtu_restore $swp1 341 ip link set dev $swp1 down [all …]
|
H A D | devlink_trap_tunnel_ipip.sh | 67 __addr_add_del $swp1 add 192.0.2.2/28 68 tc qdisc add dev $swp1 clsact 69 ip link set dev $swp1 up 88 ip link set dev $swp1 down 89 tc qdisc del dev $swp1 clsact 90 __addr_add_del $swp1 del 192.0.2.2/28 96 swp1=${NETIFS[p2]} 159 tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \ 174 tc_check_packets "dev $swp1 egress" 101 0 192 tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \ [all …]
|
H A D | qos_ets_strict.sh | 112 ip link set dev $swp1 up 113 mtu_set $swp1 10000 136 vlan_create $swp1 111 144 ip link set dev $swp1.111 master br111 160 devlink_port_pool_th_save $swp1 0 161 devlink_port_pool_th_set $swp1 0 6 188 devlink_port_pool_th_restore $swp1 0 199 vlan_destroy $swp1 111 209 mtu_restore $swp1 210 ip link set dev $swp1 down [all …]
|
H A D | devlink_trap_tunnel_vxlan_ipv6.sh | 65 ip link set dev br1 address $(mac_get $swp1) 68 tc qdisc add dev $swp1 clsact 69 ip link set dev $swp1 master br1 70 ip link set dev $swp1 up 91 ip link set dev $swp1 down 92 ip link set dev $swp1 nomaster 93 tc qdisc del dev $swp1 clsact 112 swp1=${NETIFS[p2]} 186 tc_check_packets "dev $swp1 egress" 101 0 260 tc_check_packets "dev $swp1 egress" 101 0 [all …]
|
H A D | devlink_trap_tunnel_vxlan.sh | 65 ip link set dev br1 address $(mac_get $swp1) 68 tc qdisc add dev $swp1 clsact 69 ip link set dev $swp1 master br1 70 ip link set dev $swp1 up 90 ip link set dev $swp1 down 91 ip link set dev $swp1 nomaster 92 tc qdisc del dev $swp1 clsact 111 swp1=${NETIFS[p2]} 181 tc_check_packets "dev $swp1 egress" 101 0 251 tc_check_packets "dev $swp1 egress" 101 0 [all …]
|
H A D | devlink_trap_tunnel_ipip6.sh | 67 ip link set dev $swp1 up 68 __addr_add_del $swp1 add 2001:db8:1::2/64 69 tc qdisc add dev $swp1 clsact 89 tc qdisc del dev $swp1 clsact 90 __addr_add_del $swp1 del 2001:db8:1::2/64 91 ip link set dev $swp1 down 97 swp1=${NETIFS[p2]} 159 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ 174 tc_check_packets "dev $swp1 egress" 101 0 192 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ [all …]
|
H A D | port_range_scale.sh | 17 simple_if_init $swp1 18 tc qdisc add dev $swp1 clsact 23 tc qdisc del dev $swp1 clsact 24 simple_if_fini $swp1 35 filter add dev $swp1 ingress \ 57 offload_count=$(tc -j filter show dev $swp1 ingress | 79 swp1=${NETIFS[p2]}
|
H A D | tc_police_scale.sh | 17 simple_if_init $swp1 18 tc qdisc add dev $swp1 clsact 23 tc qdisc del dev $swp1 clsact 24 simple_if_fini $swp1 43 filter add dev $swp1 ingress \ 63 offload_count=$(tc -j filter show dev $swp1 ingress | 85 swp1=${NETIFS[p2]}
|
H A D | ingress_rif_conf_vxlan.sh | 82 ip link set dev br1 address $(mac_get $swp1) 88 ip link set dev $swp1 master br1 89 ip link set dev $swp1 up 92 tc qdisc add dev $swp1 clsact 134 tc qdisc del dev $swp1 clsact 136 bridge vlan del vid 10 dev $swp1 137 ip link set dev $swp1 down 138 ip link set dev $swp1 nomaster 169 swp1=${NETIFS[p2]} 267 tc filter del dev $swp1 egress [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/ocelot/ |
H A D | tc_flower_chains.sh | 15 swp1=${NETIFS[p2]} 141 ip link set $swp1 up 146 create_tcam_skeleton $swp1 149 ip link set $swp1 master br0 183 tc qdisc del dev $swp1 clsact 244 bridge vlan add dev $swp1 vid 200 245 bridge vlan add dev $swp1 vid 300 268 bridge vlan del dev $swp1 vid 200 269 bridge vlan del dev $swp1 vid 300 286 bridge vlan add dev $swp1 vid 200 [all …]
|
H A D | basic_qos.sh | 19 swp1=${NETIFS[p2]} 108 ip link set ${swp1} up 113 ip link set ${swp1} master br0 166 ipv4_after=$(ethtool_stats_get ${swp1} "${counter_name}") 177 ipv6_after=$(ethtool_stats_get ${swp1} "${counter_name}") 203 local orig=$(port_default_prio_get ${swp1}) 206 dcb app replace dev ${swp1} default-prio 5 210 dcb app replace dev ${swp1} default-prio ${orig} 224 local port_default=$(port_default_prio_get ${swp1}) 227 dcb app add dev ${swp1} dscp-prio CS4:4 [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | bridge_mld.sh | 115 swp1=${NETIFS[p2]} 216 mldv2cleanup $swp1 237 mldv2cleanup $swp1 258 mldv2cleanup $swp1 272 mldv2cleanup $swp1 319 mldv2cleanup $swp1 342 mldv2cleanup $swp1 365 mldv2cleanup $swp1 388 mldv2cleanup $swp1 416 mldv2cleanup $swp1 [all …]
|
/openbmc/qemu/tests/rocker/ |
H A D | tut.dot | 4 sw1:swp1 -- h1:swp1; 5 sw1:swp2 -- h2:swp1; 6 sw1:swp3 -- h3:swp1; 7 sw1:swp4 -- h4:swp1;
|