related to the opening of the vIOMMU.
This patch add option '--iommu-support' to use guest vIOMMU to
protect vhost, then the ping test in vm-L2 is OK.
This option is required in a nested virtualization environment.
Signed-off-by: Hao Chen
---
v2:
*fprintf all string including the eal on
related to the opening of the vIOMMU.
This patch add option '--iommu-support' to use guest vIOMMU to
protect vhost, then the ping test in vm-L2 is OK.
This option is required in a nested virtualization environment.
Signed-off-by: Hao Chen
---
v3:
*Modify mail title.
v2:
*fprintf
On 2022/10/26 14:10, Maxime Coquelin wrote:
Hi Hao
On 10/25/22 08:19, Hao Chen wrote:
When we run dpdk vdpa in the nested virtual machine vm-L1 and ping
test in vm-L2, the ping is NG. The reason for troubleshooting is
NG == not good? Please don't use abbreviations.
Yes, I wil
ich will
cause 'vdpa_dev->ops->dev_conf' to obtain QEMU vring addr information
from 'vhost_devices->virtqueue[i]' failed.
Here, nr_ving is modified to dev->nr_vring, so that multiple queues
can obtain the corresponding 'vhost_devices->virtqueue[i]'.
Si
ich will
cause 'vdpa_dev->ops->dev_conf' to obtain QEMU vring addr information
from 'vhost_devices->virtqueue[i]' failed.
Here, nr_ving is modified to dev->nr_vring, so that multiple queues
can obtain the corresponding 'vhost_devices->virtqueue[i]'.
Si
On 2023/2/3 18:38, Maxime Coquelin wrote:
On 1/28/23 04:06, Hao Chen wrote:
When 'virtio_is_Ready' returns 1, 'vdpa_dev->ops->dev_conf' will be
called, and the vdpa driver called 'rte_vhost_get_vhost_vring' to
get the vring addr info from 'vhost
messages to dpdk-vdpa.
Dpdk vdpa will call vhost_user_iotlb_msg->
vhost_user_iotlb_cache_insert, here, will obtain the write lock
`iotlb_lock`, but the read lock `iotlb_lock` has not been released and
will block here.
This patch add lock and unlock function to fix the deadlock.
Signed-off-by
在 2024/1/18 22:46, David Marchand 写道:
Hello,
On Thu, Jan 18, 2024 at 11:34 AM Hao Chen wrote:
In a nested virtualization environment, running dpdk vdpa in QEMU-L1 for
software live migration will result in a deadlock between dpdke-vdpa and
QEMU-L2 processes.
rte_vdpa_relay_vring_used
as not been released and
will block here.
This patch add lock and unlock function to fix the deadlock.
Fixes: b13ad2decc83 ("vhost: provide helpers for virtio ring relay")
Cc: sta...@dpdk.org
Signed-off-by: Hao Chen
---
Changes v1 ... v2:
- protect the vhost_alloc_copy_ind_table() call too.
Enable this feature, so that libvirt or qemu can call vdpa vendor
driver's ops '.get_config' through 'vhost_net_get_config' to get
the mac address of the vdpa hardware without manual configuration.
Signed-off-by: Hao Chen
---
lib/vhost/vhost_user.h | 3 ++-
1 file ch
On 2022/9/26 15:26, Xia, Chenbo wrote:
-Original Message-
From: Hao Chen
Sent: Tuesday, September 13, 2022 5:55 PM
To: maxime.coque...@redhat.com; Xia, Chenbo
Cc: dev@dpdk.org; ho...@yusur.tech; z...@yusur.tech; Hao Chen
Subject: [PATCH] vhost: enable CONFIG feature
Enable this
ROTOCOL_FEATURES
to function 'rte_vhost_driver_get_protocol_features'.
Signed-off-by: Hao Chen
---
lib/vhost/socket.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/vhost/socket.c b/lib/vhost/socket.c
index a8df2d484a..df8f26a5bd 100644
--- a/lib/vhost/socket.c
+++
related to the opening of the vIOMMU.
This patch add option '--iommu-support' to use guest vIOMMU to
protect vhost, then the ping test in vm-L2 is OK.
This option is required in a nested virtualization environment.
Signed-off-by: Hao Chen
---
examples/vdpa/main.c | 19 ++---
, and the kernel parameter is added with
'intel_iommu=on iommu=pt'.
VM-L1's xml add viommu and virtio device adds iommu='on' ats='on'.
VM-L2's xml enables viommu, and adds parameters
'intel_iommu=on iommu=pt' to kernel.
Then the ping test in vm-L2
Hello:
I am sorry if this question has been asked before, or this is not right
list to ask, I searched the list archive, did not see any answer.
Any one can share information about which Mellanox 40G NIC on the mark
can/will support DPDK or DPDK 2.0? The DPDK supported NIC page only lis
15 matches
Mail list logo