On 5/26/2023 12:31 AM, Miao Li wrote:
From: Chenbo Xia <chenbo....@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....@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....@intel.com>

Reply via email to