/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | fib_offload.sh | 2 # SPDX-License-Identifier: GPL-2.0 43 __addr_add_del $spine_p1 add 2001:db8:1::1/64 44 __addr_add_del $spine_p2 add 2001:db8:2::1/64 49 __addr_add_del $spine_p2 del 2001:db8:2::1/64 50 __addr_add_del $spine_p1 del 2001:db8:1::1/64 65 num=$(ip -6 route show match ${pfx} | grep "offload" | wc -l) 67 if [ $num -eq $expected_num ]; then 79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100 80 ipv6_offload_check "2001:db8:3::/64 dev $spine_p1 metric 100" 1 85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200 [all …]
|
H A D | rtnetlink.sh | 2 # SPDX-License-Identifier: GPL-2.0 67 ip link add name vrf-test type vrf table 10 68 ip link set dev $swp1 master vrf-test 70 ip -4 address add 192.0.2.1/24 dev vrf-test 72 ip -6 address add 2001:db8:1::1/64 dev vrf-test 75 log_test "RIF - setting IP address on VRF" 77 ip link del dev vrf-test 110 log_test "RIF - attach port with bad MAC to bridge with set MAC" 130 ip -6 address add 2001:db8:1::1/64 dev br0.10 135 ip -6 address add 2001:db8:1::1/64 dev br0.20 [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | ip6gre_inner_v6_multipath.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # +-------------------------+ 13 # | 2001:db8:1::2/64 | | 14 # +-------------------|-----+ 16 # +-------------------|-------------------------+ 19 # | 2001:db8:1::1/64 | 23 # | rem=2001:db8:40::2 --. | 27 # | | 2001:db8:80::1/64 | 28 # +-------------------------|-------------------+ 30 # +-------------------------|-------------------+ [all …]
|
H A D | ip6gre_lib.sh | 1 # SPDX-License-Identifier: GPL-2.0 4 # Handles creation and destruction of IP-in-IP or GRE tunnels over the given 10 # SW2 uses non-default VRF tunnel has a bound dev. 11 # +--------------------------------+ 15 # | 2001:db8:1::1/64 | | 16 # +-------------------------|------+ 18 # +-------------------------|-------------------+ 22 # | 2001:db8:1::2/64 | 26 # | rem=2001:db8:3::2 --. | 29 # | .--------------------- | [all …]
|
H A D | ip6gre_custom_multipath_hash.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # +--------------------------------+ 13 # | 198.51.100.{2-253}/24 | | 14 # | 2001:db8:1::{2-fd}/64 | | 15 # +-------------------------|------+ 17 # +-------------------------|-------------------+ 21 # | 2001:db8:1::1/64 | 25 # | rem=2001:db8:3::2 -. | 29 # | | 2001:db8:10::1/64 | 30 # +---------------------|-----------------------+ [all …]
|
H A D | router_mpath_seed.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-------------------------+ +-------------------------+ 8 # | 2001:db8:1::1/64 | | | | 2001:db8:3::2/64 | 9 # +-------------------|-----+ +-|-----------------------+ 11 # +-------------------|-----+ +-|-----------------------+ 15 # | 2001:db8:1::2/64 | | 2001:db8:3::1/64 | 19 # | 2001:db8:2::17/64 | | | | 2001:db8:2::18..27/64 | 20 # +-------------------|-----+ +-|-----------------------+ 22 # `----------' 33 NUM_NETIFS=6 [all …]
|
H A D | router_bridge_1d.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +---------------------------------------------+ +----------------------+ 8 # | | 2001:db8:1::1/64 | 2001:db8:3::1/64 | | | 192.0.2.146/28 | 9 # | \_________ __________/ | | | 2001:db8:2::2/64 | 10 # | V | | | 2001:db8:4::2/64 | 12 # +--------------|------------------------------+ +--|-------------------+ 14 # +--------------|----------------------------------------|-------------------+ 18 # | | 2001:db8:2::1/64 | 19 # | ________^___________________________ 2001:db8:4::1/64 | 21 # | +---|------------------------------+ +---|------------------------------+ | [all …]
|
H A D | custom_multipath_hash.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # +--------------------------------+ 9 # | 198.51.100.{2-253}/24 | | 10 # | 2001:db8:1::{2-fd}/64 | | 11 # +-------------------------|------+ 13 # +-------------------------|-------------------------+ 17 # | 2001:db8:1::1/64 | 22 # | 2001:db8:2::1/64 | | 2001:db8:3::1/64 | 23 # +------------------|-------------|------------------+ 25 # +------------------|-------------|------------------+ [all …]
|
H A D | router_bridge_vlan.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +------------------------------------------------+ +----------------------+ 8 # | | 2001:db8:1::1/64 | 2001:db8:3::1/64 | | | 192.0.2.146/28 | 9 # | | .-----------------' | | | 2001:db8:2::2/64 | 10 # | |/ | | | 2001:db8:4::2/64 | 12 # +----|-------------------------------------------+ +--|-------------------+ 14 # +----|--------------------------------------------------|-------------------+ 16 # | +--|-------------------------------+ + $swp2 | 19 # | | | 2001:db8:2::1/64 | 20 # | | + BR1 (802.1q) | 2001:db8:4::1/64 | [all …]
|
H A D | ip6gre_inner_v4_multipath.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # +-------------------------+ 13 # | 192.0.3.{2-62}/24 | | 14 # +-------------------|-----+ 16 # +-------------------|-------------------------+ 23 # | rem=2001:db8:40::2 --. | 27 # | | 2001:db8:80::1/64 | 28 # +-------------------------|-------------------+ 30 # +-------------------------|-------------------+ 33 # | 2001:db8:80::2/64 | [all …]
|
H A D | gre_multipath_nh_res.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # +-------------------------+ 11 # | 2001:db8:1::1/64 | | 12 # +-------------------|-----+ 14 # +-------------------|------------------------+ 18 # | 2001:db8:1::2/64 | 22 # | rem=192.0.2.66 --. rem=192.0.2.82 --. | 24 # | .------------------' | | 25 # | | .------------------' | 33 # +------------|-------------------------------+ [all …]
|
H A D | gre_multipath_nh.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # +-------------------------+ 11 # | 2001:db8:1::1/64 | | 12 # +-------------------|-----+ 14 # +-------------------|------------------------+ 18 # | 2001:db8:1::2/64 | 22 # | rem=192.0.2.66 --. rem=192.0.2.82 --. | 24 # | .------------------' | | 25 # | | .------------------' | 33 # +------------|-------------------------------+ [all …]
|
H A D | router_bridge_1d_lag.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +--------------------------------------------+ 9 # | | 2001:db8:1::1/64 | 2001:db8:3:1/64 | 18 # +----------|-----------|---------------------+ 20 # +----------|-----------|---------------------+ 29 # | +------|------------+ +-------|----------+ | 34 # | | 2001:db8:1::2/64 | | 2001:db8:3:2/64 | | 36 # | +-------------------+ +------------------+ | 40 # | | 2001:db8:2::1/64 | 2001:db8:4::1/64 | 49 # +-------|---------|--------------------------+ [all …]
|
H A D | gre_inner_v6_multipath.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # +-------------------------+ 13 # | 2001:db8:1::2/64 | | 14 # +-------------------|-----+ 16 # +-------------------|------------------------+ 19 # | 2001:db8:1::1/64 | 23 # | rem=192.0.2.66 --. | 28 # +---------------------|----------------------+ 30 # +---------------------|----------------------+ 41 # +--|----------------------|------------------+ [all …]
|
H A D | gre_custom_multipath_hash.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # +--------------------------------+ 13 # | 198.51.100.{2-253}/24 | | 14 # | 2001:db8:1::{2-fd}/64 | | 15 # +-------------------------|------+ 17 # +-------------------------|------------------+ 21 # | 2001:db8:1::1/64 | 25 # | rem=192.0.2.2 --. | 30 # +---------------------|----------------------+ 32 # +---------------------|----------------------+ [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | fib_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # all tests in this script. Can be overridden with -t option 28 if [ ${rc} -eq ${expected} ]; then 29 printf " TEST: %-60s [ OK ]\n" "${msg}" 34 printf " TEST: %-60s [FAIL]\n" "${msg}" 53 set -e 55 IP="$(which ip) -netns $ns1" 57 ip netns exec $ns1 sysctl -qw net.ipv4.ip_forward=1 58 ip netns exec $ns1 sysctl -qw net.ipv6.conf.all.forwarding=1 63 $IP -6 address add 2001:db8:1::1/64 dev dummy0 [all …]
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | dispc_coefs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 14 { 0, -4, 123, 9, 0 }, 15 { 0, -4, 108, 24, 0 }, 16 { 0, -2, 87, 43, 0 }, 17 { 0, 64, 64, 0, 0 }, 18 { 0, 43, 87, -2, 0 }, 19 { 0, 24, 108, -4, 0 }, 20 { 0, 9, 123, -4, 0 }, 24 { 0, 6, 116, 6, 0 }, [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc_coefs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 { 0, -4, 123, 9, 0 }, 17 { 0, -4, 108, 24, 0 }, 18 { 0, -2, 87, 43, 0 }, 19 { 0, 64, 64, 0, 0 }, 20 { 0, 43, 87, -2, 0 }, 21 { 0, 24, 108, -4, 0 }, 22 { 0, 9, 123, -4, 0 }, 26 { 0, 6, 116, 6, 0 }, 28 { 0, -2, 100, 30, 0 }, [all …]
|
/linux/arch/alpha/include/asm/ |
H A D | xor.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/asm-alpha/xor.h 5 * Optimized RAID-5 checksumming functions for alpha EV5 and EV6 52 srl $16, 6, $16 \n\ 62 ldq $6,24($17) \n\ 81 xor $6,$7,$6 \n\ 85 stq $6,24($17) \n\ 96 addq $17,64,$17 \n\ 97 addq $18,64,$18 \n\ 107 srl $16, 6, $16 \n\ [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | vxlan_flooding_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # +-----------------------+ 12 # | | 2001:db8:1::1/64 | 13 # +----|------------------+ 15 # +----|----------------------------------------------------------------------+ 17 # | +--|--------------------------------------------------------------------+ | 24 # | +-----------------------------------------------------------------------+ | 26 # | 2001:db8:2::0/64 via 2001:db8:3::2 | 29 # | | 2001:db8:3::1/64 | 30 # +----|----------------------------------------------------------------------+ [all …]
|
/linux/arch/sh/lib/ |
H A D | udivsi3_i4i.S | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0 23 Uses a lookup table for divisors in the range -128 .. +128, and 54 mov.l r4,@-r15 56 mov.l r1,@-r15 67 mov.l r4,@-r15 70 mov.l r5,@-r15 108 mov.l r4,@-r15 110 mov.l r1,@-r15 117 mov.l r1,@-r15 132 mov.l r4,@-r15 [all …]
|
/linux/arch/mips/include/asm/ |
H A D | asmmacro.h | 12 #include <asm/asm-offsets.h> 16 #include <asm/asmmacro-32.h> 19 #include <asm/asmmacro-64.h> 22 /* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */ 78 addi \reg, \reg, -1 111 .set fp=64 170 .set fp=64 211 andi \rd, \rd, (1 << \s) - 1 252 .set fp=64 261 .set fp=64 [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pko-defs.h | 7 * Copyright (c) 2003-2012 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 121 uint64_t segs:6; 125 uint64_t segs:6; 155 uint64_t reserved_0_63:64; 157 uint64_t reserved_0_63:64; 164 uint64_t segs:6; 168 uint64_t segs:6; 247 uint64_t reserved_0_63:64; [all …]
|
/linux/arch/arm/crypto/ |
H A D | blake2b-neon-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 29 // M_0-M_3 are occasionally used for other purposes too. 50 // rotation amounts with NEON. (On Cortex-A53 it's the same speed as 51 // vshr.u64 + vsli.u64, while on Cortex-A7 it's faster.) 53 .byte 3, 4, 5, 6, 7, 0, 1, 2 55 .byte 2, 3, 4, 5, 6, 7, 0, 1 64 // NEON registers q0-q7. The message block is in q8..q15 (M_0-M_15). The stack 65 // pointer points to a 32-byte aligned buffer containing a copy of q8 and q9 66 // (M_0-M_3), so that they can be reloaded if they are used as temporary 67 // registers. The macro arguments s0-s15 give the order in which the message [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | vxlan_flooding_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # +-----------------------+ 12 # | | 2001:db8:1::1/64 | 13 # +----|------------------+ 15 # +----|----------------------------------------------------------------------+ 17 # | +--|--------------------------------------------------------------------+ | 24 # | +-----------------------------------------------------------------------+ | 26 # | 2001:db8:2::0/64 via 2001:db8:3::2 | 29 # | | 2001:db8:3::1/64 | 30 # +----|----------------------------------------------------------------------+ [all …]
|