Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
API support for IPsec tunnel interface creation
[vpp.git]
/
src
/
vnet
/
devices
/
netmap
/
netmap.h
diff --git
a/src/vnet/devices/netmap/netmap.h
b/src/vnet/devices/netmap/netmap.h
index
39a9404
..
e04f045
100644
(file)
--- a/
src/vnet/devices/netmap/netmap.h
+++ b/
src/vnet/devices/netmap/netmap.h
@@
-40,10
+40,12
@@
* SUCH DAMAGE.
*/
+#include <vppinfra/lock.h>
+
typedef struct
{
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
-
volatile u32 *
lockp;
+
clib_spinlock_t
lockp;
u8 *host_if_name;
uword if_index;
u32 hw_if_index;