Re: [dpdk-dev] [PATCH 1/2] pci: rename catch-all ID

2021-04-05 Thread Parav Pandit
> 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

Re: [dpdk-dev] [PATCH 1/2] pci: rename catch-all ID

2021-04-01 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH 1/2] pci: rename catch-all ID

2021-04-01 Thread 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 Replaced with RTE_PCI_ANY_ID */ > +#define PCI_ANY

[dpdk-dev] [PATCH 1/2] pci: rename catch-all ID

2021-03-31 Thread Thomas Monjalon
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