/linux-6.6.21/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_bridge_vlan.sh | 47 simple_if_init $h1 49 vlan_create $h1 555 v$h1 192.0.2.1/28 2001:db8:1::1/64 50 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2 51 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 53 vlan_create $h1 777 v$h1 192.0.2.17/28 2001:db8:3::1/64 54 ip -4 route add 192.0.2.144/28 vrf v$h1 nexthop via 192.0.2.18 55 ip -6 route add 2001:db8:4::/64 vrf v$h1 nexthop via 2001:db8:3::2 60 ip -6 route del 2001:db8:4::/64 vrf v$h1 61 ip -4 route del 192.0.2.144/28 vrf v$h1 62 vlan_destroy $h1 777 [all …]
|
D | bridge_locked_port.sh | 21 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64 22 vlan_create $h1 100 v$h1 198.51.100.1/24 27 vlan_destroy $h1 100 28 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64 67 h1=${NETIFS[p1]} 99 ping_do $h1 192.0.2.2 104 ping_do $h1 192.0.2.2 107 bridge fdb add `mac_get $h1` dev $swp1 master static 109 ping_do $h1 192.0.2.2 113 bridge fdb del `mac_get $h1` dev $swp1 master static [all …]
|
D | router_bridge_1d.sh | 41 simple_if_init $h1 42 vlan_create $h1 100 v$h1 192.0.2.1/28 2001:db8:1::1/64 43 vlan_create $h1 200 v$h1 192.0.2.17/28 2001:db8:3::1/64 44 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2 45 ip -4 route add 192.0.2.144/28 vrf v$h1 nexthop via 192.0.2.18 46 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 47 ip -6 route add 2001:db8:4::/64 vrf v$h1 nexthop via 2001:db8:3::2 52 ip -6 route del 2001:db8:4::/64 vrf v$h1 53 ip -6 route del 2001:db8:2::/64 vrf v$h1 54 ip -4 route del 192.0.2.144/28 vrf v$h1 [all …]
|
D | custom_multipath_hash.sh | 56 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 …]
|
D | no_forwarding.sh | 9 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 …]
|
D | tc_actions.sh | 18 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 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ [all …]
|
D | bridge_mld.sh | 69 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 …]
|
D | tc_tunnel_key.sh | 16 simple_if_init $h1 192.0.2.1/24 18 mtu_set $h1 1500 19 tunnel_create h1-et vxlan 192.0.2.1 192.0.2.2 dev $h1 dstport 0 external 20 tc qdisc add dev h1-et clsact 21 mtu_set h1-et 1230 22 mtu_restore $h1 23 mtu_set $h1 1000 28 tc qdisc del dev h1-et clsact 29 tunnel_destroy h1-et 31 mtu_restore $h1 [all …]
|
D | local_termination.sh | 47 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-6.6.21/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_control.sh | 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) 193 devlink_trap_stats_test "LACP" "lacp" $MZ $h1 -c 1 \ [all …]
|
D | rif_mac_profiles_occ.sh | 15 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 …]
|
D | sch_offload.sh | 23 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-6.6.21/lib/crypto/ |
D | poly1305-donna64.c | 40 u64 h0, h1, h2; in poly1305_core_blocks() local 54 h1 = state->h64[1]; in poly1305_core_blocks() 68 h1 += ((t0 >> 44) | (t1 << 20)) & 0xfffffffffffULL; in poly1305_core_blocks() 73 d = (u128)h1 * s2; in poly1305_core_blocks() 78 d = (u128)h1 * r0; in poly1305_core_blocks() 83 d = (u128)h1 * r1; in poly1305_core_blocks() 93 h1 = (u64)d1 & 0xfffffffffffULL; in poly1305_core_blocks() 100 h1 += c; in poly1305_core_blocks() 106 state->h64[1] = h1; in poly1305_core_blocks() 115 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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/tools/testing/selftests/drivers/net/dsa/ |
D | bridge_locked_port.sh | 21 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64 22 vlan_create $h1 100 v$h1 198.51.100.1/24 27 vlan_destroy $h1 100 28 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64 67 h1=${NETIFS[p1]} 99 ping_do $h1 192.0.2.2 104 ping_do $h1 192.0.2.2 107 bridge fdb add `mac_get $h1` dev $swp1 master static 109 ping_do $h1 192.0.2.2 113 bridge fdb del `mac_get $h1` dev $swp1 master static [all …]
|
D | no_forwarding.sh | 9 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 …]
|
D | tc_actions.sh | 18 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 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ [all …]
|
D | bridge_mld.sh | 69 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 …]
|
D | local_termination.sh | 47 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-6.6.21/tools/testing/selftests/net/ |
D | fib_nexthop_nongw.sh | 67 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-6.6.21/tools/testing/selftests/drivers/net/ocelot/ |
D | basic_qos.sh | 18 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 …]
|
D | tc_flower_chains.sh | 14 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 …]
|