[PATCH v3 1/4] bus/pci: introduce an internal representation of PCI device
Cao, Yahui
yahui.cao at intel.com
Mon May 29 08:28:57 CEST 2023
On 5/26/2023 12:31 AM, Miao Li wrote:
> From: Chenbo Xia <chenbo.xia at intel.com>
>
> This patch introduces an internal representation of the PCI device
> which will be used to store the internal information that don't have
> to be exposed to drivers, e.g., the VFIO region sizes/offsets.
>
> In this patch, the internal structure is simply a wrapper of the
> rte_pci_device structure. More fields will be added.
>
> Signed-off-by: Chenbo Xia <chenbo.xia at intel.com>
> ---
> drivers/bus/pci/bsd/pci.c | 13 ++++++++-----
> drivers/bus/pci/linux/pci.c | 28 ++++++++++++++++------------
> drivers/bus/pci/pci_common.c | 12 ++++++------
> drivers/bus/pci/private.h | 14 +++++++++++++-
> drivers/bus/pci/windows/pci.c | 14 +++++++++-----
> 5 files changed, 52 insertions(+), 29 deletions(-)
>
Acked-by: Yahui Cao <yahui.cao at intel.com>
More information about the dev
mailing list