Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
avf: fix race between avf process node and avf_delete_if(...)
[vpp.git]
/
src
/
plugins
/
avf
/
avf.h
diff --git
a/src/plugins/avf/avf.h
b/src/plugins/avf/avf.h
index
5d51782
..
4b35899
100644
(file)
--- a/
src/plugins/avf/avf.h
+++ b/
src/plugins/avf/avf.h
@@
-200,7
+200,7
@@
typedef struct
typedef enum
{
AVF_PROCESS_EVENT_START = 1,
typedef enum
{
AVF_PROCESS_EVENT_START = 1,
- AVF_PROCESS_EVENT_
STOP
= 2,
+ AVF_PROCESS_EVENT_
DELETE_IF
= 2,
AVF_PROCESS_EVENT_AQ_INT = 3,
} avf_process_event_t;
AVF_PROCESS_EVENT_AQ_INT = 3,
} avf_process_event_t;
@@
-246,9
+246,9
@@
typedef struct
} avf_create_if_args_t;
void avf_create_if (vlib_main_t * vm, avf_create_if_args_t * args);
} avf_create_if_args_t;
void avf_create_if (vlib_main_t * vm, avf_create_if_args_t * args);
-void avf_delete_if (vlib_main_t * vm, avf_device_t * ad);
extern vlib_node_registration_t avf_input_node;
extern vlib_node_registration_t avf_input_node;
+extern vlib_node_registration_t avf_process_node;
extern vnet_device_class_t avf_device_class;
/* format.c */
extern vnet_device_class_t avf_device_class;
/* format.c */