summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-12-23 11:19:30 +0100
committerDamjan Marion <damarion@cisco.com>2018-12-23 11:45:49 +0100
commitc811663491262fdc01e8309b1f9ecde2a110a84d (patch)
tree2c9b343c9cc7765b6c67999ef4a8dfccc391e905 /src/plugins/avf/avf.h
parentc227e4950d3bc791d2ec4a2131916f9b5c40f008 (diff)
avf: add option to specify interface name
Change-Id: I94591d5b103280f8df157819d423fef7ee89d4c8 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r--src/plugins/avf/avf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h
index 4fa19b11b73..467b5d7b651 100644
--- a/src/plugins/avf/avf.h
+++ b/src/plugins/avf/avf.h
@@ -111,6 +111,7 @@ typedef struct
u32 hw_if_index;
vlib_pci_dev_handle_t pci_dev_handle;
void *bar0;
+ u8 *name;
/* queues */
avf_rxq_t *rxqs;
@@ -200,6 +201,7 @@ extern avf_main_t avf_main;
typedef struct
{
vlib_pci_addr_t addr;
+ u8 *name;
int enable_elog;
u16 rxq_num;
u16 rxq_size;