From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC59EA0487 for ; Thu, 4 Jul 2019 12:47:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 99ACB1BDE9; Thu, 4 Jul 2019 12:47:42 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 38E8D1BDE2 for ; Thu, 4 Jul 2019 12:47:40 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jul 2019 03:47:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,450,1557212400"; d="scan'208";a="172398906" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.126]) ([10.237.220.126]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jul 2019 03:47:34 -0700 To: David Marchand Cc: dev , Neil Horman , John McNamara , Marko Kovacevic , Konstantin Ananyev , David Hunt , Bruce Richardson , Byron Marohn , Pablo de Lara Guarch , Yipeng Wang , Sameh Gobriel , Vladimir Medvedkin , Olivier Matz , Andrew Rybchenko , Reshma Pattan , Thomas Monjalon , Stephen Hemminger References: <0e63b2e2abe185b711737a7102f6d6cd03101cab.1561635481.git.anatoly.burakov@intel.com> From: "Burakov, Anatoly" Message-ID: Date: Thu, 4 Jul 2019 11:47:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3 09/14] eal: hide shared memory config 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 04-Jul-19 8:43 AM, David Marchand wrote: > On Thu, Jun 27, 2019 at 1:39 PM Anatoly Burakov > wrote: > >> diff --git a/lib/librte_eal/common/include/rte_eal_memconfig.h >> b/lib/librte_eal/common/include/rte_eal_memconfig.h >> index 58dcbb96d..1b615c892 100644 >> --- a/lib/librte_eal/common/include/rte_eal_memconfig.h >> +++ b/lib/librte_eal/common/include/rte_eal_memconfig.h >> @@ -5,13 +5,12 @@ >> #ifndef _RTE_EAL_MEMCONFIG_H_ >> #define _RTE_EAL_MEMCONFIG_H_ >> >> -#include >> -#include >> -#include >> -#include >> -#include >> -#include >> -#include >> +/** >> + * @file >> + * >> + * This API allows access to EAL shared memory configuration through an >> API. >> + */ >> + >> #include >> >> #ifdef __cplusplus >> @@ -38,68 +37,6 @@ struct rte_memseg_list { >> struct rte_fbarray memseg_arr; >> }; >> >> > You left the rte_memseg_list definition here and the inclusion of > rte_fbarray.h. > Is this intentional? Yes, it is intentional. I can move them to rte_memory, but they have to be externally visible. -- Thanks, Anatoly