[dpdk-users] Retrieve NIC vendor name using PCI vendor ID
stephen at networkplumber.org
Fri Sep 8 17:55:38 CEST 2017
On Fri, 8 Sep 2017 06:35:59 -0700
george.dit at gmail.com wrote:
> 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
> 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,
There already is a standard library for this (libpci).
I see no reason to add this to DPDK.
More information about the users