From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id AC32EA0032;
	Thu, 21 Jul 2022 17:22:40 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 4EFFC40141;
	Thu, 21 Jul 2022 17:22:40 +0200 (CEST)
Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com
 [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id CF4FC400D7
 for <dev@dpdk.org>; Thu, 21 Jul 2022 17:22:38 +0200 (CEST)
Received: by mail-pj1-f47.google.com with SMTP id
 d7-20020a17090a564700b001f209736b89so5623321pji.0
 for <dev@dpdk.org>; Thu, 21 Jul 2022 08:22:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20210112.gappssmtp.com; s=20210112;
 h=date:from:to:cc:subject:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=sQVbUnxkLOP5H9L26T8anktQ356s+95xaUt79vKDdyw=;
 b=SjSb2HigpY7nurf7/dRU3AmCVO8k8qeh5MBvbmdyVuBfFgkuNiHCCB2Oawz2ep3OsX
 a9W6Tpq0PI0UWXSswCWkIlT0WbQ9rD83T9y12TJjAHxl4GJ9mWTWqmGWVudd8rV2sJ9F
 x3kcKTjiZWzOivS8T/BAu6jJHbax0JxpZ/xtwzf4mjtZzubM+OUO/lEXHamaw/lybDbM
 gPaHp+UMMM99fTJ4RsDkyxwgS9beS/ACFFUm21m2N9sK82WZ6IwR7LKNDI738kLonCRE
 jQUZ5/aV5gn173Qxv4vO4O7ATIPiyL0KDhExKXmf28kurv0TafO/5Wh1KSHEswxd6xrB
 HnQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=sQVbUnxkLOP5H9L26T8anktQ356s+95xaUt79vKDdyw=;
 b=xbtMatC7RF5fv+T003GeJRldg2AkzqLTIW/KJthWaiGU5DSKbuWDqiDS1BCWhX4YUv
 ZdZLuidi41Vk0Wwm1KKR5AeyCsFnWApiruQjia3jHx6zPkcTnNjceyQ38i6jN7geXlgO
 MNoKbp9/zkxrnemkRnRvnzlyMOgoW22igW5gNrEkDpjNyODfe7lDsWAfArvEb53gbw/G
 bptMLVYFBk1ffdgA8WfDwqUwgwAPJcRAdg6pl/aWmuj5wdz2UaSjODFi4qvzwggZm28W
 w4PNGExy/oULXGFYXBK7B7hiq8AOGuGDsbe9HQPtt2Qv6Uw0XCR0t1S6O2z4rD7QuSsk
 19EQ==
X-Gm-Message-State: AJIora+CdAMe/D/BszU2UK2Km6BHhtAHxeI16W75rRQ14rz39GxhWbDO
 o7PuVl/HKXiRIpQk8YnGEp4FtA==
X-Google-Smtp-Source: AGRyM1vC86jZ5kU/w86JXevMkZZvwV0mX1eywpYi113ccjAhGZ6hyUgyJquQaHKR7N33pFOkKj2RLw==
X-Received: by 2002:a17:90b:3507:b0:1f2:1b74:11d1 with SMTP id
 ls7-20020a17090b350700b001f21b7411d1mr10288425pjb.99.1658416957889; 
 Thu, 21 Jul 2022 08:22:37 -0700 (PDT)
Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])
 by smtp.gmail.com with ESMTPSA id
 n15-20020a170902d2cf00b0016bd67bc868sm1884260plc.210.2022.07.21.08.22.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 21 Jul 2022 08:22:37 -0700 (PDT)
Date: Thu, 21 Jul 2022 08:22:35 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: Chengwen Feng <fengchengwen@huawei.com>
Cc: <thomas@monjalon.net>, <dev@dpdk.org>
Subject: Re: [RFC] memarea: introduce memory area library
Message-ID: <20220721082235.38a08d70@hermes.local>
In-Reply-To: <20220721044648.6817-1-fengchengwen@huawei.com>
References: <20220721044648.6817-1-fengchengwen@huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Thu, 21 Jul 2022 12:46:48 +0800
Chengwen Feng <fengchengwen@huawei.com> wrote:

> +struct rte_memarea {
> +	void *private_data; /**< private management data pointer*/
> +	struct rte_memarea_param init;
> +};

Why does this structure have to be exposed in user API?
Hiding it in implementation would reduce ABI breakage problems.