/linux/tools/testing/selftests/net/forwarding/ |
A D | tc_flower.sh | 29 tc qdisc add dev $h2 clsact 34 tc qdisc del dev $h2 clsact 52 tc_check_packets "dev $h2 ingress" 101 1 230 vlan_create $h2 85 v$h2 192.0.2.11/24 249 vlan_destroy $h2 85 258 vlan_create $h2 85 v$h2 192.0.2.11/24 259 vlan_create $h2 75 v$h2 192.0.2.10/24 277 vlan_destroy $h2 75 278 vlan_destroy $h2 85 682 h2=${NETIFS[p2]} [all …]
|
A 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 88 tc chain add dev $h2 ingress 97 tc chain add dev $h2 ingress chain 1 115 tc chain del dev $h2 ingress 118 tc chain del dev $h2 ingress chain 1 160 tc chain del dev $h2 ingress 168 h2=${NETIFS[p2]} [all …]
|
A 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]} 65 setup_wait_dev_with_timeout $h2 72 ethtool -s $h2 autoneg on 90 setup_wait_dev_with_timeout $h2 96 ethtool -s $h2 autoneg on 112 setup_wait_dev_with_timeout $h2 215 ethtool -s $h2 autoneg on 256 ethtool -s $h2 autoneg on [all …]
|
A 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 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 113 h2=${NETIFS[p4]} 196 ping_test_from $h2 192.0.2.255 198.51.100.1 [all …]
|
A D | router_multicast.sh | 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 87 ip route del 198.51.100.0/28 vrf v$h2 177 h2=${NETIFS[p4]} 338 tc_check_packets "dev $h2 ingress" 1 5 349 tc_check_packets "dev $h2 ingress" 1 5 383 tc_check_packets "dev $h2 ingress" 1 5 [all …]
|
A 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 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 61 ip address del 198.51.100.2/24 dev $h2 63 ip link set dev $h2 down [all …]
|
A D | router_vid_1.sh | 35 ip link set dev vrf-h2 up 37 ip link set dev $h2 up 38 vlan_create $h2 1 vrf-h2 198.51.100.2/24 2001:db8:2::2/64 40 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1 41 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1 46 ip route del 2001:db8:1::/64 vrf vrf-h2 47 ip route del 192.0.2.0/24 vrf vrf-h2 49 vlan_destroy $h2 1 50 ip link set dev $h2 down 52 ip link set dev vrf-h2 down [all …]
|
A D | tc_police.sh | 61 simple_if_init $h2 198.51.100.1/24 65 tc qdisc add dev $h2 clsact 70 tc qdisc del dev $h2 clsact 74 simple_if_fini $h2 198.51.100.1/24 137 local t0=$(tc_rule_stats_get $h2 1 ingress .bytes) 139 local t1=$(tc_rule_stats_get $h2 1 ingress .bytes) 187 local t0=$(tc_rule_stats_get $h2 1 ingress .bytes) 189 local t1=$(tc_rule_stats_get $h2 1 ingress .bytes) 257 local t0=$(tc_rule_stats_get $h2 1 ingress .bytes) 259 local t1=$(tc_rule_stats_get $h2 1 ingress .bytes) [all …]
|
A 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
|
A D | pedit_dsfield.sh | 51 simple_if_init $h2 192.0.2.2/28 2001:db8:1::2/64 52 tc qdisc add dev $h2 clsact 57 tc qdisc del dev $h2 clsact 58 simple_if_fini $h2 192.0.2.2/28 2001:db8:1::2/64 91 h2=${NETIFS[p4]} 93 h2mac=$(mac_get $h2) 136 tc_rule_handle_stats_get "dev $h2 ingress" 101) 158 tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ 163 tc filter del dev $h2 ingress pref 1 231 tc filter add dev $h2 ingress handle 101 pref 1 prot ip \ [all …]
|
A D | pedit_l4port.sh | 47 simple_if_init $h2 192.0.2.2/28 2001:db8:1::2/64 48 tc qdisc add dev $h2 clsact 53 tc qdisc del dev $h2 clsact 54 simple_if_fini $h2 192.0.2.2/28 2001:db8:1::2/64 87 h2=${NETIFS[p4]} 89 h2mac=$(mac_get $h2) 130 tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ 140 tc_rule_handle_stats_get "dev $h2 ingress" 101) 149 tc filter del dev $h2 ingress pref 1
|
A D | router.sh | 52 ip link set dev $h2 master vrf-h2 54 ip link set dev vrf-h2 up 55 ip link set dev $h2 up 57 ip address add 198.51.100.2/24 dev $h2 58 ip address add 2001:db8:2::2/64 dev $h2 66 ip route del 2001:db8:1::/64 vrf vrf-h2 67 ip route del 192.0.2.0/24 vrf vrf-h2 69 ip address del 2001:db8:2::2/64 dev $h2 70 ip address del 198.51.100.2/24 dev $h2 72 ip link set dev $h2 down [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
A D | tc_flower.sh | 34 tc qdisc add dev $h2 clsact 39 tc qdisc del dev $h2 clsact 106 tc_check_packets "dev $h2 ingress" 101 1 115 tc_check_packets "dev $h2 ingress" 101 2 121 tc_check_packets "dev $h2 ingress" 102 1 129 tc_check_packets "dev $h2 ingress" 102 2 154 tc_check_packets "dev $h2 ingress" 101 1 807 test_rule_del $h2 $tcflags $i 894 tc chain add dev $h2 ingress chain 4 989 h2=${NETIFS[p2]} [all …]
|
/linux/lib/crypto/ |
A D | poly1305-donna64.c | 42 u64 h0, h1, h2; in poly1305_core_blocks() local 57 h2 = state->h64[2]; 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() 117 u64 h0, h1, h2, c; in poly1305_core_emit() local 128 h2 += c; in poly1305_core_emit() 129 c = h2 >> 42; in poly1305_core_emit() 137 h2 += c; in poly1305_core_emit() 138 c = h2 >> 42; in poly1305_core_emit() [all …]
|
A 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() 114 state->h[2] = h2; in poly1305_core_blocks() 132 h2 = state->h[2]; in poly1305_core_emit() 138 h2 += c; in poly1305_core_emit() 139 c = h2 >> 26; in poly1305_core_emit() 140 h2 = h2 & 0x3ffffff; in poly1305_core_emit() 159 g2 = h2 + c; in poly1305_core_emit() 178 h2 = (h2 & mask) | g2; in poly1305_core_emit() 185 h2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff; in poly1305_core_emit() [all …]
|
/linux/arch/arm64/crypto/ |
A D | poly1305-armv8.pl | 133 mov w16,w#$h2 149 csel $h2,$h2,$d2,eq 162 adc $h2,$h2,$padbit 187 and $h2,$d2,#3 191 adc $h2,$h2,xzr 221 mov w16,w#$h2 236 csel $h2,$h2,$d2,eq 305 adc $h2,$h2,xzr 387 adc $h2,$h2,$padbit 419 adc $h2,$h2,$padbit [all …]
|
/linux/arch/mips/crypto/ |
A D | poly1305-mips.pl | 361 andi $h2,$h2,3 911 sltu $h2,$d2,$h2 922 sltu $h2,$d3,$h2 969 sltu $h2,$d3,$h2 1011 addu $h2,$h2,$a3 1016 addu $h2,$h2,$t0 1019 addu $h2,$h2,$at 1024 addu $h2,$h2,$t1 1027 addu $h2,$h2,$a3 1031 addu $h2,$h2,$t0 [all …]
|
/linux/lib/ |
A D | test_hash.c | 72 u32 h0 = (u32)h64, h1, h2; in test_int_hash() local 79 if (h1 != h2) { in test_int_hash() 81 h0, h1, h2); in test_int_hash() 98 h2 = hash_32_generic(h0, k); in test_int_hash() 100 if (h1 != h2) { in test_int_hash() 102 " = %#x", h0, k, h1, h2); in test_int_hash() 106 if (h2 > m) { in test_int_hash() 120 h2 = hash_64_generic(h64, k); in test_int_hash() 122 if (h1 != h2) { in test_int_hash() 124 "= %#x", h64, k, h1, h2); in test_int_hash() [all …]
|
/linux/arch/arm/crypto/ |
A D | poly1305-armv4.pl | 220 movne $h2,$r2 269 adcs $h2,$h2,r3 294 adcs $h2,$h2,r2 347 adcs $h2,$h2,#0 401 movne $h2,$g2 427 movne $h2,$g2 437 adcs $h2,$h2,$g2 444 rev $h2,$h2 457 mov $h2,$h2,lsr#8 466 mov $h2,$h2,lsr#8 [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
A 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 …]
|
A 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 197 h2=${NETIFS[p4]} 226 ping_test $h2 192.0.2.130 234 start_traffic $h2.111 192.0.2.129 192.0.2.130 $h3mac [all …]
|
A 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 214 h2=${NETIFS[p4]} 244 ping_test $h2 192.0.2.66 " from H2" 264 start_traffic $h2.222 192.0.2.65 192.0.2.66 $h3mac [all …]
|
A 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 \ 97 offload_count=$(tc -j -s filter show dev $h2 ingress |
|
A D | qos_dscp_router.sh | 83 simple_if_init $h2 192.0.2.18/28 84 tc qdisc add dev $h2 clsact 85 dscp_capture_install $h2 0 86 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 91 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 92 dscp_capture_uninstall $h2 0 93 tc qdisc del dev $h2 clsact 94 simple_if_fini $h2 192.0.2.18/28 140 h2=${NETIFS[p4]} 232 dscp_ping_test v$h1 192.0.2.1 192.0.2.18 $prio $reprio $h1 $h2
|
/linux/tools/testing/selftests/net/ |
A D | vrf_route_leaking.sh | 176 for ns in h1 h2 r1 r2; do 216 for ns in h1 h2 r1; do 236 ip -netns h2 link set r1h2 netns r1 name eth1 up 252 ip -netns h2 addr add dev eth0 ${H2_N2_IP}/24 254 ip -netns h2 link set eth0 up 297 for ns in h1 h2 r1 r2; do 342 ip -netns h2 link add br0 type bridge 343 ip -netns h2 link set br0 up 344 ip -netns h2 addr add dev br0 ${H2_N2_IP}/24 346 ip -netns h2 link set eth0 master br0 up [all …]
|