[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0f4608f0-16e1-c458-3a9b-dcfc0a9d4df8@intel.com>
Date: Thu, 25 Nov 2021 10:12:14 +0800
From: "Zhu, Lingshan" <lingshan.zhu@...el.com>
To: Stefano Garzarella <sgarzare@...hat.com>
Cc: Jason Wang <jasowang@...hat.com>, Michael Tsirkin <mst@...hat.com>,
Cindy Lu <lulu@...hat.com>,
Linux Virtualization <virtualization@...ts.linux-foundation.org>,
netdev <netdev@...r.kernel.org>, kvm <kvm@...r.kernel.org>,
kernel list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V4 0/3] vDPA/ifcvf: enables Intel C5000X-PL virtio-blk
Hello Stefano,
Thanks for your review and advices, I will fix them
Thanks,
Zhu Lingshan
On 11/24/2021 11:39 PM, Stefano Garzarella wrote:
> Hi Zhu,
>
> On Mon, Apr 19, 2021 at 8:39 AM Zhu Lingshan <lingshan.zhu@...el.com> wrote:
>> This series enabled Intel FGPA SmartNIC C5000X-PL virtio-blk for vDPA.
> Looking at the IFCVF upstream vDPA driver (with this series applied), it
> seems that there is still some cleaning to be done to support virtio-blk
> devices:
>
> - ifcvf_vdpa_get_config() and ifcvf_vdpa_set_config() use
> `sizeof(struct virtio_net_config)` to check the inputs.
> This seems wrong for a virtio-blk device. Maybe we can set the config
> size for each device in ifcvf_vdpa_dev_add() and use that field to
> check the inputs. We can reuse the same field also in
> ifcvf_vdpa_get_config_size().
>
> - Just for make the code more readable we should rename `net_cfg` field
> to `device_cfg`in `struct ifcvf_hw`.
>
> What do you think?
>
> Thanks,
> Stefano
>
Powered by blists - more mailing lists