From f48cc7af02abc8a462bc0020aa76878d5238a753 Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Thu, 6 Sep 2018 08:40:28 +0530 Subject: [PATCH] examples/ipsec-secgw: increase number of dev mappings Increasing the number of cdev mappings to accommodate usage of crypto devices with larger number of capabilities, with higher number of cores. Required mappings : ([no of ciphers] * [no of auth] + [aead algos]) * [no of cores] Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal --- examples/ipsec-secgw/ipsec-secgw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index 0204243341..f9a90c620f 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -54,7 +54,7 @@ #define NB_MBUF (32000) #define CDEV_QUEUE_DESC 2048 -#define CDEV_MAP_ENTRIES 1024 +#define CDEV_MAP_ENTRIES 16384 #define CDEV_MP_NB_OBJS 2048 #define CDEV_MP_CACHE_SZ 64 #define MAX_QUEUE_PAIRS 1 -- 2.20.1