aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/pci
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-01-25 15:57:24 +0000
committerDamjan Marion <dmarion@me.com>2019-01-31 13:12:33 +0000
commita402b8364306b5a01c75ea4223d7d75afdea0a98 (patch)
tree23dd8463a39d5b09470daad1cbaea55a0d9f3a7f /src/vlib/pci
parent24dcbe45209dfdbcf2f1851aa443e696fac050f2 (diff)
pci: get the number of interrupts
Change-Id: I2cfb81b3c8809d027a3ee5f5f570668e60be08ef Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vlib/pci')
-rw-r--r--src/vlib/pci/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vlib/pci/pci.h b/src/vlib/pci/pci.h
index 71d4baedd20..d3b43ba8d90 100644
--- a/src/vlib/pci/pci.h
+++ b/src/vlib/pci/pci.h
@@ -103,6 +103,9 @@ vlib_pci_addr_t *vlib_pci_get_all_dev_addrs ();
vlib_pci_addr_t *vlib_pci_get_addr (vlib_main_t * vm,
vlib_pci_dev_handle_t h);
u32 vlib_pci_get_numa_node (vlib_main_t * vm, vlib_pci_dev_handle_t h);
+u32 vlib_pci_get_num_msix_interrupts (vlib_main_t * vm,
+ vlib_pci_dev_handle_t h);
+
uword vlib_pci_get_private_data (vlib_main_t * vm, vlib_pci_dev_handle_t h);
void vlib_pci_set_private_data (vlib_main_t * vm, vlib_pci_dev_handle_t h,
uword private_data);