Bug 8832 - [Anolis23.1 GA][Beta][ANCK-6.6.25-2][x86_64/aarch64] kernel-selftests测试,case:net/udpgro_fwd.sh测试代码缺失函数wait_local_port_listen()
Summary: [Anolis23.1 GA][Beta][ANCK-6.6.25-2][x86_64/aarch64] kernel-selftests测试,case:...
Status: CLOSED FIXED
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: net (show other bugs) net
Version: 6.6.25-2
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: sdwzhz
QA Contact:
URL:
Whiteboard:
Keywords: Function
Depends on:
Blocks:
 
Reported: 2024-04-23 10:53 UTC by anolislw
Modified: 2024-05-20 17:54 UTC (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anolislw alibaba_cloud_group 2024-04-23 10:53:20 UTC
[缺陷描述]:
 kernel-selftests测试,case:net/udpgro_fwd.sh测试代码缺失函数wait_local_port_listen(),对比了下case: net/mptcp/simult_flows.sh中的函数wait_local_port_listen()将函数添加到udpgro_fwd.sh用例里面,用例可以正常运行了,但是出现部分fail的测试项,详情见【实际结果]】信息。


[重现概率]:
必现


[重现步骤]
1. 下载kernel-6.6.25-2_rc1.an23.src.rpm
2. rpm -i kernel-6.6.25-2_rc1.an23.src.rpm
3. yum-builddep -y /root/rpmbuild/SPECS/kernel.spec   
   rpmbuild -bp /root/rpmbuild/SPECS/kernel.spec
   cd /root/rpmbuild/BUILD/kernel-6.6.25-2_rc1.an23/linux-6.6.25-2_rc1.an23.aarch64/tools/testing/selftests/net
4. make;./udpgro_fwd.sh



[期望结果]:
用例执行PASS


[实际结果]:
net/udpgro_fwd.sh用例缺失函数wait_local_port_listen()
===================================
# $1: ns, $2: port
wait_local_port_listen()
{
        local listener_ns="${1}"
        local port="${2}"

        local port_hex i

        port_hex="$(printf "%04X" "${port}")"
        for i in $(seq 10); do
                ip netns exec "${listener_ns}" cat /proc/net/tcp* | \
                        awk "BEGIN {rc=1} {if (\$2 ~ /:${port_hex}\$/ && \$4 ~ /0A/) {rc=0; exit}} END {exit rc}" &&
                        break
                sleep 0.1
        done
}
用例缺失函数时执行报错信息:
[root@iZbp143ti4ccpaufkzata6Z net]# ./udpgro_fwd.sh
./udpgro_fwd.sh: line 4: net_helper.sh: No such file or directory
IPv4
No GRO                                  ./udpgro_fwd.sh: line 134: wait_local_port_listen: command not found
 ok
GRO frag list                           ./udpgro_fwd.sh: line 134: wait_local_port_listen: command not found
 fail - received 10 packets, expected 1
GRO fwd                                 ./udpgro_fwd.sh: line 134: wait_local_port_listen: command not found
 fail - received 10 packets, expected 1
UDP fwd perf                            ./udpgro_fwd.sh: line 183: wait_local_port_listen: command not found
udp tx:   2086 MB/s    35380 calls/s  35380 msg/s
udp rx:   1355 MB/s  1101548 calls/s
udp tx:   2054 MB/s    34842 calls/s  34842 msg/s
udp rx:   1398 MB/s  1135711 calls/s
udp tx:   2023 MB/s    34318 calls/s  34318 msg/s
udp rx:   1432 MB/s  1163170 calls/s
UDP GRO fwd perf                        ./udpgro_fwd.sh: line 183: wait_local_port_listen: command not found
udp tx:   2016 MB/s    34200 calls/s  34200 msg/s
udp rx:   1444 MB/s  1173163 calls/s
udp tx:   2022 MB/s    34305 calls/s  34305 msg/s
udp rx:   1451 MB/s  1178588 calls/s
udp tx:   2022 MB/s    34298 calls/s  34298 msg/s
udp rx:   1449 MB/s  1176780 calls/s
GRO frag list over UDP tunnel           ./udpgro_fwd.sh: line 134: wait_local_port_listen: command not found
 fail - received 10 packets, expected 1
