[dpdk-users] Retrieve NIC vendor name using PCI vendor ID
Rosen, Rami
rami.rosen at intel.com
Sun Sep 10 20:55:28 CEST 2017
Hi, George,
>There already is a standard library for this (libpci).
>I see no reason to add this to DPDK.
+1.
Follow in pciutils execution of, for example,
"lspci -d 8086:158b"
Where you get, for example:
03:00.0 Ethernet controller: Intel Corporation Device 158b (rev 02)
(or any other vendrID:DeviceID combo).
I would guess that behinds the scenes it is done by pci_lookup_name():
https://github.com/pciutils/pciutils/blob/master/lib/names.c#L122
Regards,
Rami Rosen
More information about the users
mailing list