> From: dev On Behalf Of Thomas Monjalon
> Sent: Thursday, April 1, 2021 4:04 AM
>
> The name of the constant PCI_ANY_ID was missing RTE_ prefix.
> It is renamed, and the old name becomes a deprecated alias.
>
> While renaming, the duplicate definitions in rte_bus_pci.h are removed to
> keep
01/04/2021 09:58, David Marchand:
> On Thu, Apr 1, 2021 at 12:34 AM Thomas Monjalon wrote:
> > @@ -95,7 +95,9 @@ struct rte_pci_addr {
> > };
> >
> > /** Any PCI device identifier (vendor, device, ...) */
> > -#define PCI_ANY_ID (0x)
> > +#define RTE_PCI_ANY_ID (0x)
> > +/** @deprecated
On Thu, Apr 1, 2021 at 12:34 AM Thomas Monjalon wrote:
> @@ -95,7 +95,9 @@ struct rte_pci_addr {
> };
>
> /** Any PCI device identifier (vendor, device, ...) */
> -#define PCI_ANY_ID (0x)
> +#define RTE_PCI_ANY_ID (0x)
> +/** @deprecated Replaced with RTE_PCI_ANY_ID */
> +#define PCI_ANY
The name of the constant PCI_ANY_ID was missing RTE_ prefix.
It is renamed, and the old name becomes a deprecated alias.
While renaming, the duplicate definitions in rte_bus_pci.h
are removed to keep only those in rte_pci.h.
Note: rte_pci.h is included in rte_bus_pci.h
Signed-off-by: Thomas Monja
4 matches
Mail list logo