Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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 …]
Dethtool.sh28 simple_if_init $h2 192.0.2.2/24
33 simple_if_fini $h2 192.0.2.2/24
39 h2=${NETIFS[p2]}
57 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
62 ethtool_set $h2 speed $speed autoneg off
65 setup_wait_dev_with_timeout $h2
72 ethtool -s $h2 autoneg on
82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0))
87 ethtool_set $h2 speed $speed2 autoneg off
90 setup_wait_dev_with_timeout $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_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_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 …]
Dtc_police.sh61 simple_if_init $h2 198.51.100.1/24
63 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2
65 tc qdisc add dev $h2 clsact
70 tc qdisc del dev $h2 clsact
72 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
74 simple_if_fini $h2 198.51.100.1/24
130 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
137 local t0=$(tc_rule_stats_get $h2 1 ingress .bytes)
139 local t1=$(tc_rule_stats_get $h2 1 ingress .bytes)
150 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
[all …]
Dsch_ets_core.sh82 local dst_mac=$(mac_get $h2)
191 simple_if_init $h2
192 mtu_set $h2 9900
194 vlan_create $h2 1$i v$h2 $(dip $i)/28
203 vlan_destroy $h2 1$i
205 mtu_restore $h2
206 simple_if_fini $h2
260 h2=${NETIFS[p4]}
263 hut=$h2
Dpedit_dsfield.sh51 simple_if_init $h2 192.0.2.2/28 2001:db8:1::2/64
52 tc qdisc add dev $h2 clsact
57 tc qdisc del dev $h2 clsact
58 simple_if_fini $h2 192.0.2.2/28 2001:db8:1::2/64
91 h2=${NETIFS[p4]}
93 h2mac=$(mac_get $h2)
136 tc_rule_handle_stats_get "dev $h2 ingress" 101)
158 tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \
163 tc filter del dev $h2 ingress pref 1
231 tc filter add dev $h2 ingress handle 101 pref 1 prot ip \
[all …]
Dpedit_l4port.sh47 simple_if_init $h2 192.0.2.2/28 2001:db8:1::2/64
48 tc qdisc add dev $h2 clsact
53 tc qdisc del dev $h2 clsact
54 simple_if_fini $h2 192.0.2.2/28 2001:db8:1::2/64
87 h2=${NETIFS[p4]}
89 h2mac=$(mac_get $h2)
130 tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \
140 tc_rule_handle_stats_get "dev $h2 ingress" 101)
149 tc filter del dev $h2 ingress pref 1
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
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]}
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/lib/crypto/
Dpoly1305-donna64.c42 u64 h0, h1, h2; in poly1305_core_blocks() local
57 h2 = state->h64[2]; in poly1305_core_blocks()
71 h2 += (((t1 >> 24)) & 0x3ffffffffffULL) | hibit64; in poly1305_core_blocks()
77 d = (u128)h2 * s1; in poly1305_core_blocks()
82 d = (u128)h2 * s2; in poly1305_core_blocks()
87 d = (u128)h2 * r0; in poly1305_core_blocks()
98 h2 = (u64)d2 & 0x3ffffffffffULL; in poly1305_core_blocks()
109 state->h64[2] = h2; in poly1305_core_blocks()
117 u64 h0, h1, h2, c; in poly1305_core_emit() local
124 h2 = state->h64[2]; in poly1305_core_emit()
[all …]
Dpoly1305-donna32.c38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
60 h2 = state->h[2]; in poly1305_core_blocks()
68 h2 += (get_unaligned_le32(&input[6]) >> 4) & 0x3ffffff; in poly1305_core_blocks()
74 ((u64)h2 * s3) + ((u64)h3 * s2) + in poly1305_core_blocks()
77 ((u64)h2 * s4) + ((u64)h3 * s3) + in poly1305_core_blocks()
80 ((u64)h2 * r0) + ((u64)h3 * s4) + in poly1305_core_blocks()
83 ((u64)h2 * r1) + ((u64)h3 * r0) + in poly1305_core_blocks()
86 ((u64)h2 * r2) + ((u64)h3 * r1) + in poly1305_core_blocks()
97 h2 = (u32)d2 & 0x3ffffff; in poly1305_core_blocks()
114 state->h[2] = h2; in poly1305_core_blocks()
[all …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
119 ldp $h2,x17,[$ctx,#16] // [along with is_base2_26]
127 lsr x16,$h2,#32
133 mov w16,w#$h2
149 csel $h2,$h2,$d2,eq
162 adc $h2,$h2,$padbit
179 mul $t0,$h2,$s1 // h2*5*r1
181 mul $t1,$h2,$r0 // h2*r0
187 and $h2,$d2,#3
191 adc $h2,$h2,xzr
[all …]
/kernel/linux/linux-5.10/arch/mips/crypto/
Dpoly1305-mips.pl226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
279 ld $h2,16($ctx)
360 dsrl $tmp1,$h2,2 # modulo-scheduled reduction
361 andi $h2,$h2,3
375 daddu $d2,$h2,$padbit
388 mfhi ($h2,$r1,$d0)
401 daddu $h2,$tmp2
406 daddu $h2,$tmp1
409 daddu $h2,$tmp0
413 daddu $h2,$tmp2
[all …]
/kernel/linux/linux-5.10/lib/
Dtest_hash.c72 u32 h0 = (u32)h64, h1, h2; in test_int_hash() local
77 hash_or[1][0] |= h2 = __hash_32_generic(h0); in test_int_hash()
79 if (h1 != h2) { in test_int_hash()
81 h0, h1, h2); in test_int_hash()
98 h2 = hash_32_generic(h0, k); in test_int_hash()
100 if (h1 != h2) { in test_int_hash()
102 " = %#x", h0, k, h1, h2); in test_int_hash()
106 if (h2 > m) { in test_int_hash()
120 h2 = hash_64_generic(h64, k); in test_int_hash()
122 if (h1 != h2) { in test_int_hash()
[all …]
/kernel/linux/linux-5.10/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 \
97 offload_count=$(tc -j -s filter show dev $h2 ingress |
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
197 h2=${NETIFS[p4]}
226 ping_test $h2 192.0.2.130
234 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
214 h2=${NETIFS[p4]}
244 ping_test $h2 192.0.2.66 " from H2"
264 start_traffic $h2.222 192.0.2.65 192.0.2.66 $h3mac
[all …]
Dqos_dscp_router.sh83 simple_if_init $h2 192.0.2.18/28
84 tc qdisc add dev $h2 clsact
85 dscp_capture_install $h2 0
86 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17
91 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17
92 dscp_capture_uninstall $h2 0
93 tc qdisc del dev $h2 clsact
94 simple_if_fini $h2 192.0.2.18/28
140 h2=${NETIFS[p4]}
232 dscp_ping_test v$h1 192.0.2.1 192.0.2.18 $prio $reprio $h1 $h2
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
109 h2=${NETIFS[p4]}
183 dscp_ping_test v$h1 192.0.2.1 192.0.2.2 $prio $h1 $h2
/kernel/linux/linux-5.10/arch/arm/crypto/
Dpoly1305-armv4.pl178 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
207 adcs $r1,$r1,$h2,lsl#20
208 mov $r2,$h2,lsr#12
220 movne $h2,$r2
269 adcs $h2,$h2,r3
294 adcs $h2,$h2,r2
306 umlal r2,r3,$h2,$s3
309 umlal r0,r1,$h2,$s2
316 adc lr,r3,#0 @ future $h2
324 umlal r0,r1,$h2,$r0
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dvrf_route_leaking.sh176 for ns in h1 h2 r1 r2; do
216 for ns in h1 h2 r1; do
235 ip -netns h2 link add eth0 type veth peer name r1h2
236 ip -netns h2 link set r1h2 netns r1 name eth1 up
252 ip -netns h2 addr add dev eth0 ${H2_N2_IP}/24
253 ip -netns h2 -6 addr add dev eth0 ${H2_N2_IP6}/64 nodad
254 ip -netns h2 link set eth0 up
257 ip -netns h2 route add default via ${R1_N2_IP} dev eth0
258 ip -netns h2 -6 route add default via ${R1_N2_IP6} dev eth0
297 for ns in h1 h2 r1 r2; do
[all …]

12345