Server IP : 13.213.54.232 / Your IP : 216.73.216.72 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ip-172-31-17-110 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 7.1.33-67+ubuntu22.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/modules/6.8.0-1031-aws/build/tools/testing/selftests/drivers/net/mlxsw/ |
Upload File : |
#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # A wrapper to run VXLAN test for IPv6. ADDR_FAMILY=ipv6 LOCAL_IP_1=2001:db8:1::1 LOCAL_IP_2=2001:db8:1::2 PREFIX_LEN=128 UDPCSUM_FLAFS="udp6zerocsumrx udp6zerocsumtx" MC_IP=FF02::2 IP_FLAG="-6" ALL_TESTS=" sanitization_test offload_indication_test sanitization_vlan_aware_test offload_indication_vlan_aware_test " sanitization_single_dev_learning_enabled_ipv6_test() { RET=0 ip link add dev br0 type bridge mcast_snooping 0 ip link add name vxlan0 up type vxlan id 10 learning $UDPCSUM_FLAFS \ ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 sanitization_single_dev_test_fail ip link del dev vxlan0 ip link del dev br0 log_test "vxlan device with learning enabled" } sanitization_single_dev_udp_checksum_ipv6_test() { RET=0 ip link add dev br0 type bridge mcast_snooping 0 ip link add name vxlan0 up type vxlan id 10 nolearning \ noudp6zerocsumrx udp6zerocsumtx ttl 20 tos inherit \ local $LOCAL_IP_1 dstport 4789 sanitization_single_dev_test_fail log_test "vxlan device without zero udp checksum at RX" ip link del dev vxlan0 ip link add name vxlan0 up type vxlan id 10 nolearning \ udp6zerocsumrx noudp6zerocsumtx ttl 20 tos inherit \ local $LOCAL_IP_1 dstport 4789 sanitization_single_dev_test_fail log_test "vxlan device without zero udp checksum at TX" ip link del dev vxlan0 ip link del dev br0 } source vxlan.sh