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

2021-04-06 Thread Thomas Monjalon
06/04/2021 08:23, Xueming(Steven) Li: > From: Thomas Monjalon > > struct rte_pci_id { > > uint32_t class_id;/**< Class ID or RTE_CLASS_ANY_ID. */ > >-uint16_t vendor_id; /**< Vendor ID or PCI_ANY_ID. */ > >-uint16_t device_id; /**< Device ID or PCI_ANY_ID

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

2021-04-05 Thread Xueming(Steven) Li
>-Original Message- >From: dev On Behalf Of Thomas Monjalon >Sent: Monday, April 5, 2021 5:15 PM >To: dev@dpdk.org >Cc: Matan Azrad ; Shahaf Shuler ; Slava >Ovsiienko ; Gaetan >Rivet >Subject: [dpdk-dev] [PATCH v2 1/2] pci: rename catch-all ID > >The n

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

2021-04-05 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