summaryrefslogtreecommitdiffstats
path: root/src/vlib/pci
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-10-07 20:00:39 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-10-08 10:21:44 +0000
commit9c9490cee8aba658ad2fef06305461cbaaaec1a1 (patch)
treed48a82816278d20a3d348dd96d2f03c0e68d4086 /src/vlib/pci
parent22eefd79a1817ce6d0da3b20412eb61ce718cbaf (diff)
pci: add vlib_pci_get_msix_file_index
Type: improvement Change-Id: Ibc15aa6f75e989b2b7caa9a57e3665b1ffc7cc18 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/pci')
-rw-r--r--src/vlib/pci/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlib/pci/pci.h b/src/vlib/pci/pci.h
index d3b43ba8d90..5aae597f825 100644
--- a/src/vlib/pci/pci.h
+++ b/src/vlib/pci/pci.h
@@ -316,6 +316,8 @@ clib_error_t *vlib_pci_disable_msix_irq (vlib_main_t * vm,
u16 count);
clib_error_t *vlib_pci_map_dma (vlib_main_t * vm, vlib_pci_dev_handle_t h,
void *ptr);
+uword vlib_pci_get_msix_file_index (vlib_main_t * vm, vlib_pci_dev_handle_t h,
+ u16 index);
int vlib_pci_supports_virtual_addr_dma (vlib_main_t * vm,
vlib_pci_dev_handle_t h);