loopback_multi_queues: core dumped when quit vhost testpmd
[email protected]
Reviewed-by Chenbo Xiahttps://bugs.dpdk.org/show_bug.cgi?id=794
Bug ID: 794
Summary: [dpdk-19.11.10] loopback_multi_queues: core dumped
when quit vhost testpmd
Product: DPDK
Version: 19.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: vhost/virtio
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
Environment
DPDK version:
19.11.10-rc1:179f2a3a8a56600a66e4e0830bbe993be67f9d7e Other software versions: N/A
OS: Ubuntu 20.04.2 LTS/Linux 5.11.16-051116-generic
Compiler: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz NIC hardware: FVL-40g
NIC firmware & driver:
driver: i40e
version: 5.11.16-051116-generic
firmware-version: 8.30 0x8000a4ae 1.2926.0
Steps to reproduce
1. Launch vhost testpmd x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 31,32 -n 4 --file-prefix=vhost --no-pci --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i --nb-cores=1 --rxq=1 --txq=1 --txd=1024 --rxd=1024
2. Launch virtio-user
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 29,30 -n 4 --file-prefix=virtio --no-pci --vdev 'net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,in_order=1,mrg_rxbuf=0' --single-file-segments -- -i --nb-cores=1 --rxq=1 --txq=1 --txd=1024 --rxd=1024
3.quit vhost testpmd
testpmd> quit
Show the output from the previous commands.
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...VHOST_CONFIG: free connfd = 24 for device 'vhost-net'
Port 0: link state change eventfree(): invalid pointer
Aborted (core dumped)
Expected Result:
quit normal
Regression
Is this issue a regression: (Y/N) Y
First bad commit id: commit eb35473b23045d32d4abd4d31ca36483e37953df
Author: Maxime Coquelin <[email protected]>
Date: Tue Jun 29 18:11:28 2021 +0200
vhost: fix missing guest pages table NUMA realloc
[ upstream commit 57589cdfd784e6704ded490d80038584d6ade9df ]
When the guest allocates virtqueues on a different NUMA node than the one the Vhost metadata are allocated, both the Vhost device struct and the virtqueues struct are reallocated.
However, reallocating the guest pages table was missing, which likely causes at least one cross-NUMA accesses for every burst of packets.
This patch reallocates this table on the same NUMA node as the other metadata.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=794
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|IN_PROGRESS |RESOLVED
Resolution|--- |FIXED--- Comment #4 from [email protected] ---
Verified on bff2ef03a13b788a9e9e3c4cd9feab45ec055ed1 (tag: v19.11.10-rc2, origin/19.11)
Tested pass on nic fortville_spirit/ os Ubuntu20.04.2 so closed.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.