[dpdk-users] Retrieve NIC vendor name using PCI vendor ID

george.dit at gmail.com george.dit at gmail.com
Fri Sep 8 15:35:59 CEST 2017


Hi all,

I would like to ask how one could retrieve the name of a NIC's vendor using
the PCI vendor ID.
For example, is there any mapping between PCI_VENDOR_ID_INTEL and a const
char* that returns e.g., "Intel"?

Moreover, why are the vendor IDs redefined by DPDK instead of being reused
from Linux
<https://github.com/torvalds/linux/blob/master/include/linux/pci_ids.h>?
It would be more convenient if a single RTE library could expose those IDs
to the applications. Currently I see those IDs being spread across the
different drivers.

Thanks in advance,
-- 
Georgios Katsikas
Industrial Ph.D. Student
Network Intelligence Group
Decision, Networks, and Analytics (DNA) Lab
RISE SICS
E-Mail:  georgios.katsikas at ri.se


More information about the users mailing list