summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnoob Joseph <anoob.joseph@caviumnetworks.com>2018-09-06 08:40:28 +0530
committerAkhil Goyal <akhil.goyal@nxp.com>2018-09-25 16:17:39 +0200
commitf48cc7af02abc8a462bc0020aa76878d5238a753 (patch)
tree72fbcabc3c9aad1b6e135b041a6488c7561ff61d /examples
parent7bd6f76ee678ec6aa81cb53562f852a43e842718 (diff)
downloaddpdk-f48cc7af02abc8a462bc0020aa76878d5238a753.zip
dpdk-f48cc7af02abc8a462bc0020aa76878d5238a753.tar.gz
dpdk-f48cc7af02abc8a462bc0020aa76878d5238a753.tar.xz
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 <ankur.dwivedi@caviumnetworks.com> Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ipsec-secgw/ipsec-secgw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
index 0204243..f9a90c6 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