X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmemif%2Fprivate.h;h=82056a1ecfb4acf0eb870d770281d6418f3eb53f;hb=20728d40d91b89fe9f9d8d8c3f4ec16d51412c8b;hp=c7fec67f9e48104a9d69fa1fb87da73dd174f948;hpb=9a02c54e4f3c53cbaceee4cbb30835113f0641ce;p=vpp.git diff --git a/src/plugins/memif/private.h b/src/plugins/memif/private.h index c7fec67f9e4..82056a1ecfb 100644 --- a/src/plugins/memif/private.h +++ b/src/plugins/memif/private.h @@ -24,9 +24,9 @@ #define MEMIF_DEFAULT_TX_QUEUES 1 #define MEMIF_DEFAULT_BUFFER_SIZE 2048 -#define MEMIF_MAX_M2S_RING (vec_len (vlib_mains) - 1) -#define MEMIF_MAX_S2M_RING (vec_len (vlib_mains) - 1) -#define MEMIF_MAX_REGION 255 +#define MEMIF_MAX_M2S_RING (vec_len (vlib_mains)) +#define MEMIF_MAX_S2M_RING 256 +#define MEMIF_MAX_REGION 256 #define MEMIF_MAX_LOG2_RING_SIZE 14