vlib: Add support for PCI VPD parsing
authorDamjan Marion <[email protected]>
Mon, 26 Dec 2016 10:39:42 +0000 (11:39 +0100)
committerDave Barach <[email protected]>
Mon, 26 Dec 2016 14:25:32 +0000 (14:25 +0000)
commit7d221611e19679fc4673f2a1d4f24d6002c2f105
tree64552bcb9a5d2cba2b4861766aa36cea57676971
parent0f3b680f406fddd1b5ef6776aeb0c6fb363b1702
vlib: Add support for PCI VPD parsing

This allows better detection of various NICs, including the ones
where different sub-models are sharing same PCI VID:PID.

This change also extends output of "show pci" debug cli command.

Change-Id: I06f78e8376307e88b0252a99c203c696437a6e35
Signed-off-by: Damjan Marion <[email protected]>
vlib/vlib/pci/pci.c
vlib/vlib/pci/pci.h