Home
last modified time | relevance | path

Searched refs:h1 (Results 1 – 25 of 221) sorted by relevance

123456789

/linux-5.19.10/tools/testing/selftests/net/forwarding/
Dethtool.sh18 simple_if_init $h1 192.0.2.1/24
23 simple_if_fini $h1 192.0.2.1/24
38 h1=${NETIFS[p1]}
57 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
61 ethtool_set $h1 speed $speed autoneg off
64 setup_wait_dev_with_timeout $h1
66 ping_do $h1 192.0.2.2
73 ethtool -s $h1 autoneg on
82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0))
86 ethtool_set $h1 speed $speed1 autoneg off
[all …]
Dloopback.sh14 simple_if_init $h1 192.0.2.1/24
15 tc qdisc add dev $h1 clsact
20 tc qdisc del dev $h1 clsact
21 simple_if_fini $h1 192.0.2.1/24
38 tc filter add dev $h1 ingress protocol arp pref 1 handle 101 flower \
41 $MZ $h1 -c 1 -t arp -q
43 tc_check_packets "dev $h1 ingress" 101 1
46 ethtool -K $h1 loopback on
49 setup_wait_dev $h1
51 $MZ $h1 -c 1 -t arp -q
[all …]
Dbridge_locked_port.sh11 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
12 vlan_create $h1 100 v$h1 198.51.100.1/24
17 vlan_destroy $h1 100
18 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
57 h1=${NETIFS[p1]}
89 ping_do $h1 192.0.2.2
94 ping_do $h1 192.0.2.2
97 bridge fdb add `mac_get $h1` dev $swp1 master static
99 ping_do $h1 192.0.2.2
103 bridge fdb del `mac_get $h1` dev $swp1 master static
[all …]
Dcustom_multipath_hash.sh56 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64
57 ip route add vrf v$h1 default via 198.51.100.1 dev $h1
58 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1
63 ip -6 route del vrf v$h1 default
64 ip route del vrf v$h1 default
65 simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64
136 h1=${NETIFS[p1]}
174 ping_test $h1 203.0.113.2
179 ping6_test $h1 2001:db8:4::2
184 ip vrf exec v$h1 $MZ $h1 -q -p 64 \
[all …]
Dno_forwarding.sh9 h1=${NETIFS[p1]}
93 local smac=$(mac_get $h1)
95 local h1_ipv6_lladdr=$(ipv6_lladdr_get $h1)
102 send_non_ip $h1 $smac $dmac
103 send_non_ip $h1 $smac $NON_IP_MC
104 send_non_ip $h1 $smac $BC
105 send_uc_ipv4 $h1 $dmac
106 send_mc_ipv4 $h1
107 send_uc_ipv6 $h1 $dmac
108 send_mc_ipv6 $h1
[all …]
Dbridge_mld.sh69 simple_if_init $h1 2001:db8:1::1/64
74 simple_if_fini $h1 2001:db8:1::1/64
114 h1=${NETIFS[p1]}
171 mldv2include_prepare $h1
207 mldv2include_prepare $h1
224 mldv2include_prepare $h1
226 $MZ $h1 -c 1 $MZPKT_ALLOW -q
245 mldv2include_prepare $h1
247 $MZ $h1 -c 1 $MZPKT_IS_INC2 -q
265 mldv2exclude_prepare $h1
[all …]
Dlocal_termination.sh47 h1=${NETIFS[p1]}
108 local smac=$(mac_get $h1)
113 mc_route_prepare $h1
116 send_uc_ipv4 $h1 $rcv_dmac
117 send_uc_ipv4 $h1 $MACVLAN_ADDR
118 send_uc_ipv4 $h1 $UNKNOWN_UC_ADDR1
121 send_uc_ipv4 $h1 $UNKNOWN_UC_ADDR2
122 mc_send $h1 $UNKNOWN_IPV4_MC_ADDR2
123 mc_send $h1 $UNKNOWN_IPV6_MC_ADDR2
127 mc_send $h1 $JOINED_IPV4_MC_ADDR
[all …]
Drouter_broadcast.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1
24 ip route del 198.51.200.0/24 vrf vrf-h1
25 ip route del 198.51.100.0/24 vrf vrf-h1
27 ip address del 192.0.2.2/24 dev $h1
29 ip link set dev $h1 down
[all …]
Drouter_nh.sh16 ip link set dev $h1 master vrf-h1
18 ip link set dev vrf-h1 up
19 ip link set dev $h1 up
21 ip address add 192.0.2.2/24 dev $h1
22 ip address add 2001:db8:1::2/64 dev $h1
24 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
25 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
30 ip route del 2001:db8:2::/64 vrf vrf-h1
31 ip route del 198.51.100.0/24 vrf vrf-h1
33 ip address del 2001:db8:1::2/64 dev $h1
[all …]
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]}
118 mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2
134 mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2
210 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
227 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
229 $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW" -q
248 v3include_prepare $h1 $ALL_MAC $ALL_GROUP
250 $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_INC2" -q
[all …]
Dgre_custom_multipath_hash.sh89 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=${NETIFS[p1]}
269 ping_test $h1 203.0.113.2
274 ping6_test $h1 2001:db8:2::2
279 ip vrf exec v$h1 $MZ $h1 -q -p 64 \
[all …]
Dip6gre_custom_multipath_hash.sh89 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=${NETIFS[p1]}
271 ping_test $h1 203.0.113.2
276 ping6_test $h1 2001:db8:2::2
281 ip vrf exec v$h1 $MZ $h1 -q -p 64 \
[all …]
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_control.sh94 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
96 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
97 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
102 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
103 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
105 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
144 h1=${NETIFS[p1]}
172 devlink_trap_stats_test "STP" "stp" $MZ $h1 -c 1 -t bpdu -q
190 local h1mac=$(mac_get $h1)
192 devlink_trap_stats_test "LACP" "lacp" $MZ $h1 -c 1 \
[all …]
Drif_mac_profiles_occ.sh15 h1=${NETIFS[p1]}
20 sysctl_set net.ipv6.conf.$h1.disable_ipv6 1
23 ip link set $h1 up
32 ip link set $h1 down
35 sysctl_restore net.ipv6.conf.$h1.disable_ipv6
51 link add link $h1 name $h1.$vlan \
53 address add 192.0.$m.1/24 dev $h1.$vlan
63 local h1_10_mac=$(mac_get $h1.10)
67 ip link set $h1.10 address 00:12:34:56:78:99
72 ip link set $h1.10 address $h1_10_mac
[all …]
Dsch_offload.sh23 h=$(qdisc_stats_get $h1 "$handle" .handle)
27 offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
37 local offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
42 local unoffloaded=$(tc q sh dev $h1 invisible |
57 tc qdisc add dev $h1 $locus handle $handle \
60 tc qdisc del dev $h1 $locus
68 tc qdisc add dev $h1 $locus handle $handle \
71 tc qdisc del dev $h1 $locus
79 tc qdisc add dev $h1 $locus handle $handle \
82 tc qdisc del dev $h1 $locus
[all …]
/linux-5.19.10/tools/testing/selftests/drivers/net/dsa/
Dbridge_locked_port.sh11 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
12 vlan_create $h1 100 v$h1 198.51.100.1/24
17 vlan_destroy $h1 100
18 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
57 h1=${NETIFS[p1]}
89 ping_do $h1 192.0.2.2
94 ping_do $h1 192.0.2.2
97 bridge fdb add `mac_get $h1` dev $swp1 master static
99 ping_do $h1 192.0.2.2
103 bridge fdb del `mac_get $h1` dev $swp1 master static
[all …]
Dno_forwarding.sh9 h1=${NETIFS[p1]}
93 local smac=$(mac_get $h1)
95 local h1_ipv6_lladdr=$(ipv6_lladdr_get $h1)
102 send_non_ip $h1 $smac $dmac
103 send_non_ip $h1 $smac $NON_IP_MC
104 send_non_ip $h1 $smac $BC
105 send_uc_ipv4 $h1 $dmac
106 send_mc_ipv4 $h1
107 send_uc_ipv6 $h1 $dmac
108 send_mc_ipv6 $h1
[all …]
Dbridge_mld.sh69 simple_if_init $h1 2001:db8:1::1/64
74 simple_if_fini $h1 2001:db8:1::1/64
114 h1=${NETIFS[p1]}
171 mldv2include_prepare $h1
207 mldv2include_prepare $h1
224 mldv2include_prepare $h1
226 $MZ $h1 -c 1 $MZPKT_ALLOW -q
245 mldv2include_prepare $h1
247 $MZ $h1 -c 1 $MZPKT_IS_INC2 -q
265 mldv2exclude_prepare $h1
[all …]
Dlocal_termination.sh47 h1=${NETIFS[p1]}
108 local smac=$(mac_get $h1)
113 mc_route_prepare $h1
116 send_uc_ipv4 $h1 $rcv_dmac
117 send_uc_ipv4 $h1 $MACVLAN_ADDR
118 send_uc_ipv4 $h1 $UNKNOWN_UC_ADDR1
121 send_uc_ipv4 $h1 $UNKNOWN_UC_ADDR2
122 mc_send $h1 $UNKNOWN_IPV4_MC_ADDR2
123 mc_send $h1 $UNKNOWN_IPV6_MC_ADDR2
127 mc_send $h1 $JOINED_IPV4_MC_ADDR
[all …]
/linux-5.19.10/lib/crypto/
Dpoly1305-donna64.c42 u64 h0, h1, h2; in poly1305_core_blocks() local
56 h1 = state->h64[1]; in poly1305_core_blocks()
70 h1 += ((t0 >> 44) | (t1 << 20)) & 0xfffffffffffULL; in poly1305_core_blocks()
75 d = (u128)h1 * s2; in poly1305_core_blocks()
80 d = (u128)h1 * r0; in poly1305_core_blocks()
85 d = (u128)h1 * r1; in poly1305_core_blocks()
95 h1 = (u64)d1 & 0xfffffffffffULL; in poly1305_core_blocks()
102 h1 += c; in poly1305_core_blocks()
108 state->h64[1] = h1; in poly1305_core_blocks()
117 u64 h0, h1, h2, c; in poly1305_core_emit() local
[all …]
Dpoly1305-donna32.c38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
59 h1 = state->h[1]; in poly1305_core_blocks()
67 h1 += (get_unaligned_le32(&input[3]) >> 2) & 0x3ffffff; in poly1305_core_blocks()
73 d0 = ((u64)h0 * r0) + ((u64)h1 * s4) + in poly1305_core_blocks()
76 d1 = ((u64)h0 * r1) + ((u64)h1 * r0) + in poly1305_core_blocks()
79 d2 = ((u64)h0 * r2) + ((u64)h1 * r1) + in poly1305_core_blocks()
82 d3 = ((u64)h0 * r3) + ((u64)h1 * r2) + in poly1305_core_blocks()
85 d4 = ((u64)h0 * r4) + ((u64)h1 * r3) + in poly1305_core_blocks()
94 h1 = (u32)d1 & 0x3ffffff; in poly1305_core_blocks()
107 h1 += c; in poly1305_core_blocks()
[all …]
/linux-5.19.10/arch/arm64/crypto/
Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
118 ldp $h0,$h1,[$ctx] // load hash value
125 lsr $d2,$h1,#32
126 mov w15,w#$h1
131 mov w#$d2,w#$h1
132 lsr x15,$h1,#32
148 csel $h1,$h1,$d1,eq
159 adcs $h1,$h1,$t1
165 mul $t0,$h1,$s1 // h1*5*r1
166 umulh $t1,$h1,$s1
[all …]
/linux-5.19.10/tools/testing/selftests/net/
Dfib_nexthop_nongw.sh67 ip netns add h1
68 ip -n h1 link set lo up
73 ip -n h1 link add name eth0 type dummy
74 ip -n h1 link set eth0 up
75 ip -n h1 address add 192.168.0.1/24 dev eth0
78 ip -n h1 link add name veth0 type veth peer name veth1 netns h2
79 ip -n h1 link set veth0 up
88 ip -n h1 nexthop add id 1 dev veth0
89 ip -n h1 route add 192.168.1.1 nhid 1
94 ip netns del h1 2>/dev/null
[all …]
/linux-5.19.10/tools/testing/selftests/drivers/net/ocelot/
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}.100 egress protocol ipv4 \
[all …]
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.100
189 local h1_mac=$(mac_get $h1)
199 $MZ $h1.100 -q -c 1 -p 64 -a $h1_mac -b $h2_mac -t ip
[all …]

123456789