GRO fwd over UDP tunnel                 ./udpgro_fwd.sh: line 134: wait_local_port_listen: command not found
 fail - received 10 packets, expected 1
UDP tunnel fwd perf                     ./udpgro_fwd.sh: line 183: wait_local_port_listen: command not found
udp tx:   1846 MB/s    31321 calls/s  31321 msg/s
udp rx:      0 MB/s      610 calls/s
udp tx:   1859 MB/s    31535 calls/s  31535 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1853 MB/s    31441 calls/s  31441 msg/s
^C
[root@iZbp143ti4ccpaufkzata6Z net]# pwd
/root/rpmbuild/BUILD/kernel-6.6.25-2_rc1.an23/linux-6.6.25-2_rc1.an23.aarch64/tools/testing/selftests/net

========== 将函数 wait_local_port_listen() 自行添加到 用例 udpgro_fwd.sh可以正常运行,但是出现部分fail的测试项 ===========
[root@iZbp143ti4ccpaufkzata6Z net]# ./udpgro_fwd.sh
./udpgro_fwd.sh: line 4: net_helper.sh: No such file or directory
IPv4
No GRO                                   ok
GRO frag list                            fail - received 10 packets, expected 1
GRO fwd                                  fail - received 10 packets, expected 1
UDP fwd perf                            udp rx:      0 MB/s      256 calls/s
udp tx:   2034 MB/s    34513 calls/s  34513 msg/s
udp rx:   1413 MB/s  1147604 calls/s
udp tx:   2038 MB/s    34573 calls/s  34573 msg/s
udp rx:   1412 MB/s  1147143 calls/s
udp tx:   2036 MB/s    34543 calls/s  34543 msg/s
udp rx:   1408 MB/s  1143631 calls/s
UDP GRO fwd perf                        udp rx:      0 MB/s      256 calls/s
udp tx:   2044 MB/s    34682 calls/s  34682 msg/s
udp rx:   1403 MB/s  1139759 calls/s
udp tx:   2045 MB/s    34687 calls/s  34687 msg/s
udp rx:   1402 MB/s  1139085 calls/s
udp tx:   2042 MB/s    34646 calls/s  34646 msg/s
udp rx:   1407 MB/s  1142841 calls/s
GRO frag list over UDP tunnel            fail - received 10 packets, expected 1
GRO fwd over UDP tunnel                  fail - received 10 packets, expected 1
UDP tunnel fwd perf                     udp rx:      0 MB/s      256 calls/s
udp tx:   1351 MB/s    22923 calls/s  22923 msg/s
udp tx:   1866 MB/s    31664 calls/s  31664 msg/s
udp rx:      0 MB/s      768 calls/s
udp tx:   1867 MB/s    31674 calls/s  31674 msg/s
UDP tunnel GRO fwd perf                 udp rx:      0 MB/s      256 calls/s
udp tx:   1863 MB/s    31613 calls/s  31613 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1867 MB/s    31677 calls/s  31677 msg/s
udp tx:   1865 MB/s    31638 calls/s  31638 msg/s
udp rx:      0 MB/s      512 calls/s
IPv6
No GRO                                   ok
GRO frag list                            fail - received 10 packets, expected 1
GRO fwd                                  fail - received 10 packets, expected 1
UDP fwd perf                            udp rx:      0 MB/s      248 calls/s
udp tx:   2114 MB/s    35864 calls/s  35864 msg/s
udp rx:   1138 MB/s   925098 calls/s
udp tx:   2127 MB/s    36078 calls/s  36078 msg/s
udp rx:   1163 MB/s   945842 calls/s
udp tx:   2100 MB/s    35625 calls/s  35625 msg/s
udp rx:   1125 MB/s   914881 calls/s
UDP GRO fwd perf                        udp rx:      0 MB/s      122 calls/s
udp tx:   1967 MB/s    33368 calls/s  33368 msg/s
udp rx:   1370 MB/s  1113222 calls/s
udp tx:   1964 MB/s    33314 calls/s  33314 msg/s
udp rx:   1376 MB/s  1117903 calls/s
udp tx:   1965 MB/s    33339 calls/s  33339 msg/s
udp rx:   1369 MB/s  1112424 calls/s
GRO frag list over UDP tunnel            fail - received 10 packets, expected 1
GRO fwd over UDP tunnel                  fail - received 10 packets, expected 1
UDP tunnel fwd perf                     udp rx:      0 MB/s      256 calls/s
udp tx:   1778 MB/s    30157 calls/s  30157 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1760 MB/s    29865 calls/s  29865 msg/s
udp tx:   1765 MB/s    29944 calls/s  29944 msg/s
udp rx:      0 MB/s      512 calls/s
UDP tunnel GRO fwd perf                 udp rx:      0 MB/s      256 calls/s
udp tx:   1761 MB/s    29868 calls/s  29868 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1769 MB/s    30004 calls/s  30004 msg/s
udp tx:   1768 MB/s    29997 calls/s  29997 msg/s
udp rx:      0 MB/s      512 calls/s
[root@iZbp143ti4ccpaufkzata6Z net]# pwd
/root/rpmbuild/BUILD/kernel-6.6.25-2_rc1.an23/linux-6.6.25-2_rc1.an23.aarch64/tools/testing/selftests/net
[root@iZbp143ti4ccpaufkzata6Z net]# ./udpgro_fwd.sh^C
[root@iZbp143ti4ccpaufkzata6Z net]# uname -r
6.6.25-2_rc1.an23.aarch64





