diff options
-rw-r--r-- | platform/linux-dpdk/odp_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-dpdk/odp_pool.c b/platform/linux-dpdk/odp_pool.c index 862019333..9dd1a5ca2 100644 --- a/platform/linux-dpdk/odp_pool.c +++ b/platform/linux-dpdk/odp_pool.c @@ -58,7 +58,7 @@ #define POOL_NAME_FORMAT "%" PRIu64 "-%d-%s" /* Define a practical limit for contiguous memory allocations */ -#define MAX_SIZE (10 * 1024 * 1024) +#define MAX_SIZE (CONFIG_PACKET_SEG_SIZE - ODP_CONFIG_BUFFER_ALIGN_MIN) /* Maximum packet user area size */ #define MAX_UAREA_SIZE 2048 |