From eaa5e887731be7a4e2ab40aabbd421e9bdbe0291 Mon Sep 17 00:00:00 2001 From: Zoltan Kiss Date: Mon, 18 Jul 2016 14:56:13 +0100 Subject: linux-dpdk: pool: check pool name length DPDK only supports RTE_MEMPOOL_NAMESIZE, this patch trims the name, and warns about name collision. Signed-off-by: Zoltan Kiss --- platform/linux-dpdk/README | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'platform/linux-dpdk/README') diff --git a/platform/linux-dpdk/README b/platform/linux-dpdk/README index c74b39b68..09c95f1e9 100644 --- a/platform/linux-dpdk/README +++ b/platform/linux-dpdk/README @@ -3,6 +3,14 @@ All rights reserved. SPDX-License-Identifier: BSD-3-Clause + +ERRATA: +- DPDK 16.07 and earlier supports pool names with RTE_MEMZONE_NAMESIZE + characters (including terminating NULL), which is 6 characters less than + ODP_POOL_NAME_LEN. Names reaching into this interval might collide if the + first 25 characters are not unique. + + 1. Rationale ================================================= -- cgit v1.2.3