diff options
author | Vijay Ram Inavolu <vinavolu@marvell.com> | 2021-07-20 10:26:49 +0000 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-07-21 10:42:57 +0300 |
commit | 8dfb3d6ab9658e0e2ea7b6421c5206d9f7470f51 (patch) | |
tree | 3fbdda150fc2e7071e90d0f7319ecbd20e0f1574 /platform/linux-dpdk/odp_crypto.c | |
parent | 37544a97501c1c843c5ca952a8e2d0717be81944 (diff) |
linux-dpdk: crypto: increase the maximum number of sessions to 4000
This change will make linux-dpdk maximum value to same as linux-generic
value of 4000
Signed-off-by: Vijay Ram Inavolu <vinavolu@marvell.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/odp_crypto.c')
-rw-r--r-- | platform/linux-dpdk/odp_crypto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/linux-dpdk/odp_crypto.c b/platform/linux-dpdk/odp_crypto.c index 96e6b00d3..0034ce6c0 100644 --- a/platform/linux-dpdk/odp_crypto.c +++ b/platform/linux-dpdk/odp_crypto.c @@ -35,8 +35,7 @@ #include <string.h> #include <math.h> -/* default number supported by DPDK crypto */ -#define MAX_SESSIONS 2048 +#define MAX_SESSIONS 4000 /* * Max size of per-thread session object cache. May be useful if sessions * are created and destroyed very frequently. |