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 15AF85688 for ; Wed, 2 Sep 2015 17:53:10 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 02 Sep 2015 08:53:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,454,1437462000"; d="scan'208";a="760929921" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 02 Sep 2015 08:53:05 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t82Fr59H019354 for ; Wed, 2 Sep 2015 16:53:05 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t82Fr4E0004319 for ; Wed, 2 Sep 2015 16:53:04 +0100 Received: (from jasvinde@localhost) by sivswdev02.ir.intel.com with id t82Fr429004315 for dev@dpdk.org; Wed, 2 Sep 2015 16:53:04 +0100 From: Jasvinder Singh To: dev@dpdk.org Date: Wed, 2 Sep 2015 16:53:04 +0100 Message-Id: <1441209184-4271-1-git-send-email-jasvinder.singh@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] librte_cfgfile (rte_cfgfile.h): modify the macros values 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: Wed, 02 Sep 2015 15:53:11 -0000 This patch refers to the ABI change proposed for librte_cfgfile (rte_cfgfile.h). In order to allow for longer names and values, the new values of macros CFG_NAME_LEN and CFG_NAME_VAL are set. Signed-off-by: Jasvinder Singh --- lib/librte_cfgfile/rte_cfgfile.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/librte_cfgfile/rte_cfgfile.h b/lib/librte_cfgfile/rte_cfgfile.h index 7c9fc91..d443782 100644 --- a/lib/librte_cfgfile/rte_cfgfile.h +++ b/lib/librte_cfgfile/rte_cfgfile.h @@ -47,8 +47,13 @@ extern "C" { * ***/ -#define CFG_NAME_LEN 32 -#define CFG_VALUE_LEN 64 +#ifndef CFG_NAME_LEN +#define CFG_NAME_LEN 64 +#endif + +#ifndef CFG_VALUE_LEN +#define CFG_VALUE_LEN 256 +#endif /** Configuration file */ struct rte_cfgfile; -- 2.1.0