[重现环境]:
环境信息:云上ecs

[root@iZbp143ti4ccpaufkzata6Z breakpoints]# uname -a
Linux iZbp143ti4ccpaufkzata6Z 6.6.25-2_rc1.an23.aarch64 #1 SMP PREEMPT_DYNAMIC Thu Apr 11 15:02:38 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
[root@iZbp143ti4ccpaufkzata6Z breakpoints]#
[root@iZbp143ti4ccpaufkzata6Z breakpoints]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

[root@iZbp143ti4ccpaufkzata6Z breakpoints]#
[root@iZbp143ti4ccpaufkzata6Z breakpoints]#
[root@iZbp143ti4ccpaufkzata6Z breakpoints]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           6.1G  804K  6.1G   1% /run
efivarfs        256K   18K  239K   7% /sys/firmware/efi/efivars
/dev/nvme0n1p2   40G   13G   27G  33% /
tmpfs            16G  3.1M   16G   1% /tmp
/dev/nvme0n1p1  500M  6.5M  494M   2% /boot/efi
tmpfs           3.1G  4.0K  3.1G   1% /run/user/0
[root@iZbp143ti4ccpaufkzata6Z breakpoints]#
[root@iZbp143ti4ccpaufkzata6Z breakpoints]# free -g
               total        used        free      shared  buff/cache   available
Mem:              30           0          28           0           1          29
Swap:              0           0           0
[root@iZbp143ti4ccpaufkzata6Z breakpoints]#
[root@iZbp143ti4ccpaufkzata6Z breakpoints]# cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.6.25-2_rc1.an23.aarch64 root=UUID=6424d533-3c41-4ad9-89fa-1d3bf8c49fd3 ro rhgb crashkernel=0M-2G:0M,2G-64G:256M,64G-:384M iommu.passthrough=1 iommu.strict=0 cryptomgr.notests cgroup.memory=nokmem rcupdate.rcu_cpu_stall_timeout=300 quiet selinux=1 console=tty0 biosdevname=0 net.ifnames=0 console=ttyAMA0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295
[root@iZbp143ti4ccpaufkzata6Z breakpoints]#
[root@iZbp143ti4ccpaufkzata6Z breakpoints]# lscpu
Architecture:             aarch64
  CPU op-mode(s):         32-bit, 64-bit
  Byte Order:             Little Endian
CPU(s):                   8
  On-line CPU(s) list:    0-7
Vendor ID:                ARM
  BIOS Vendor ID:         Alibaba Cloud
  Model name:             Neoverse-N2
    BIOS Model name:      virt-rhel7.6.0  CPU @ 2.0GHz
    BIOS CPU family:      1
    Model:                0
    Thread(s) per core:   1
    Core(s) per socket:   8
    Socket(s):            1
    Stepping:             r0p0
    BogoMIPS:             100.00
    Flags:                fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm
                          3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesh
                          a3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh
