Re: [PATCH V6 8/8] virtio: Intel IFC VF driver for VDPA

2020-03-20 Thread Jason Wang
On 2020/3/19 下午9:02, Jason Gunthorpe wrote: On Thu, Mar 19, 2020 at 04:14:37PM +0800, Jason Wang wrote: On 2020/3/18 下午8:22, Jason Gunthorpe wrote: On Wed, Mar 18, 2020 at 04:03:27PM +0800, Jason Wang wrote: From: Zhu Lingshan + +static int ifcvf_vdpa_attach(struct ifcvf_adapter *adapter) +{

Re: [PATCH V6 8/8] virtio: Intel IFC VF driver for VDPA

2020-03-19 Thread Jason Gunthorpe
On Thu, Mar 19, 2020 at 04:14:37PM +0800, Jason Wang wrote: > > On 2020/3/18 下午8:22, Jason Gunthorpe wrote: > > On Wed, Mar 18, 2020 at 04:03:27PM +0800, Jason Wang wrote: > > > From: Zhu Lingshan > > > + > > > +static int ifcvf_vdpa_attach(struct ifcvf_adapter *adapter) > > > +{ > > > + int ret;

Re: [PATCH V6 8/8] virtio: Intel IFC VF driver for VDPA

2020-03-19 Thread Jason Wang
On 2020/3/18 下午8:22, Jason Gunthorpe wrote: On Wed, Mar 18, 2020 at 04:03:27PM +0800, Jason Wang wrote: From: Zhu Lingshan + +static int ifcvf_vdpa_attach(struct ifcvf_adapter *adapter) +{ + int ret; + + adapter->vdpa_dev = vdpa_alloc_device(adapter->dev, adapter->dev, +

Re: [PATCH V6 8/8] virtio: Intel IFC VF driver for VDPA

2020-03-18 Thread kbuild test robot
Hi Jason, Thank you for the patch! Yet something to improve: [auto build test ERROR on vhost/linux-next] [also build test ERROR on linux/master linus/master v5.6-rc6 next-20200317] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also sugg

Re: [PATCH V6 8/8] virtio: Intel IFC VF driver for VDPA

2020-03-18 Thread kbuild test robot
Hi Jason, Thank you for the patch! Yet something to improve: [auto build test ERROR on vhost/linux-next] [also build test ERROR on linux/master linus/master v5.6-rc6 next-20200317] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also sugg

Re: [PATCH V6 8/8] virtio: Intel IFC VF driver for VDPA

2020-03-18 Thread Jason Gunthorpe
On Wed, Mar 18, 2020 at 04:03:27PM +0800, Jason Wang wrote: > From: Zhu Lingshan > + > +static int ifcvf_vdpa_attach(struct ifcvf_adapter *adapter) > +{ > + int ret; > + > + adapter->vdpa_dev = vdpa_alloc_device(adapter->dev, adapter->dev, > +&i

[PATCH V6 8/8] virtio: Intel IFC VF driver for VDPA

2020-03-18 Thread Jason Wang
From: Zhu Lingshan This commit introduced two layers to drive IFC VF: (1) ifcvf_base layer, which handles IFC VF NIC hardware operations and configurations. (2) ifcvf_main layer, which complies to VDPA bus framework, implemented device operations for VDPA bus, handles device probe,