/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | ethtool.sh | 18 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 …]
|
D | loopback.sh | 14 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 …]
|
D | router_broadcast.sh | 11 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 …]
|
D | router_vid_1.sh | 11 ip link set dev vrf-h1 up 13 ip link set dev $h1 up 14 vlan_create $h1 1 vrf-h1 192.0.2.2/24 2001:db8:1::2/64 16 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 17 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 22 ip route del 2001:db8:2::/64 vrf vrf-h1 23 ip route del 198.51.100.0/24 vrf vrf-h1 25 vlan_destroy $h1 1 26 ip link set dev $h1 down 28 ip link set dev vrf-h1 down [all …]
|
D | router_bridge_vlan.sh | 14 simple_if_init $h1 15 vlan_create $h1 555 v$h1 192.0.2.1/28 2001:db8:1::1/64 16 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2 17 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 22 ip -6 route del 2001:db8:2::/64 vrf v$h1 23 ip -4 route del 192.0.2.128/28 vrf v$h1 24 vlan_destroy $h1 555 25 simple_if_fini $h1 73 h1=${NETIFS[p1]} 117 ping_test $h1 192.0.2.130 [all …]
|
D | tc_vlan_modify.sh | 15 simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 16 vlan_create $h1 85 v$h1 192.0.2.17/28 2001:db8:2::1/64 21 vlan_destroy $h1 85 22 simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64 77 h1=${NETIFS[p1]} 107 ping_do $h1.85 192.0.2.18 110 ping6_do $h1.85 2001:db8:2::2 118 ping_do $h1.85 192.0.2.18 121 ping6_do $h1.85 2001:db8:2::2 134 ping_do $h1.85 192.0.2.18 [all …]
|
D | router.sh | 25 ip link set dev $h1 master vrf-h1 27 ip link set dev vrf-h1 up 28 ip link set dev $h1 up 30 ip address add 192.0.2.2/24 dev $h1 31 ip address add 2001:db8:1::2/64 dev $h1 33 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 34 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 39 ip route del 2001:db8:2::/64 vrf vrf-h1 40 ip route del 198.51.100.0/24 vrf vrf-h1 42 ip address del 2001:db8:1::2/64 dev $h1 [all …]
|
D | sch_ets_core.sh | 85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac 168 simple_if_init $h1 169 mtu_set $h1 9900 171 vlan_create $h1 1$i v$h1 $(sip $i)/28 172 ip link set dev $h1.1$i type vlan egress 0:$i 181 vlan_destroy $h1 1$i 183 mtu_restore $h1 184 simple_if_fini $h1 256 h1=${NETIFS[p1]} 285 ping_test $h1.10 $(dip 0) " vlan 10" [all …]
|
D | mirror_gre_lag_lacp.sh | 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 555 vrf-h2 192.0.2.18/28 101 vlan_host_destroy $h1 555 vrf-h2 175 h1=${NETIFS[p1]} 186 ip link set dev $h1 up 207 ip link set dev $h1 down 229 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $up_dev 1 10 [all …]
|
D | ip6_forward_instats_vrf.sh | 19 simple_if_init $h1 2001:1:1::2/64 20 ip -6 route add vrf v$h1 2001:1:2::/64 via 2001:1:1::1 25 ip -6 route del vrf v$h1 2001:1:2::/64 via 2001:1:1::1 26 simple_if_fini $h1 2001:1:1::2/64 61 h1=${NETIFS[p1]} 92 local vrf_name=$(master_name_get $h1) 109 local vrf_name=$(master_name_get $h1) 127 local vrf_name=$(master_name_get $h1) 146 local vrf_name=$(master_name_get $h1) 163 ping6_test $h1 2001:1:2::2
|
D | router_bridge.sh | 13 simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 14 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2 15 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 20 ip -6 route del 2001:db8:2::/64 vrf v$h1 21 ip -4 route del 192.0.2.128/28 vrf v$h1 22 simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64 66 h1=${NETIFS[p1]} 98 ping_test $h1 192.0.2.130 103 ping6_test $h1 2001:db8:2::2
|
D | mirror_gre_bridge_1q_lag.sh | 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 555 vrf-h2 192.0.2.18/28 103 vlan_host_destroy $h1 555 vrf-h2 175 h1=${NETIFS[p1]} 186 ip link set dev $h1 up 213 ip link set dev $h1 down 240 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $host_dev 1 10 [all …]
|
D | router_multicast.sh | 42 simple_if_init $h1 198.51.100.2/28 2001:db8:1::2/64 44 ip route add 198.51.100.16/28 vrf v$h1 nexthop via 198.51.100.1 45 ip route add 198.51.100.32/28 vrf v$h1 nexthop via 198.51.100.1 47 ip route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::1 48 ip route add 2001:db8:3::/64 vrf v$h1 nexthop via 2001:db8:1::1 50 tc qdisc add dev $h1 ingress 55 tc qdisc del dev $h1 ingress 57 ip route del 2001:db8:3::/64 vrf v$h1 58 ip route del 2001:db8:2::/64 vrf v$h1 60 ip route del 198.51.100.32/28 vrf v$h1 [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_control.sh | 93 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64 95 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 96 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 101 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2 102 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2 104 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64 143 h1=${NETIFS[p1]} 171 devlink_trap_stats_test "STP" "stp" $MZ $h1 -c 1 -t bpdu -q 189 local h1mac=$(mac_get $h1) 191 devlink_trap_stats_test "LACP" "lacp" $MZ $h1 -c 1 \ [all …]
|
D | devlink_trap_l3_exceptions.sh | 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=${NETIFS[p1]} 157 ping_do $h1 198.51.100.1 [all …]
|
D | sharedbuffer.sh | 24 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 160 -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 160 -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" 166 $MZ $h1 -c 1 -p 160 -a $h1mac -A 192.0.1.1 -t arp -q 173 log_test "physical port's($h1) ingress TC - ARP packet" 188 h1=${NETIFS[p1]} 191 h1mac=$(mac_get $h1) [all …]
|
D | blackhole_routes.sh | 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 2001:db8:2::1 ": h1->h2" 130 ping_do $h1 198.51.100.1 154 ping6_do $h1 2001:db8:2::1 [all …]
|
/kernel/linux/linux-5.10/lib/crypto/ |
D | poly1305-donna64.c | 42 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 …]
|
D | poly1305-donna32.c | 38 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 …]
|
/kernel/linux/linux-5.10/arch/arm64/crypto/ |
D | poly1305-armv8.pl | 47 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 …]
|
/kernel/linux/linux-5.10/lib/ |
D | test_hash.c | 72 u32 h0 = (u32)h64, h1, h2; in test_int_hash() local 75 hash_or[0][0] |= h1 = __hash_32(h0); in test_int_hash() 79 if (h1 != h2) { in test_int_hash() 81 h0, h1, h2); in test_int_hash() 92 hash_or[0][k] |= h1 = hash_32(h0, k); in test_int_hash() 93 if (h1 > m) { in test_int_hash() 94 pr_err("hash_32(%#x, %d) = %#x > %#x", h0, k, h1, m); in test_int_hash() 100 if (h1 != h2) { in test_int_hash() 102 " = %#x", h0, k, h1, h2); in test_int_hash() 108 h0, k, h1, m); in test_int_hash() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | icmp_redirect.sh | 141 for ns in h1 h2 r1 r2; do 171 for ns in h1 h2 r1 r2; do 194 ip -netns h1 li add eth0 type veth peer name r1h1 195 ip -netns h1 li set r1h1 netns r1 name eth0 up 197 ip -netns h1 li add eth1 type veth peer name r2h1 198 ip -netns h1 li set r2h1 netns r2 name eth0 up 219 ip -netns h1 li add br0 type bridge 221 ip -netns h1 li set br0 vrf ${VRF} up 223 ip -netns h1 li set br0 up 225 ip -netns h1 addr add dev br0 ${H1_N1_IP}/24 [all …]
|
D | vrf_route_leaking.sh | 176 for ns in h1 h2 r1 r2; do 216 for ns in h1 h2 r1; do 232 ip -netns h1 link add eth0 type veth peer name r1h1 233 ip -netns h1 link set r1h1 netns r1 name eth0 up 241 ip -netns h1 addr add dev eth0 ${H1_N1_IP}/24 242 ip -netns h1 -6 addr add dev eth0 ${H1_N1_IP6}/64 nodad 243 ip -netns h1 link set eth0 up 246 ip -netns h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0 247 ip -netns h1 -6 route add ${H2_N2_6} via "${R1_N1_IP6}" dev eth0 297 for ns in h1 h2 r1 r2; do [all …]
|
/kernel/linux/linux-5.10/arch/mips/crypto/ |
D | poly1305-mips.pl | 226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) = 278 ld $h1,8($ctx) 369 daddu $d1,$h1,$in1 371 sltu $tmp1,$d1,$h1 378 mfhi ($h1,$r0,$d0) 390 daddu $h1,$tmp1 394 daddu $h1,$tmp0 395 daddu $h1,$tmp2 400 sltu $tmp2,$h1,$tmp2 405 daddu $h1,$tmp0 [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | cls_rsvp.h | 133 unsigned int h1, h2; in rsvp_classify() local 167 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify() 170 for (s = rcu_dereference_bh(head->ht[h1]); s; in rsvp_classify() 226 unsigned int h1 = h & 0xFF; in rsvp_replace() local 229 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_replace() 252 unsigned int h1 = handle & 0xFF; in rsvp_get() local 258 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_get() 315 int h1, h2; in rsvp_destroy() local 320 for (h1 = 0; h1 < 256; h1++) { in rsvp_destroy() 323 while ((s = rtnl_dereference(data->ht[h1])) != NULL) { in rsvp_destroy() [all …]
|