aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-05-24 11:01:07 +0300
committerMatias Elo <matias.elo@nokia.com>2021-05-26 15:56:30 +0300
commita306b024de9ac0c0931c3f775834b78b86565362 (patch)
tree328b6998629e81cc24c84155eb644c49438c8451 /platform/linux-dpdk/include
parent508ae02fa7b3f752f03a38538c8da62b1a2f2e91 (diff)
Port f0bc26c5d "linux-gen: ipsec: increase the maximum number of SAs"
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/include')
-rw-r--r--platform/linux-dpdk/include/odp_config_internal.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/platform/linux-dpdk/include/odp_config_internal.h b/platform/linux-dpdk/include/odp_config_internal.h
index fd3d075ec..73d2304c9 100644
--- a/platform/linux-dpdk/include/odp_config_internal.h
+++ b/platform/linux-dpdk/include/odp_config_internal.h
@@ -1,5 +1,5 @@
/* Copyright (c) 2016-2018, Linaro Limited
- * Copyright (c) 2020, Nokia
+ * Copyright (c) 2020-2021, Nokia
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -147,6 +147,13 @@ extern "C" {
/* Maximum packet vector size */
#define CONFIG_PACKET_VECTOR_MAX_SIZE 256
+/*
+ * Maximum number of IPsec SAs. The actual maximum number can be further
+ * limited by the number of sessions supported by the crypto subsystem and
+ * is reported by odp_ipsec_capability().
+ */
+#define CONFIG_IPSEC_MAX_NUM_SA 4000
+
#ifdef __cplusplus
}
#endif