[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1d01d5f4063444ecbf7a258289d0e1d6@huawei.com>
Date: Thu, 10 Aug 2023 08:32:15 +0000
From: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@...wei.com>
To: Brett Creeley <brett.creeley@....com>, "kvm@...r.kernel.org"
<kvm@...r.kernel.org>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"alex.williamson@...hat.com" <alex.williamson@...hat.com>, "jgg@...dia.com"
<jgg@...dia.com>, "yishaih@...dia.com" <yishaih@...dia.com>,
"kevin.tian@...el.com" <kevin.tian@...el.com>
CC: "horms@...nel.org" <horms@...nel.org>, "shannon.nelson@....com"
<shannon.nelson@....com>
Subject: RE: [PATCH v14 vfio 0/8] pds-vfio-pci driver
> -----Original Message-----
> From: Brett Creeley [mailto:brett.creeley@....com]
> Sent: 07 August 2023 21:58
> To: kvm@...r.kernel.org; netdev@...r.kernel.org;
> alex.williamson@...hat.com; jgg@...dia.com; yishaih@...dia.com;
> Shameerali Kolothum Thodi <shameerali.kolothum.thodi@...wei.com>;
> kevin.tian@...el.com
> Cc: horms@...nel.org; brett.creeley@....com; shannon.nelson@....com
> Subject: [PATCH v14 vfio 0/8] pds-vfio-pci driver
>
> This is a patchset for a new vendor specific VFIO driver
> (pds-vfio-pci) for use with the AMD/Pensando Distributed Services
> Card (DSC). This driver makes use of the pds_core driver.
>
> This driver will use the pds_core device's adminq as the VFIO
> control path to the DSC. In order to make adminq calls, the VFIO
> instance makes use of functions exported by the pds_core driver.
>
> In order to receive events from pds_core, the pds-vfio-pci driver
> registers to a private notifier. This is needed for various events
> that come from the device.
>
> An ASCII diagram of a VFIO instance looks something like this and can
> be used with the VFIO subsystem to provide the VF device VFIO and live
> migration support.
>
> .------. .-----------------------.
> | QEMU |--| VM .-------------. |
> '......' | | Eth VF | |
> | | .-------------. |
> | | | SR-IOV VF |
> |
> | | '-------------' |
> | '------------||---------'
> .--------------. ||
> |/dev/<vfio_fd>| ||
> '--------------' ||
> Host Userspace | ||
> =================================================== ||
> Host Kernel | ||
> .--------. ||
> |vfio-pci| ||
> '--------' ||
> .------------------. || ||
> | | exported API |<----+ || ||
> | '--------------| | || ||
> | | .--------------. ||
> | pds_core |--->| pds-vfio-pci | ||
> '------------------' | '--------------' ||
> || | || ||
> 09:00.0 notifier 09:00.1 ||
> == PCI ===============================================||=====
> || || ||
> .----------. .----------. ||
> ,-----| PF |----------| VF |-------------------,
> | '----------' |'----------' VF |
> | DSC | data/control |
> | | path |
> -----------------------------------------------------------
>
> The pds-vfio-pci driver is targeted to reside in drivers/vfio/pci/pds.
> It makes use of and introduces new files in the common include/linux/pds
> include directory.
Looks fine to me.
For series,
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@...wei.com>
Thanks,
Shameer
Powered by blists - more mailing lists