Caches (sum of all):
  L1d:                    512 KiB (8 instances)
  L1i:                    512 KiB (8 instances)
  L2:                     8 MiB (8 instances)
  L3:                     64 MiB (1 instance)
NUMA:
  NUMA node(s):           1
  NUMA node0 CPU(s):      0-7
Vulnerabilities:
  Gather data sampling:   Not affected
  Itlb multihit:          Not affected
  L1tf:                   Not affected
  Mds:                    Not affected
  Meltdown:               Not affected
  Mmio stale data:        Not affected
  Reg file data sampling: Not affected
  Retbleed:               Not affected
  Spec rstack overflow:   Not affected
  Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:             Mitigation; __user pointer sanitization
  Spectre v2:             Mitigation; CSV2, BHB
  Srbds:                  Not affected
  Tsx async abort:        Not affected
Comment 1 yunmeng365524 2024-05-08 20:36:01 UTC
6.6上面有修复了。后续更新一下最新的用例,
https://fossies.org/diffs/linux/6.6.25_vs_6.6.26/tools/testing/selftests/net/udpgro_fwd.sh-diff.html
Comment 2 汉七 alibaba_cloud_group 2024-05-14 20:33:40 UTC
(In reply to yunmeng365524 from comment #1)
> 6.6上面有修复了。后续更新一下最新的用例,
> https://fossies.org/diffs/linux/6.6.25_vs_6.6.26/tools/testing/selftests/net/
> udpgro_fwd.sh-diff.html

上述差异并非解决本问题,实际上需要依次合入下面两个补丁(目前正在回合中):

(1) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=master&id=1a825e4cdf457b7aef7ebbc2f1206654f5beb150

(2) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=master&id=ba5a6476e3866c97e2c85f64b0c7dfb8fbdda18a

这两个补丁都属于前置补丁已合入,但是selftest未合入。

合入后,测试成功:
# ./udpgro_fwd.sh
IPv4
No GRO                                   ok
GRO frag list                            ok
GRO fwd                                  ok
UDP fwd perf                            udp tx:   1318 MB/s    22357 calls/s  22357 msg/s
udp rx:      1 MB/s     1024 calls/s
udp tx:   1316 MB/s    22330 calls/s  22330 msg/s
udp rx:      1 MB/s     1024 calls/s
udp tx:   1313 MB/s    22281 calls/s  22281 msg/s
UDP GRO fwd perf                        udp rx:    663 MB/s   539035 calls/s
udp tx:   1119 MB/s    18979 calls/s  18979 msg/s
udp rx:    669 MB/s   544387 calls/s
udp tx:   1120 MB/s    18996 calls/s  18996 msg/s
udp rx:    670 MB/s   544727 calls/s
udp tx:   1118 MB/s    18976 calls/s  18976 msg/s
GRO frag list over UDP tunnel            ok
GRO fwd over UDP tunnel                  ok
UDP tunnel fwd perf                     udp tx:   1154 MB/s    19576 calls/s  19576 msg/s
udp rx:      0 MB/s      768 calls/s
udp tx:   1155 MB/s    19601 calls/s  19601 msg/s
udp rx:      0 MB/s      768 calls/s
udp tx:   1156 MB/s    19609 calls/s  19609 msg/s
UDP tunnel GRO fwd perf                 udp tx:   1157 MB/s    19638 calls/s  19638 msg/s
udp rx:      0 MB/s      768 calls/s
udp tx:   1159 MB/s    19669 calls/s  19669 msg/s
udp rx:      0 MB/s      768 calls/s
udp tx:   1160 MB/s    19675 calls/s  19675 msg/s
IPv6
No GRO                                   ok
GRO frag list                            ok
GRO fwd                                  ok
UDP fwd perf                            udp tx:   1202 MB/s    20394 calls/s  20394 msg/s
udp rx:      0 MB/s      768 calls/s
udp tx:   1212 MB/s    20571 calls/s  20571 msg/s
udp rx:      1 MB/s     1024 calls/s
udp tx:   1206 MB/s    20456 calls/s  20456 msg/s
UDP GRO fwd perf                        udp rx:    450 MB/s   365770 calls/s
udp tx:   1167 MB/s    19801 calls/s  19801 msg/s
udp rx:    451 MB/s   367080 calls/s
udp tx:   1170 MB/s    19845 calls/s  19845 msg/s
udp rx:    454 MB/s   369198 calls/s
udp tx:   1167 MB/s    19800 calls/s  19800 msg/s
GRO frag list over UDP tunnel            ok
GRO fwd over UDP tunnel                  ok
UDP tunnel fwd perf                     udp tx:   1129 MB/s    19165 calls/s  19165 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1137 MB/s    19298 calls/s  19298 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1141 MB/s    19360 calls/s  19360 msg/s
udp rx:      0 MB/s      549 calls/s
UDP tunnel GRO fwd perf                 udp tx:   1149 MB/s    19491 calls/s  19491 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1151 MB/s    19523 calls/s  19523 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1147 MB/s    19469 calls/s  19469 msg/s
udp rx:      0 MB/s      549 calls/s
Comment 3 汉七 alibaba_cloud_group 2024-05-15 14:04:42 UTC
pr已合入:https://gitee.com/anolis/cloud-kernel/pulls/3178
Comment 4 anolislw alibaba_cloud_group 2024-05-20 17:36:21 UTC
rc3内核上,使用x86/aarch64 ecs环境下,回归验证均通过
=============================  x86 ============================

[root@localhost net]# ./udpgro_fwd.sh
IPv4
No GRO                                   ok
GRO frag list                            ok
GRO fwd                                  ok
UDP fwd perf                            udp rx:    298 MB/s   242580 calls/s
udp tx:    915 MB/s    15528 calls/s  15528 msg/s
udp rx:    340 MB/s   276736 calls/s
udp tx:    931 MB/s    15799 calls/s  15799 msg/s
udp rx:    343 MB/s   279040 calls/s
udp tx:    926 MB/s    15715 calls/s  15715 msg/s
UDP GRO fwd perf                        udp rx:    385 MB/s   313600 calls/s
udp tx:    900 MB/s    15268 calls/s  15268 msg/s
udp rx:    394 MB/s   320768 calls/s
udp tx:    897 MB/s    15215 calls/s  15215 msg/s
udp rx:    391 MB/s   317952 calls/s
udp tx:    899 MB/s    15254 calls/s  15254 msg/s
GRO frag list over UDP tunnel            ok
GRO fwd over UDP tunnel                  ok
UDP tunnel fwd perf                     udp tx:    832 MB/s    14120 calls/s  14120 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    831 MB/s    14107 calls/s  14107 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    831 MB/s    14101 calls/s  14101 msg/s
UDP tunnel GRO fwd perf                 udp tx:    801 MB/s    13590 calls/s  13590 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    801 MB/s    13602 calls/s  13602 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    802 MB/s    13603 calls/s  13603 msg/s
IPv6
No GRO                                   ok
GRO frag list                            ok
GRO fwd                                  ok
UDP fwd perf                            udp tx:    770 MB/s    13065 calls/s  13065 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    779 MB/s    13220 calls/s  13220 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    781 MB/s    13249 calls/s  13249 msg/s
udp rx:      4 MB/s     3922 calls/s
UDP GRO fwd perf                        udp rx:    131 MB/s   106752 calls/s
udp tx:    951 MB/s    16143 calls/s  16143 msg/s
udp rx:    132 MB/s   107501 calls/s
udp tx:    954 MB/s    16195 calls/s  16195 msg/s
udp rx:    129 MB/s   105472 calls/s
udp tx:    956 MB/s    16218 calls/s  16218 msg/s
GRO frag list over UDP tunnel            ok
GRO fwd over UDP tunnel                  ok
UDP tunnel fwd perf                     udp tx:    833 MB/s    14134 calls/s  14134 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    832 MB/s    14113 calls/s  14113 msg/s
udp tx:    828 MB/s    14054 calls/s  14054 msg/s
udp rx:      0 MB/s      512 calls/s
UDP tunnel GRO fwd perf                 udp tx:    827 MB/s    14034 calls/s  14034 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    818 MB/s    13883 calls/s  13883 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:    812 MB/s    13783 calls/s  13783 msg/s
[root@localhost net]# echo $?
0
[root@localhost net]# uname -r
6.6.25-2_rc3.an23.x86_64
[root@localhost net]# pwd
/root/rpmbuild/BUILD/kernel-6.6.25-2_rc3.an23/linux-6.6.25-2_rc3.an23.x86_64/tools/testing/selftests/net



======================================= aarch64 ========================
[root@localhost net]# ./udpgro_fwd.sh
IPv4
No GRO                                   ok
GRO frag list                            ok
GRO fwd                                  ok
UDP fwd perf                            udp rx:   1411 MB/s  1146616 calls/s
udp tx:   2148 MB/s    36439 calls/s  36439 msg/s
udp rx:   1462 MB/s  1187545 calls/s
udp tx:   2112 MB/s    35821 calls/s  35821 msg/s
udp rx:   1509 MB/s  1225632 calls/s
udp tx:   2066 MB/s    35041 calls/s  35041 msg/s
UDP GRO fwd perf                        udp rx:   1458 MB/s  1184630 calls/s
udp tx:   2132 MB/s    36171 calls/s  36171 msg/s
udp rx:   1492 MB/s  1211929 calls/s
udp tx:   2125 MB/s    36052 calls/s  36052 msg/s
udp rx:   1490 MB/s  1210249 calls/s
udp tx:   2137 MB/s    36252 calls/s  36252 msg/s
GRO frag list over UDP tunnel            ok
GRO fwd over UDP tunnel                  ok
UDP tunnel fwd perf                     udp tx:   1911 MB/s    32426 calls/s  32426 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1907 MB/s    32350 calls/s  32350 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1902 MB/s    32262 calls/s  32262 msg/s
UDP tunnel GRO fwd perf                 udp tx:   1915 MB/s    32488 calls/s  32488 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1911 MB/s    32422 calls/s  32422 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1904 MB/s    32294 calls/s  32294 msg/s
IPv6
No GRO                                   ok
GRO frag list                            ok
GRO fwd                                  ok
UDP fwd perf                            udp rx:   1162 MB/s   944403 calls/s
udp tx:   2170 MB/s    36812 calls/s  36812 msg/s
udp rx:   1226 MB/s   996451 calls/s
udp tx:   2156 MB/s    36570 calls/s  36570 msg/s
udp rx:   1284 MB/s  1044221 calls/s
udp tx:   2123 MB/s    36012 calls/s  36012 msg/s
UDP GRO fwd perf                        udp rx:   1151 MB/s   935651 calls/s
udp tx:   2189 MB/s    37141 calls/s  37141 msg/s
udp rx:   1192 MB/s   968963 calls/s
udp tx:   2167 MB/s    36757 calls/s  36757 msg/s
udp rx:   1228 MB/s   998446 calls/s
udp tx:   2143 MB/s    36355 calls/s  36355 msg/s
GRO frag list over UDP tunnel            ok
GRO fwd over UDP tunnel                  ok
UDP tunnel fwd perf                     udp tx:   1822 MB/s    30916 calls/s  30916 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1795 MB/s    30459 calls/s  30459 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1774 MB/s    30091 calls/s  30091 msg/s
UDP tunnel GRO fwd perf                 udp tx:   1877 MB/s    31838 calls/s  31838 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1866 MB/s    31660 calls/s  31660 msg/s
udp rx:      0 MB/s      512 calls/s
udp tx:   1840 MB/s    31209 calls/s  31209 msg/s
[root@localhost net]# echo $?
0
[root@localhost net]# uname -r
6.6.25-2_rc3.an23.aarch64
[root@localhost net]# pwd
/root/rpmbuild/BUILD/kernel-6.6.25-2_rc3.an23/linux-6.6.25-2_rc3.an23.aarch64/tools/testing/selftests/net
[root@localhost net]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"
Comment 5 yunmeng365524 2024-05-20 17:54:07 UTC
测试回归通过,问题解决关闭。