RE: [PATCH v2 03/15] bus/pci: rework MSIX discovery with VFIO

2023-09-06 Thread Xia, Chenbo
> -Original Message- > From: David Marchand > Sent: Monday, August 21, 2023 7:36 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo > ; nipun.gu...@amd.com; Richardson, Bruce > ; Burakov, Anatoly > Subject: [PATCH v2 03/15] bus/pc

[PATCH v2 03/15] bus/pci: rework MSIX discovery with VFIO

2023-08-21 Thread David Marchand
This is a preparatory step before using new helpers for finding PCI capabilities. In the code querying PCI capabilities for checking MSIX availability, replace direct calls to VFIO fd with the existing helpers for reading PCI configuration space: this requires setting VFIO fd in the PCI device obje