I can not reproduce with 5.4.0-54.60 kernel, please let me know if my steps are wrong.
The attachment is the script I use to build VM guests on kunpeng920 machine The net1.xml and net2.xml used in the scripts are
$ cat net1.xml <hostdev mode='subsystem' type='pci' managed='yes'> <source> <address domain='0x0000' bus='0xbd' slot='0x01' function='0x0'/> </source> </hostdev>
$ cat net2.xml <hostdev mode='subsystem' type='pci' managed='yes'> <source> <address domain='0x0000' bus='0xbd' slot='0x01' function='0x1'/> </source> </hostdev>
The netperf runs on TCP and UDP are passed.
ubuntu@vm1:~$ netperf -H 192.168.100.10 -t TCP_STREAM -l 60 -- -m 1472 MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.100.10 () port 0 AF_INET : demo Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec
131072 16384 1472 60.02 506.88 ubuntu@vm1:~$ netperf -H 192.168.100.10 -t UDP_STREAM -l 60 -- -m 1472 MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.100.10 () port 0 AF_INET : demo Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec
212992 1472 60.00 2853676 0 560.08 212992 60.00 2853534 560.05
I can not reproduce with 5.4.0-54.60 kernel, please let me know if my steps are wrong.
The attachment is the script I use to build VM guests on kunpeng920 machine
The net1.xml and net2.xml used in the scripts are
$ cat net1.xml
< address domain='0x0000' bus='0xbd' slot='0x01' function='0x0'/>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
</source>
</hostdev>
$ cat net2.xml
< address domain='0x0000' bus='0xbd' slot='0x01' function='0x1'/>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
</source>
</hostdev>
The netperf runs on TCP and UDP are passed.
ubuntu@vm1:~$ netperf -H 192.168.100.10 -t TCP_STREAM -l 60 -- -m 1472
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.100.10 () port 0 AF_INET : demo
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
131072 16384 1472 60.02 506.88
ubuntu@vm1:~$ netperf -H 192.168.100.10 -t UDP_STREAM -l 60 -- -m 1472
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.100.10 () port 0 AF_INET : demo
Socket Message Elapsed Messages
Size Size Time Okay Errors Throughput
bytes bytes secs # # 10^6bits/sec
212992 1472 60.00 2853676 0 560.08
212992 60.00 2853534 560.05