From: Anoob Joseph Date: Thu, 6 Sep 2018 03:10:28 +0000 (+0530) Subject: examples/ipsec-secgw: increase number of dev mappings X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f48cc7af02abc8a462bc0020aa76878d5238a753;p=dpdk.git 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 --- 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