From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1F32B1BABE for ; Wed, 11 Apr 2018 11:18:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Apr 2018 02:18:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,435,1517904000"; d="scan'208";a="33427156" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.252.9.73]) ([10.252.9.73]) by orsmga006.jf.intel.com with ESMTP; 11 Apr 2018 02:18:42 -0700 To: Thomas Monjalon Cc: dev@dpdk.org, Harish Patil , Rasesh Mody , keith.wiles@intel.com, jianfeng.tan@intel.com, andras.kovacs@ericsson.com, laszlo.vadkeri@ericsson.com, benjamin.walker@intel.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, kuralamudhan.ramakrishnan@intel.com, louise.m.daly@intel.com, nelio.laranjeiro@6wind.com, yskoh@mellanox.com, pepperjo@japf.ch, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, olivier.matz@6wind.com, shreyansh.jain@nxp.com, gowrishankar.m@linux.vnet.ibm.com References: <970ea202e2435fa077a2bd3d6a2cafc8a551becb.1523296700.git.anatoly.burakov@intel.com> <10882447.HqJmK87d7U@xps> From: "Burakov, Anatoly" Message-ID: Date: Wed, 11 Apr 2018 10:18:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <10882447.HqJmK87d7U@xps> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v5 15/70] net/bnx2x: use contiguous allocation for DMA memory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 09:18:48 -0000 On 11-Apr-18 10:12 AM, Thomas Monjalon wrote: > Compilation error with clang: > > 09/04/2018 20:00, Anatoly Burakov: >> --- a/drivers/net/bnx2x/bnx2x.c >> +++ b/drivers/net/bnx2x/bnx2x.c >> - z = rte_memzone_reserve_aligned(mz_name, (uint64_t) (size), >> + z = rte_memzone_reserve_aligned_contig(mz_name, (uint64_t)size, > > drivers/net/bnx2x/bnx2x.c:180:6: fatal error: > implicit declaration of function 'rte_memzone_reserve_aligned_contig' > is invalid in C99 > > > > Apologies, missed the rename. This API call doesn't exist any more. -- Thanks, Anatoly