Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 25 of 68) sorted by relevance

123

/tools/testing/selftests/net/forwarding/
Dtc_flower.sh25 simple_if_init $h2 192.0.2.2/24 198.51.100.2/24
26 tc qdisc add dev $h2 clsact
31 tc qdisc del dev $h2 clsact
32 simple_if_fini $h2 192.0.2.2/24 198.51.100.2/24
41 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
43 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
49 tc_check_packets "dev $h2 ingress" 101 1
52 tc_check_packets "dev $h2 ingress" 102 1
55 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
56 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
[all …]
Dtc_chains.sh24 simple_if_init $h2 192.0.2.2/24
25 tc qdisc add dev $h2 clsact
30 tc qdisc del dev $h2 clsact
31 simple_if_fini $h2 192.0.2.2/24
38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
44 tc_check_packets "dev $h2 ingress" 1101 1
47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
59 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
61 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
[all …]
Drouter.sh38 ip link set dev $h2 master vrf-h2
40 ip link set dev vrf-h2 up
41 ip link set dev $h2 up
43 ip address add 198.51.100.2/24 dev $h2
44 ip address add 2001:db8:2::2/64 dev $h2
46 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
47 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
52 ip route del 2001:db8:1::/64 vrf vrf-h2
53 ip route del 192.0.2.0/24 vrf vrf-h2
55 ip address del 2001:db8:2::2/64 dev $h2
[all …]
Drouter_broadcast.sh36 ip link set dev $h2 master vrf-h2
38 ip link set dev vrf-h2 up
39 ip link set dev $h2 up
41 ip address add 198.51.100.2/24 dev $h2
43 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
44 ip route add 198.51.200.0/24 vrf vrf-h2 nexthop via 198.51.100.1
49 ip route del 198.51.200.0/24 vrf vrf-h2
50 ip route del 192.0.2.0/24 vrf vrf-h2
52 ip address del 198.51.100.2/24 dev $h2
54 ip link set dev $h2 down
[all …]
Drouter_vid_1.sh35 ip link set dev vrf-h2 up
37 ip link set dev $h2 up
38 vlan_create $h2 1 vrf-h2 198.51.100.2/24 2001:db8:2::2/64
40 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
41 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
46 ip route del 2001:db8:1::/64 vrf vrf-h2
47 ip route del 192.0.2.0/24 vrf vrf-h2
49 vlan_destroy $h2 1
50 ip link set dev $h2 down
52 ip link set dev vrf-h2 down
[all …]
Drouter_multicast.sh68 simple_if_init $h2 198.51.100.18/28 2001:db8:2::2/64
70 ip route add 198.51.100.0/28 vrf v$h2 nexthop via 198.51.100.17
71 ip route add 198.51.100.32/28 vrf v$h2 nexthop via 198.51.100.17
73 ip route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
74 ip route add 2001:db8:3::/64 vrf v$h2 nexthop via 2001:db8:2::1
76 tc qdisc add dev $h2 ingress
81 tc qdisc del dev $h2 ingress
83 ip route del 2001:db8:3::/64 vrf v$h2
84 ip route del 2001:db8:1::/64 vrf v$h2
86 ip route del 198.51.100.32/28 vrf v$h2
[all …]
Drouter_bridge.sh27 simple_if_init $h2 192.0.2.130/28 2001:db8:2::2/64
28 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129
29 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
34 ip -6 route del 2001:db8:1::/64 vrf v$h2
35 ip -4 route del 192.0.2.0/28 vrf v$h2
36 simple_if_fini $h2 192.0.2.130/28 2001:db8:2::2/64
70 h2=${NETIFS[p4]}
Dbridge_igmp.sh23 simple_if_init $h2 192.0.2.2/24 2001:db8:1::2/64
28 simple_if_fini $h2 192.0.2.2/24 2001:db8:1::2/64
57 h2=${NETIFS[p4]}
74 ip address del dev $h2 $TEST_GROUP/32 2>&1 1>/dev/null
116 ip address add dev $h2 $TEST_GROUP/32 autojoin
123 mcast_packet_test $TEST_GROUP_MAC $TEST_GROUP $h1 $h2
132 ip address del dev $h2 $TEST_GROUP/32
139 mcast_packet_test $TEST_GROUP_MAC $TEST_GROUP $h1 $h2
Dbridge_vlan_unaware.sh20 simple_if_init $h2 192.0.2.2/24 2001:db8:1::2/64
25 simple_if_fini $h2 192.0.2.2/24 2001:db8:1::2/64
55 h2=${NETIFS[p4]}
89 learning_test "br0" $swp1 $h1 $h2
94 flood_test $swp2 $h1 $h2
Drouter_bridge_vlan.sh30 simple_if_init $h2 192.0.2.130/28 2001:db8:2::2/64
31 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129
32 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
37 ip -6 route del 2001:db8:1::/64 vrf v$h2
38 ip -4 route del 192.0.2.0/28 vrf v$h2
39 simple_if_fini $h2 192.0.2.130/28 2001:db8:2::2/64
77 h2=${NETIFS[p4]}
Dtc_flower_router.sh27 simple_if_init $h2 192.0.2.1/24
29 ip route add 192.0.1.0/24 vrf v$h2 nexthop via 192.0.2.2
30 ip route add 192.0.3.0/24 vrf v$h2 nexthop via 192.0.2.2
35 ip route del 192.0.3.0/24 vrf v$h2
36 ip route del 192.0.1.0/24 vrf v$h2
38 simple_if_fini $h2 192.0.2.1/24
102 $MZ $h2 -c 1 -p 64 -a $h2mac -b $rp2mac -A 192.0.2.1 -B 192.0.3.1 \
122 h2=${NETIFS[p3]}
130 h2mac=$(mac_get $h2)
Dtc_actions.sh24 simple_if_init $h2 192.0.2.2/24
25 tc qdisc add dev $h2 clsact
30 tc qdisc del dev $h2 clsact
31 simple_if_fini $h2 192.0.2.2/24
56 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
62 tc_check_packets "dev $h2 ingress" 101 1
72 tc_check_packets "dev $h2 ingress" 101 1
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
157 h2=${NETIFS[p4]}
160 h2mac=$(mac_get $h2)
Dtc_shblocks.sh23 simple_if_init $h2 192.0.2.1/24
28 simple_if_fini $h2 192.0.2.1/24
62 $MZ $h2 -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
88 $MZ $h2 -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
106 h2=${NETIFS[p4]}
109 h2mac=$(mac_get $h2)
Dbridge_vlan_aware.sh21 simple_if_init $h2 192.0.2.2/24 2001:db8:1::2/64
26 simple_if_fini $h2 192.0.2.2/24 2001:db8:1::2/64
57 h2=${NETIFS[p4]}
91 learning_test "br0" $swp1 $h1 $h2
96 flood_test $swp2 $h1 $h2
133 $MZ $h2 -c 1 -p 64 -a $mac -t ip -q
Dbridge_sticky_fdb.sh19 ip link set dev $h2 up
26 ip link set dev $h2 down
37 h2=${NETIFS[p3]}
54 $MZ $h2 -c 1 -a $TEST_MAC -t arp "request" -q
Dbridge_port_isolation.sh21 simple_if_init $h2 192.0.2.2/24 2001:db8:1::2/64
26 simple_if_fini $h2 192.0.2.2/24 2001:db8:1::2/64
75 h2=${NETIFS[p4]}
134 flood_test_do false $mac $ip $h1 $h2
138 flood_test_do true $mac $ip $h3 $h2
Dmirror_vlan.sh25 h2=${NETIFS[p4]}
41 vlan_create $h2 111 v$h2 192.0.2.18/28
49 vlan_destroy $h2 111
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh33 simple_if_init $h2 192.0.2.2/24 198.51.100.2/24
34 tc qdisc add dev $h2 clsact
39 tc qdisc del dev $h2 clsact
40 simple_if_fini $h2 192.0.2.2/24 198.51.100.2/24
100 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
106 tc_check_packets "dev $h2 ingress" 101 1
109 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
115 tc_check_packets "dev $h2 ingress" 101 2
121 tc_check_packets "dev $h2 ingress" 102 1
124 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
[all …]
/tools/testing/selftests/drivers/net/mlxsw/
Dtc_flower_scale.sh26 simple_if_init $h2
27 tc qdisc add dev $h2 clsact
32 tc qdisc del dev $h2 clsact
33 simple_if_fini $h2
39 h2=${NETIFS[p2]}
77 filter add dev $h2 ingress \
104 tc -j -s filter show dev $h2 ingress |
Drouter_scale.sh20 simple_if_init $h2 192.0.2.1/24
21 tc qdisc add dev $h2 handle ffff: ingress
26 tc qdisc del dev $h2 handle ffff: ingress
27 simple_if_fini $h2 192.0.2.1/24
54 h2=${NETIFS[p4]}
126 tc filter add dev $h2 ingress protocol ip pref 1 flower \
147 tc_check_packets "dev $h2 ingress" 1 $route_count
150 tc filter del dev $h2 ingress protocol ip pref 1 flower \
Dqos_dscp_router.sh77 simple_if_init $h2 192.0.2.18/28
78 tc qdisc add dev $h2 clsact
79 dscp_capture_install $h2 0
80 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17
85 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17
86 dscp_capture_uninstall $h2 0
87 tc qdisc del dev $h2 clsact
88 simple_if_fini $h2 192.0.2.18/28
128 h2=${NETIFS[p4]}
220 dscp_ping_test v$h1 192.0.2.1 192.0.2.18 $prio $reprio $h1 $h2
Dqos_mc_aware.sh87 simple_if_init $h2
88 mtu_set $h2 10000
90 vlan_create $h2 111 v$h2 192.0.2.129/28
91 ip link set dev $h2.111 type vlan egress-qos-map 0:1
96 vlan_destroy $h2 111
98 mtu_restore $h2
99 simple_if_fini $h2
192 h2=${NETIFS[p4]}
221 ping_test $h2 192.0.2.130
229 start_traffic $h2.111 192.0.2.129 192.0.2.130 $h3mac
[all …]
Dqos_ets_strict.sh77 simple_if_init $h2
78 mtu_set $h2 10000
80 vlan_create $h2 222 v$h2 192.0.2.65/28
81 ip link set dev $h2.222 type vlan egress-qos-map 0:2
86 vlan_destroy $h2 222
88 mtu_restore $h2
89 simple_if_fini $h2
205 h2=${NETIFS[p4]}
235 ping_test $h2 192.0.2.66 " from H2"
255 start_traffic $h2.222 192.0.2.65 192.0.2.66 $h3mac
[all …]
Dqos_dscp_bridge.sh53 simple_if_init $h2 192.0.2.2/28
54 tc qdisc add dev $h2 clsact
55 dscp_capture_install $h2 20
60 dscp_capture_uninstall $h2 20
61 tc qdisc del dev $h2 clsact
62 simple_if_fini $h2 192.0.2.2/28
107 h2=${NETIFS[p4]}
181 dscp_ping_test v$h1 192.0.2.1 192.0.2.2 $prio $h1 $h2
Dblackhole_routes.sh69 simple_if_init $h2 198.51.100.1/24 2001:db8:2::1/64
71 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2
72 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2
77 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2
78 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
80 simple_if_fini $h2 198.51.100.1/24 2001:db8:2::1/64
171 h2=${NETIFS[p4]}

123