/Linux-v6.6/tools/testing/selftests/net/forwarding/ |
D | tc_flower.sh | 28 simple_if_init $h2 192.0.2.2/24 198.51.100.2/24 29 tc qdisc add dev $h2 clsact 34 tc qdisc del dev $h2 clsact 35 simple_if_fini $h2 192.0.2.2/24 198.51.100.2/24 44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 52 tc_check_packets "dev $h2 ingress" 101 1 55 tc_check_packets "dev $h2 ingress" 102 0 58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower [all …]
|
D | tc_flower_cfm.sh | 21 simple_if_init $h2 22 tc qdisc add dev $h2 clsact 27 tc qdisc del dev $h2 clsact 28 simple_if_fini $h2 60 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ 62 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ 70 tc_check_packets "dev $h2 ingress" 101 1 73 tc_check_packets "dev $h2 ingress" 102 0 79 tc_check_packets "dev $h2 ingress" 101 1 82 tc_check_packets "dev $h2 ingress" 102 1 [all …]
|
D | tc_chains.sh | 24 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 …]
|
D | ethtool.sh | 28 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 …]
|
D | no_forwarding.sh | 10 h2=${NETIFS[p3]} 94 local dmac=$(mac_get $h2) 100 tcpdump_start $h2 130 tcpdump_stop $h2 132 check_rcv $h2 "$test_name: Unicast non-IP untagged" \ 135 check_rcv $h2 "$test_name: Multicast non-IP untagged" \ 138 check_rcv $h2 "$test_name: Broadcast non-IP untagged" \ 141 check_rcv $h2 "$test_name: Unicast IPv4 untagged" \ 144 check_rcv $h2 "$test_name: Multicast IPv4 untagged" \ 147 check_rcv $h2 "$test_name: Unicast IPv6 untagged" \ [all …]
|
D | ethtool_mm.sh | 77 manual_with_verification $h1 $h2 82 manual_with_verification $h2 $h1 111 manual_without_verification $h1 $h2 116 manual_without_verification $h2 $h1 150 manual_failed_verification $h1 $h2 155 manual_failed_verification $h2 $h1 165 lldptool -i $h2 -t -n -V addEthCaps | \ 177 lldptool -L -i $h2 adminStatus=rxtx >/dev/null 181 lldptool -T -i $h2 -V addEthCaps enableTx=yes >/dev/null 190 lldptool -i $h2 -t -n -V addEthCaps | \ [all …]
|
D | router_broadcast.sh | 36 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 …]
|
D | router_multicast.sh | 68 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 …]
|
D | router_nh.sh | 43 ip link set dev $h2 master vrf-h2 45 ip link set dev vrf-h2 up 46 ip link set dev $h2 up 48 ip address add 198.51.100.2/24 dev $h2 49 ip address add 2001:db8:2::2/64 dev $h2 51 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1 52 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1 57 ip route del 2001:db8:1::/64 vrf vrf-h2 58 ip route del 192.0.2.0/24 vrf vrf-h2 60 ip address del 2001:db8:2::2/64 dev $h2 [all …]
|
D | router_vid_1.sh | 60 ip link set dev vrf-h2 up 62 ip link set dev $h2 up 63 vlan_create $h2 1 vrf-h2 198.51.100.2/24 2001:db8:2::2/64 65 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1 66 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1 71 ip route del 2001:db8:1::/64 vrf vrf-h2 72 ip route del 192.0.2.0/24 vrf vrf-h2 74 vlan_destroy $h2 1 75 ip link set dev $h2 down 77 ip link set dev vrf-h2 down [all …]
|
D | tc_police.sh | 63 simple_if_init $h2 198.51.100.1/24 65 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2 67 tc qdisc add dev $h2 clsact 72 tc qdisc del dev $h2 clsact 74 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2 76 simple_if_fini $h2 198.51.100.1/24 132 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 139 local t0=$(tc_rule_stats_get $h2 1 ingress .bytes) 141 local t1=$(tc_rule_stats_get $h2 1 ingress .bytes) 152 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower [all …]
|
D | router_bridge_vlan_upper.sh | 53 simple_if_init $h2 54 vlan_create $h2 777 v$h2 192.0.2.18/28 2001:db8:2::2/64 55 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.17 56 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1 61 ip -6 route del 2001:db8:1::/64 vrf v$h2 62 ip -4 route del 192.0.2.0/28 vrf v$h2 63 vlan_destroy $h2 777 64 simple_if_fini $h2 110 h2=${NETIFS[p4]}
|
D | router_bridge_vlan.sh | 73 simple_if_init $h2 192.0.2.130/28 2001:db8:2::2/64 \ 75 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129 76 ip -4 route add 192.0.2.16/28 vrf v$h2 nexthop via 192.0.2.145 77 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1 78 ip -6 route add 2001:db8:3::/64 vrf v$h2 nexthop via 2001:db8:4::1 83 ip -6 route del 2001:db8:3::/64 vrf v$h2 84 ip -6 route del 2001:db8:1::/64 vrf v$h2 85 ip -4 route del 192.0.2.16/28 vrf v$h2 86 ip -4 route del 192.0.2.0/28 vrf v$h2 87 simple_if_fini $h2 192.0.2.146/28 2001:db8:4::2/64 \ [all …]
|
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | tc_flower.sh | 33 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 …]
|
/Linux-v6.6/lib/crypto/ |
D | poly1305-donna64.c | 40 u64 h0, h1, h2; in poly1305_core_blocks() local 55 h2 = state->h64[2]; in poly1305_core_blocks() 69 h2 += (((t1 >> 24)) & 0x3ffffffffffULL) | hibit64; in poly1305_core_blocks() 75 d = (u128)h2 * s1; in poly1305_core_blocks() 80 d = (u128)h2 * s2; in poly1305_core_blocks() 85 d = (u128)h2 * r0; in poly1305_core_blocks() 96 h2 = (u64)d2 & 0x3ffffffffffULL; in poly1305_core_blocks() 107 state->h64[2] = h2; in poly1305_core_blocks() 115 u64 h0, h1, h2, c; in poly1305_core_emit() local 122 h2 = state->h64[2]; in poly1305_core_emit() [all …]
|
D | poly1305-donna32.c | 38 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 …]
|
/Linux-v6.6/tools/testing/selftests/drivers/net/dsa/ |
D | no_forwarding.sh | 10 h2=${NETIFS[p3]} 94 local dmac=$(mac_get $h2) 100 tcpdump_start $h2 130 tcpdump_stop $h2 132 check_rcv $h2 "$test_name: Unicast non-IP untagged" \ 135 check_rcv $h2 "$test_name: Multicast non-IP untagged" \ 138 check_rcv $h2 "$test_name: Broadcast non-IP untagged" \ 141 check_rcv $h2 "$test_name: Unicast IPv4 untagged" \ 144 check_rcv $h2 "$test_name: Multicast IPv4 untagged" \ 147 check_rcv $h2 "$test_name: Unicast IPv6 untagged" \ [all …]
|
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/ |
D | rif_counter_scale.sh | 31 simple_if_init $h2 36 simple_if_fini $h2 42 h2=${NETIFS[p2]} 57 vlan_destroy $h2 $i 79 vlan_create $h2 $i v$h2 $(rif_counter_addr4pfx $i 2) 83 stats set dev $h2.$i l3_stats on 97 $MZ $h1 -Q $i -c 1 -d 20msec -p 100 -a own -b $(mac_get $h2) \ 104 hw_stats_get l3_stats $h2.$i rx packets > /dev/null 105 check_err $? "Traffic not seen at RIF $h2.$i"
|
D | tc_flower_scale.sh | 26 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 \ 98 offload_count=$(tc -j -s filter show dev $h2 ingress | 132 $MZ -6 $h1 -c 1 -d 20msec -p 100 -a own -b $(mac_get $h2) \ 137 tc_check_packets "dev $h2 ingress" 42$i 1
|
D | rif_mac_profiles.sh | 32 simple_if_init $h2 198.51.100.1/24 33 ip route add 192.0.2.0/24 vrf v$h2 nexthop via 198.51.100.2 35 tc qdisc add dev $h2 ingress 40 tc qdisc del dev $h2 ingress 42 ip route del 192.0.2.0/24 vrf v$h2 43 simple_if_fini $h2 198.51.100.1/24 74 h2=${NETIFS[p4]} 108 ip neigh replace dev $rp2 198.51.100.1 lladdr $(mac_get $h2) 118 tc filter add dev $h2 ingress proto ip pref 1 handle 101 \ 128 tc_check_packets "dev $h2 ingress" 101 10 [all …]
|
D | qos_mc_aware.sh | 87 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 200 h2=${NETIFS[p4]} 229 ping_test $h2 192.0.2.130 237 start_traffic $h2.111 192.0.2.129 192.0.2.130 $h3mac [all …]
|
/Linux-v6.6/arch/arm64/crypto/ |
D | poly1305-armv8.pl | 47 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 …]
|
/Linux-v6.6/arch/mips/crypto/ |
D | poly1305-mips.pl | 226 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 …]
|
/Linux-v6.6/tools/testing/selftests/drivers/net/ocelot/ |
D | tc_flower_chains.sh | 17 h2=${NETIFS[p4]} 143 ip link set $h2 up 190 local h2_mac=$(mac_get $h2) 194 tcpdump_start $h2 203 tcpdump_stop $h2 205 tcpdump_show $h2 | grep -q "$h1_mac > $h2_mac, ethertype IPv4" 208 tcpdump_cleanup $h2 216 local h2_mac=$(mac_get $h2) 222 $MZ $h2 -q -c 1 -p 64 -a $h2_mac -b $h1_mac -t ip 239 local h2_mac=$(mac_get $h2) [all …]
|
/Linux-v6.6/arch/arm/crypto/ |
D | poly1305-armv4.pl | 178 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 …]
|