summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-12-10 10:01:19 +0100
committerMauro Sardara <msardara@cisco.com>2020-12-10 09:02:34 +0000
commit72a9acca4500a9c07a4661fe112a1a212567fc9f (patch)
treeece1b77232731ca6541064c211d42bd713c064d6
parent5811ac4c55ec38968495fff2e0c36a323b3d1df7 (diff)
[HICN-658] Increase memif ring size.
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I6d461bdaef608f77590f1809a97f4ce49ecef2ef
-rw-r--r--libtransport/src/core/memif_connector.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libtransport/src/core/memif_connector.h b/libtransport/src/core/memif_connector.h
index 693efd14c..8a0e9efad 100644
--- a/libtransport/src/core/memif_connector.h
+++ b/libtransport/src/core/memif_connector.h
@@ -15,11 +15,10 @@
#pragma once
+#include <core/connector.h>
#include <hicn/transport/config.h>
#include <hicn/transport/portability/portability.h>
#include <hicn/transport/utils/ring_buffer.h>
-
-#include <core/connector.h>
//#include <hicn/transport/core/hicn_vapi.h>
#include <utils/epoll_event_reactor.h>
#include <utils/fd_deadline_timer.h>
@@ -43,7 +42,7 @@ typedef struct memif_connection memif_connection_t;
#define IF_NAME "vpp_connection"
#define MEMIF_BUF_SIZE 2048
-#define MEMIF_LOG2_RING_SIZE 11
+#define MEMIF_LOG2_RING_SIZE 13
#define MAX_MEMIF_BUFS (1 << MEMIF_LOG2_RING_SIZE)
class MemifConnector : public Connector {