[PATCH] vdpa: update used->flags in used ring relay

2024-07-16 Thread BillXiang
From: BillXiang The vDPA device will work incorrectly if flags such as VRING_USED_F_NO_NOTIFY are not updated correctly. Signed-off-by: BillXiang --- lib/vhost/vdpa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vhost/vdpa.c b/lib/vhost/vdpa.c index a1dd5a753b..8abb073675 100644

Re: [PATCH v3] vfio: combine container_create and group_bind

2024-07-10 Thread BillXiang
> From: "David Marchand" > Date:  Tue, Jul 9, 2024, 16:49 > Subject:  Re: [PATCH v3] vfio: combine container_create and group_bind > To: "BillXiang" > Cc: "Tyler Retzlaff", "Anatoly > Burakov", > On Thu, Jul 4, 2024 at 9:48 AM

Re: [PATCH] vhost: fix offset while mmaping log base address

2024-07-09 Thread BillXiang
From: BillXiang > From: "Chenbo Xia" > Date: Tue, Jul 9, 2024, 20:42 > Subject: Re: [PATCH] vhost: fix offset while mmaping log base address > To: "BillXiang" > Cc: "Maxime Coquelin", "Jianfeng > Tan", "Tomasz Kulasek"

[PATCH] vhost: fix offset while mmaping log base address

2024-07-08 Thread BillXiang
From: BillXiang For sanity the offset should be the last parameter of mmap. Fixes: fbc4d24 ("vhost: fix offset while mmaping log base address") Signed-off-by: BillXiang --- lib/vhost/vhost_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vhost/vhost_us

[PATCH v3] vfio: combine container_create and group_bind

2024-07-04 Thread BillXiang
From: BillXiang For multi-devices in one group we can only create and bind to one container. With this new function, device driver does not need to save the binding info additionally between different devices. Signed-off-by: BillXiang --- lib/eal/include/rte_vfio.h | 17 + lib

[PATCH v2] vfio: combine container_create and group_bind

2024-07-03 Thread BillXiang
From: BillXiang For multi-devices in one group we can only create and bind to one container. With this new function, device driver does not need to save the binding info additionally between different devices. Signed-off-by: BillXiang --- lib/eal/include/rte_vfio.h | 17 + lib

[PATCH] vfio: combine container_create and group_bind

2024-07-03 Thread BillXiang
From: BillXiang For multi-devices in one group we can only create and bind to one container. With this new function, device driver does not need to save the binding info additionally between different devices. Signed-off-by: BillXiang --- lib/eal/include/rte_vfio.h | 16 lib