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
