[PATCH] pci: define more standard register offsets
David Marchand
david.marchand at redhat.com
Wed Apr 16 17:31:18 CEST 2025
On Wed, Apr 16, 2025 at 4:37 PM Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> On Wed, 16 Apr 2025 08:10:34 +0200
> David Marchand <david.marchand at redhat.com> wrote:
>
> > The PCI standard defines registers for:
> > - subsystem id,
> > - revision id,
> > - status of the device,
> > - vital product data,
> >
> > Add them to rte_pci.h and use in existing drivers.
> >
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
> > ---
>
> Makes sense and aligns with <linux/pci_regs.h>
>
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
Thanks for the review and merging it.
@Joshua Washington
The gve patch https://patchwork.dpdk.org/project/dpdk/patch/20250416024421.722135-1-joshwash@google.com/
should now use RTE_PCI_REVISION_ID.
--
David Marchand
More information about the dev
mailing list