Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
GBP: add allowed ethertypes to contracts
[vpp.git]
/
src
/
plugins
/
avf
/
avf.h
diff --git
a/src/plugins/avf/avf.h
b/src/plugins/avf/avf.h
index
1dc5d96
..
4fa19b1
100644
(file)
--- a/
src/plugins/avf/avf.h
+++ b/
src/plugins/avf/avf.h
@@
-26,7
+26,7
@@
_(0, INITIALIZED, "initialized") \
_(1, ERROR, "error") \
_(2, ADMIN_UP, "admin-up") \
_(0, INITIALIZED, "initialized") \
_(1, ERROR, "error") \
_(2, ADMIN_UP, "admin-up") \
- _(3,
IOVA, "iov
a") \
+ _(3,
VA_DMA, "vaddr-dm
a") \
_(4, LINK_UP, "link-up") \
_(5, SHARED_TXQ_LOCK, "shared-txq-lock") \
_(6, ELOG, "elog")
_(4, LINK_UP, "link-up") \
_(5, SHARED_TXQ_LOCK, "shared-txq-lock") \
_(6, ELOG, "elog")
@@
-188,8
+188,6
@@
typedef struct
avf_device_t *devices;
avf_per_thread_data_t *per_thread_data;
avf_device_t *devices;
avf_per_thread_data_t *per_thread_data;
- vlib_physmem_region_index_t physmem_region;
- int physmem_region_alloc;
vlib_log_class_t log_class;
vlib_log_class_t log_class;
@@
-203,6
+201,7
@@
typedef struct
{
vlib_pci_addr_t addr;
int enable_elog;
{
vlib_pci_addr_t addr;
int enable_elog;
+ u16 rxq_num;
u16 rxq_size;
u16 txq_size;
/* return */
u16 rxq_size;
u16 txq_size;
/* return */
@@
-288,6
+287,17
@@
typedef struct
avf_rx_vector_entry_t rxve;
} avf_input_trace_t;
avf_rx_vector_entry_t rxve;
} avf_input_trace_t;
+#define foreach_avf_tx_func_error \
+_(NO_FREE_SLOTS, "no free tx slots")
+
+typedef enum
+{
+#define _(f,s) AVF_TX_ERROR_##f,
+ foreach_avf_tx_func_error
+#undef _
+ AVF_TX_N_ERROR,
+} avf_tx_func_error_t;
+
#endif /* AVF_H */
/*
#endif /* AVF_H */
/*