vlib: add functions to dynamically open/close PCI device 58/10958/3
authorDamjan Marion <damarion@cisco.com>
Mon, 5 Mar 2018 13:08:33 +0000 (14:08 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 5 Mar 2018 14:40:57 +0000 (14:40 +0000)
commitf313b747ad4313a5cadfdb6aa7eb66ce8bf7958f
tree26164d3a067fcbeafa4d1cba28309bebd1143225
parent9e09ff394ac0e731b5b33caf4d0cddff8de570b4
vlib: add functions to dynamically open/close PCI device

Old code was only allowing PCIdevices to be scanned during startup,
now driver can open and close device without restart of vpp.

Change-Id: I1a06511e3f16f896101b43dac2bad420b6e6c35e
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vlib/linux/pci.c
src/vlib/pci/pci.h