summaryrefslogtreecommitdiffstats
path: root/src/plugins/memif/private.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2021-09-30 09:28:07 +0000
committerDamjan Marion <dmarion@me.com>2021-10-04 18:27:58 +0000
commit3effb4e63068f625f6137cef665ed9783da8e542 (patch)
tree4a9c1eaac1f50082202535da24345a40b07f4d13 /src/plugins/memif/private.h
parent41bc8615096b8a7d92707792dfd2b14ded40773e (diff)
memif: integrate with new tx infra
Type: improvement Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I7c2b9891e269f23c3aa2a0abfee3cf0a0f1e2135
Diffstat (limited to 'src/plugins/memif/private.h')
-rw-r--r--src/plugins/memif/private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memif/private.h b/src/plugins/memif/private.h
index 838651abc27..fec8506c023 100644
--- a/src/plugins/memif/private.h
+++ b/src/plugins/memif/private.h
@@ -123,6 +123,7 @@ typedef struct
typedef struct
{
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
+ clib_spinlock_t lockp;
/* ring data */
memif_ring_t *ring;
memif_log2_ring_size_t log2_ring_size;
@@ -163,7 +164,6 @@ typedef enum
typedef struct
{
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
- clib_spinlock_t lockp;
u32 flags;
memif_interface_id_t id;
u32 hw_if_index;