RE: [PATCH] vdpa/ifc: fix vhost message size check issue

2022-07-03 Thread Pei, Andy
Hi Maxime, Thanks for your effort. > -Original Message- > From: Maxime Coquelin > Sent: Friday, July 1, 2022 9:55 PM > To: Pei, Andy ; dev@dpdk.org > Cc: Xia, Chenbo ; Xu, Rosen ; > Xiao, QimaiX > Subject: Re: [PATCH] vdpa/ifc: fix vhost message size check issue

Re: [PATCH] vdpa/ifc: fix vhost message size check issue

2022-07-01 Thread Maxime Coquelin
On 6/21/22 15:46, Andy Pei wrote: For vhost message VHOST_USER_GET_CONFIG, we do not check payload size in vhost lib, we check payload size in driver specific ops. For ifc vdpa driver, we just need to make sure payload size is not smaller than sizeof(struct virtio_blk_config). Fixes: 856d03bc

Re: [PATCH] vdpa/ifc: fix vhost message size check issue

2022-07-01 Thread Maxime Coquelin
On 6/21/22 15:46, Andy Pei wrote: For vhost message VHOST_USER_GET_CONFIG, we do not check payload size in vhost lib, we check payload size in driver specific ops. For ifc vdpa driver, we just need to make sure payload size is not smaller than sizeof(struct virtio_blk_config). Fixes: 856d03bc

[PATCH] vdpa/ifc: fix vhost message size check issue

2022-06-21 Thread Andy Pei
For vhost message VHOST_USER_GET_CONFIG, we do not check payload size in vhost lib, we check payload size in driver specific ops. For ifc vdpa driver, we just need to make sure payload size is not smaller than sizeof(struct virtio_blk_config). Fixes: 856d03bcdc54 ("vdpa/ifc: add block operations")