Re: [dpdk-dev] [PATCH] vhost: fix virtqueue initialization

2020-11-09 Thread Maxime Coquelin
On 11/9/20 7:37 PM, Ferruh Yigit wrote: > On 11/6/2020 2:47 PM, Maxime Coquelin wrote: >> This patches fixes virtqueue initialization issue causing >> segfault or file descriptor being closed unexpectedly. >> >> The wrong index was passed to init_vring_queue() by >> alloc_vring_queue() when a ho

Re: [dpdk-dev] [PATCH] vhost: fix virtqueue initialization

2020-11-09 Thread Ferruh Yigit
On 11/9/2020 5:09 AM, Jiang, YuX wrote: Tested-by: JiangYuX Please don't top post. Also tag should be: "Tested-by: Yu Jiang " -Original Message- From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] Sent: Friday, November 6, 2020 10:48 PM To: dev@dpdk.org; Xia, Chenbo ; amore

Re: [dpdk-dev] [PATCH] vhost: fix virtqueue initialization

2020-11-09 Thread Ferruh Yigit
On 11/6/2020 2:47 PM, Maxime Coquelin wrote: This patches fixes virtqueue initialization issue causing segfault or file descriptor being closed unexpectedly. The wrong index was passed to init_vring_queue() by alloc_vring_queue() when a hole in the virtqueue array was met. Fixes: 8acd7c213353 (

Re: [dpdk-dev] [PATCH] vhost: fix virtqueue initialization

2020-11-09 Thread Maxime Coquelin
On 11/6/20 3:47 PM, Maxime Coquelin wrote: > This patches fixes virtqueue initialization issue causing > segfault or file descriptor being closed unexpectedly. > > The wrong index was passed to init_vring_queue() by > alloc_vring_queue() when a hole in the virtqueue array was > met. > > Fixes:

Re: [dpdk-dev] [PATCH] vhost: fix virtqueue initialization

2020-11-08 Thread Jiang, YuX
Tested-by: JiangYuX Best Regards Jiang yu > -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Friday, November 6, 2020 10:48 PM > To: dev@dpdk.org; Xia, Chenbo ; > amore...@redhat.com > Cc: sta...@dpdk.org; Maxime Coquelin ; > Jiang, YuX > Su

Re: [dpdk-dev] [PATCH] vhost: fix virtqueue initialization

2020-11-06 Thread David Marchand
On Fri, Nov 6, 2020 at 3:48 PM Maxime Coquelin wrote: > > This patches fixes virtqueue initialization issue causing > segfault or file descriptor being closed unexpectedly. > > The wrong index was passed to init_vring_queue() by > alloc_vring_queue() when a hole in the virtqueue array was > met. >

[dpdk-dev] [PATCH] vhost: fix virtqueue initialization

2020-11-06 Thread Maxime Coquelin
This patches fixes virtqueue initialization issue causing segfault or file descriptor being closed unexpectedly. The wrong index was passed to init_vring_queue() by alloc_vring_queue() when a hole in the virtqueue array was met. Fixes: 8acd7c213353 ("vhost: fix virtqueues metadata allocation") Cc