[PATCH 00/14] Cleanup PCI(e) drivers
Adam Hassick
ahassick at iol.unh.edu
Tue Aug 22 18:48:54 CEST 2023
Recheck-request: iol-sample-apps-testing,
This is a test email of the retesting framework, please ignore.
On Thu, Aug 3, 2023 at 3:50 AM David Marchand <david.marchand at redhat.com>
wrote:
> Rather than rely on Linux headers to find some PCI(e) standard constants
> or reinvent the same PCI capability helper, this series complements the
> pci library and the pci bus driver.
> PCI drivers can then use OS agnostic macros and helpers.
>
> WARNING: this is only compile tested.
>
> --
> David Marchand
>
> David Marchand (14):
> drivers: remove duplicated PCI master control
> bus/pci: add const to some experimental API
> bus/pci: find PCI capability
> pci: define some capability constants
> pci: define some MSIX constants
> pci: define some command constants
> pci: define some BAR constants
> pci: define some PM constants
> pci: define some PCIe constants
> pci: define some extended capability constants
> pci: define some ACS constants
> pci: define some PRI constants
> pci: define some AER constants
> devtools: forbid inclusion of Linux header for PCI
>
> devtools/checkpatches.sh | 8 ++
> drivers/bus/pci/linux/pci_init.h | 18 ----
> drivers/bus/pci/linux/pci_uio.c | 32 +-----
> drivers/bus/pci/linux/pci_vfio.c | 142 ++++++-------------------
> drivers/bus/pci/pci_common.c | 49 ++++++++-
> drivers/bus/pci/rte_bus_pci.h | 35 ++++++-
> drivers/bus/pci/version.map | 2 +
> drivers/crypto/virtio/virtio_pci.c | 67 ++++--------
> drivers/event/dlb2/pf/dlb2_main.c | 156 ++++++++--------------------
> drivers/net/bnx2x/bnx2x.c | 86 ++++++++-------
> drivers/net/bnx2x/bnx2x.h | 46 --------
> drivers/net/cxgbe/base/adapter.h | 31 +-----
> drivers/net/gve/gve_ethdev.c | 46 +-------
> drivers/net/gve/gve_ethdev.h | 14 +--
> drivers/net/hns3/hns3_ethdev_vf.c | 109 +++----------------
> drivers/net/ngbe/base/ngbe_hw.c | 20 +---
> drivers/net/ngbe/base/ngbe_osdep.h | 3 -
> drivers/net/virtio/virtio_pci.c | 131 ++++-------------------
> drivers/vdpa/ifc/base/ifcvf_osdep.h | 4 +-
> lib/pci/rte_pci.h | 77 +++++++++++++-
> 20 files changed, 346 insertions(+), 730 deletions(-)
>
> --
> 2.41.0
>
>
--
*Adam Hassick*
Senior Developer
UNH InterOperability Lab
ahassick at iol.unh.edu
iol.unh.edu <https://www.iol.unh.edu/>
+1 (603) 475-8248
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20230822/cec60065/attachment.htm>
More information about the dev
mailing list