/linux-6.1.9/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 1 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_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 | 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 | sch_ets_core.sh | 82 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
|
D | pedit_ip.sh | 46 simple_if_init $h2 192.0.2.2/28 2001:db8:1::2/64 47 tc qdisc add dev $h2 clsact 52 tc qdisc del dev $h2 clsact 53 simple_if_fini $h2 192.0.2.2/28 2001:db8:1::2/64 86 h2=${NETIFS[p4]} 88 h2mac=$(mac_get $h2) 126 tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ 135 tc_rule_handle_stats_get "dev $h2 ingress" 101) 144 tc filter del dev $h2 ingress pref 1
|
/linux-6.1.9/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-6.1.9/lib/crypto/ |
D | poly1305-donna64.c | 42 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 …]
|
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-6.1.9/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-6.1.9/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 198 h2=${NETIFS[p4]} 227 ping_test $h2 192.0.2.130 235 start_traffic $h2.111 192.0.2.129 192.0.2.130 $h3mac [all …]
|
D | qos_ets_strict.sh | 77 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 215 h2=${NETIFS[p4]} 245 ping_test $h2 192.0.2.66 " from H2" 265 start_traffic $h2.222 192.0.2.65 192.0.2.66 $h3mac [all …]
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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 …]
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | fib_nexthop_nongw.sh | 69 ip netns add h2 70 ip -n h2 link set lo up 78 ip -n h1 link add name veth0 type veth peer name veth1 netns h2 81 ip -n h2 link set veth1 up 84 ip -n h2 address add 192.168.1.1/32 dev veth1 85 ip -n h2 route add default dev veth1 95 ip netns del h2 2>/dev/null
|