From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 3FC4E2BB9 for ; Tue, 31 May 2016 11:07:46 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 31 May 2016 02:07:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,395,1459839600"; d="scan'208,217";a="987938408" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 31 May 2016 02:07:44 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 31 May 2016 02:07:43 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 31 May 2016 02:07:42 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.150]) by shsmsx102.ccr.corp.intel.com ([169.254.2.220]) with mapi id 14.03.0248.002; Tue, 31 May 2016 17:07:41 +0800 From: "Xu, HuilongX" To: "dev@dpdk.org" CC: "Xu, HuilongX" Thread-Topic: about memzone name size issue Thread-Index: AdG7G+HZ5PX1twAYRYiaznIY3YPNcg== Date: Tue, 31 May 2016 09:07:40 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] about memzone name size issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 09:07:46 -0000 Hi all, I find a issue on link_bonding unit test case. When I run model6 test case, will generate core dump error. I debug it, find the error code in function: rte_mempool_create_empty(const char *name, unsigned n, unsigned elt_size, unsigned cache_size, unsigned private_data_size, int socket_id, unsigned flags) { ....................... ret =3D snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_MZ_F= ORMAT, name); if (ret < 0 || ret >=3D (int)sizeof(mz_name)) { rte_errno =3D ENAMETOOLONG; goto exit_unlock; } ......................... } The memzone name size only 32 bytes, but the mz_name in link_bonding is big= ger 32 bytes. Could we set memzone name size to 64 bytes ? Thanks a lot