Searched refs:h1 (Results 26 - 50 of 204) sorted by relevance

123456789

/linux-master/tools/testing/selftests/net/forwarding/
H A Drouter_bridge_vlan_upper_pvid.sh6 # | + $h1.10 | +----------------------+
10 # | + $h1 | | | 2001:db8:2::2/64 |
39 simple_if_init $h1
40 vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64
41 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
42 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
47 ip -6 route del 2001:db8:2::/64 vrf v$h1
48 ip -4 route del 192.0.2.128/28 vrf v$h1
49 vlan_destroy $h1 1
[all...]
H A Drouter_bridge_pvid_vlan_upper.sh6 # | + $h1.10 | +----------------------+
10 # | + $h1 | | | 2001:db8:2::2/64 |
34 simple_if_init $h1
35 vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64
36 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
37 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
42 ip -6 route del 2001:db8:2::/64 vrf v$h1
43 ip -4 route del 192.0.2.128/28 vrf v$h1
44 vlan_destroy $h1 1
[all...]
H A Dtc_actions.sh18 simple_if_init $h1 192.0.2.1/24
19 tc qdisc add dev $h1 clsact
24 tc qdisc del dev $h1 clsact
25 simple_if_fini $h1 192.0.2.1/24
68 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
78 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
98 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
107 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
136 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
145 $MZ $h1
[all...]
H A Drouter_bridge.sh6 # | + $h1 | | + $h2 |
43 simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64
44 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
45 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
50 ip -6 route del 2001:db8:2::/64 vrf v$h1
51 ip -4 route del 192.0.2.128/28 vrf v$h1
52 simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64
133 h1=${NETIFS[p1]}
165 ping_test $h1 192.0.2.130
170 ping6_test $h1 200
[all...]
H A Drouter.sh7 # | $h1 + | | + $h2 |
42 vrf_create "vrf-h1"
43 ip link set dev $h1 master vrf-h1
45 ip link set dev vrf-h1 up
46 ip link set dev $h1 up
48 ip address add 192.0.2.2/24 dev $h1
49 ip address add 2001:db8:1::2/64 dev $h1
51 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
52 ip route add 2001:db8:2::/64 vrf vrf-h1 nextho
[all...]
H A Dgre_custom_multipath_hash.sh12 # | $h1 + |
89 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64
90 ip route add vrf v$h1 default via 198.51.100.1 dev $h1
91 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1
96 ip -6 route del vrf v$h1 default
97 ip route del vrf v$h1 default
98 simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64
225 h1
[all...]
H A Dip6gre_custom_multipath_hash.sh12 # | $h1 + |
89 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64
90 ip route add vrf v$h1 default via 198.51.100.1 dev $h1
91 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1
96 ip -6 route del vrf v$h1 default
97 ip route del vrf v$h1 default
98 simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64
227 h1
[all...]
H A Dbridge_igmp.sh39 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
44 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
79 h1=${NETIFS[p1]}
115 mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2
131 mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2
207 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
224 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
226 $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW" -q
245 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
247 $MZ $h1
[all...]
H A Dip6_forward_instats_vrf.sh21 simple_if_init $h1 2001:1:1::2/64
22 ip -6 route add vrf v$h1 2001:1:2::/64 via 2001:1:1::1
27 ip -6 route del vrf v$h1 2001:1:2::/64 via 2001:1:1::1
28 simple_if_fini $h1 2001:1:1::2/64
63 h1=${NETIFS[p1]}
94 local vrf_name=$(master_name_get $h1)
111 local vrf_name=$(master_name_get $h1)
129 local vrf_name=$(master_name_get $h1)
148 local vrf_name=$(master_name_get $h1)
165 ping6_test $h1 200
[all...]
H A Dtc_flower_cfm.sh11 simple_if_init $h1
16 simple_if_fini $h1
66 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
68 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
77 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
104 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
106 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
108 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
120 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q
149 $MZ $h1
[all...]
H A Dmirror_gre_lag_lacp.sh9 # | + $h1.333 | | $h1.555 + |
12 # | $h1 |
82 vlan_host_create $h1 333 vrf-h1 192.0.2.1/28
83 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2
88 ip -4 route del 192.0.2.16/28 vrf vrf-h1
89 vlan_host_destroy $h1 333 vrf-h1
94 vlan_host_create $h1 55
[all...]
H A Dmirror_gre_bridge_1q_lag.sh10 # | + $h1.333 | | $h1.555 + |
13 # | $h1 |
84 vlan_host_create $h1 333 vrf-h1 192.0.2.1/28
85 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2
90 ip -4 route del 192.0.2.16/28 vrf vrf-h1
91 vlan_host_destroy $h1 333 vrf-h1
96 vlan_host_create $h1 55
[all...]
/linux-master/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh14 h1=${NETIFS[p1]}
144 ip link set $h1 up
153 ip link add link $h1 name $h1.100 type vlan id 100
154 ip link set $h1.100 up
156 ip link add link $h1 name $h1.200 type vlan id 200
157 ip link set $h1.200 up
181 ip link del $h1.200
182 ip link del $h1
[all...]
H A Dbasic_qos.sh18 h1=${NETIFS[p1]}
30 simple_if_init $h1 $H1_IPV4/24 $H1_IPV6/64
35 simple_if_fini $h1 $H1_IPV4/24 $H1_IPV6/64
52 vlan_create $h1 $vid
53 simple_if_init $h1.$vid $H1_IPV4/24 $H1_IPV6/64
54 ip link set $h1.$vid type vlan \
63 simple_if_fini $h1.$vid $H1_IPV4/24 $H1_IPV6/64
64 vlan_destroy $h1 $vid
91 tc qdisc add dev ${h1}.100 clsact
92 tc filter add dev ${h1}
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dblackhole_routes.sh9 # | + $h1 |
54 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
56 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
57 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
62 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
63 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
65 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
108 ping_test $h1 198.51.100.1 ": h1->h2"
113 ping6_test $h1 200
[all...]
H A Dsharedbuffer.sh24 simple_if_init $h1 192.0.1.1/24
29 simple_if_fini $h1 192.0.1.1/24
106 $MZ $h1 -c 1 -p 10 -a $h1mac -b $h2mac -A 192.0.1.1 -B 192.0.1.2 \
114 log_test "physical port's($h1) ingress pool"
134 $MZ $h1 -c 1 -p 10 -a $h1mac -b $h2mac -A 192.0.1.1 -B 192.0.1.2 \
142 log_test "physical port's($h1) ingress TC - IP packet"
162 $MZ $h1 -c 1 -p 10 -a $h1mac -A 192.0.1.1 -t arp -q
169 log_test "physical port's($h1) ingress TC - ARP packet"
184 h1=${NETIFS[p1]}
187 h1mac=$(mac_get $h1)
[all...]
H A Ddevlink_trap_l3_exceptions.sh10 # | + $h1 |
63 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
65 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
66 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
68 tc qdisc add dev $h1 clsact
73 tc qdisc del dev $h1 clsact
75 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
76 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
78 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
121 h1
[all...]
H A Ddevlink_trap_control.sh10 # | + $h1 |
95 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
97 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
98 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
103 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
104 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
106 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
145 h1=${NETIFS[p1]}
173 devlink_trap_stats_test "STP" "stp" $MZ $h1 -c 1 -t bpdu -q
191 local h1mac=$(mac_get $h1)
[all...]
H A Drouter_bridge_lag.sh30 config_enslave $h1 lag1
H A Dqos_dscp_bridge.sh11 # verified at $h1--it should match the original tag.
15 # | + $h1 | | $h2 + |
39 simple_if_init $h1 192.0.2.1/28
40 tc qdisc add dev $h1 clsact
41 dscp_capture_install $h1 10
46 dscp_capture_uninstall $h1 10
47 tc qdisc del dev $h1 clsact
48 simple_if_fini $h1 192.0.2.1/28
93 h1=${NETIFS[p1]}
119 ping_test $h1 192.
[all...]
H A Dtc_action_hw_stats.sh20 simple_if_init $h1 192.0.2.1/24
25 simple_if_fini $h1 192.0.2.1/24
60 $MZ $h1 -c 1 -p 64 -a $h1mac -b $swp1mac -A 192.0.2.1 -B 192.0.2.2 \
99 h1=${NETIFS[p1]}
102 h1mac=$(mac_get $h1)
H A Dqos_defprio.sh10 # | + $h1 |
34 simple_if_init $h1 192.0.2.1/28
39 simple_if_fini $h1 192.0.2.1/28
57 h1=${NETIFS[p1]}
78 ping_test $h1 192.0.2.2
94 mausezahn -q $h1 -d 100m -c 10 -t arp reply
/linux-master/tools/testing/selftests/drivers/net/hw/
H A Dethtool_mm.sh82 manual_with_verification $h1 $h2
87 manual_with_verification $h2 $h1
116 manual_without_verification $h1 $h2
121 manual_without_verification $h2 $h1
155 manual_failed_verification $h1 $h2
160 manual_failed_verification $h2 $h1
199 lldptool -T -i $h1 -V addEthCaps addFragSize=$add_frag_size >/dev/null
203 $(expected_add_frag_size $h1 $add_frag_size))
214 lldptool -L -i $h1 adminStatus=rxtx >/dev/null
218 lldptool -T -i $h1
[all...]
/linux-master/tools/testing/selftests/net/
H A Dicmp_redirect.sh10 # | h1 |--------------+ | 10.1.1.0/30 2001:db8:1::0/126
18 # Route from h1 to h2 goes through r1, eth1 - connection between r1 and r2.
20 # from r1 to h1 telling h1 to use r2 when talking to h2.
144 cleanup_ns $h1 $h2 $r1 $r2
171 setup_ns h1 h2 r1 r2
172 for ns in $h1 $h2 $r1 $r2; do
192 ip -netns $h1 li add eth0 type veth peer name r1h1
193 ip -netns $h1 li set r1h1 netns $r1 name eth0 up
195 ip -netns $h1 l
[all...]
/linux-master/lib/
H A Dtest_hash.c63 u32 h1; member in struct:test_hash_params
76 KUNIT_EXPECT_EQ_MSG(test, params->h1, params->h2,
78 params->h0, params->h1, params->h2);
89 KUNIT_EXPECT_EQ_MSG(test, params->h1, params->h2,
91 *params->h64, *k, params->h1, params->h2);
93 KUNIT_EXPECT_LE_MSG(test, params->h1, params->h2,
95 *params->h64, *k, params->h1, *m);
116 hash_or[0][0] |= params.h1 = __hash_32(params.h0);
126 hash_or[0][k] |= params.h1 = hash_32(params.h0, k);
127 KUNIT_EXPECT_LE_MSG(test, params.h1,
[all...]

Completed in 219 milliseconds

123456789