aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r--src/plugins/avf/avf.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h
index 32d9cc61015..135b5f94eef 100644
--- a/src/plugins/avf/avf.h
+++ b/src/plugins/avf/avf.h
@@ -205,10 +205,25 @@ typedef enum
AVF_PROCESS_EVENT_START = 1,
AVF_PROCESS_EVENT_DELETE_IF = 2,
AVF_PROCESS_EVENT_AQ_INT = 3,
- AVF_PROCESS_EVENT_SET_PROMISC_ENABLE = 4,
- AVF_PROCESS_EVENT_SET_PROMISC_DISABLE = 5,
+ AVF_PROCESS_EVENT_REQ = 4,
} avf_process_event_t;
+typedef enum
+{
+ AVF_PROCESS_REQ_ADD_DEL_ETH_ADDR = 1,
+ AVF_PROCESS_REQ_CONFIG_PROMISC_MDDE = 2,
+} avf_process_req_type_t;
+
+typedef struct
+{
+ avf_process_req_type_t type;
+ u32 dev_instance;
+ u32 calling_process_index;
+ u8 eth_addr[6];
+ int is_add, is_enable;
+ clib_error_t *error;
+} avf_process_req_t;
+
typedef struct
{
u64 qw1s[AVF_RX_MAX_DESC_IN_CHAIN - 1];