diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2018-06-26 12:58:22 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-06-27 16:16:28 +0000 |
commit | 6c9b9644450b5ee5672b1e0f66257b0e09fb0734 (patch) | |
tree | 4073aeed75b0f022ec6a174e6ed40a7d58a9cff0 /src/plugins/avf/avf.h | |
parent | 99d7a72cbcad959e805e8e8b5efb112e9def69c2 (diff) |
avf: binary API and configurable RX/TX queue size
Change-Id: Ibd3a8d28d8f1df2bc14c42e48498f6ac26081192
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r-- | src/plugins/avf/avf.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h index bd5af01adf8..c8074ebf6c7 100644 --- a/src/plugins/avf/avf.h +++ b/src/plugins/avf/avf.h @@ -15,6 +15,9 @@ *------------------------------------------------------------------ */ +#ifndef _AVF_H_ +#define _AVF_H_ + #include <avf/virtchnl.h> #include <vlib/log.h> @@ -158,6 +161,8 @@ STATIC_ASSERT (VNET_DEVICE_INPUT_N_NEXT_NODES < 256, "too many next nodes"); typedef struct { + u16 msg_id_base; + avf_device_t *devices; avf_per_thread_data_t *per_thread_data; vlib_physmem_region_index_t physmem_region; @@ -175,6 +180,8 @@ typedef struct { vlib_pci_addr_t addr; int enable_elog; + u16 rxq_size; + u16 txq_size; /* return */ int rv; clib_error_t *error; @@ -259,6 +266,8 @@ typedef struct avf_rx_vector_entry_t rxve; } avf_input_trace_t; +#endif /* AVF_H */ + /* * fd.io coding-style-patch-verification: ON * |