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 939B6A0613 for ; Tue, 30 Jul 2019 15:09:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A044F1C115; Tue, 30 Jul 2019 15:09:27 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 187E81C027 for ; Tue, 30 Jul 2019 15:09:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jul 2019 06:09:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,326,1559545200"; d="scan'208";a="190862029" Received: from marcinzx-mobl.ger.corp.intel.com ([10.103.104.107]) by fmsmga001.fm.intel.com with ESMTP; 30 Jul 2019 06:09:23 -0700 From: Marcin Zapolski To: dev@dpdk.org Cc: Marcin Zapolski Date: Tue, 30 Jul 2019 14:49:48 +0200 Message-Id: <20190730124950.1293-1-marcinx.a.zapolski@intel.com> X-Mailer: git-send-email 2.22.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC 19.11 0/2] Hide DPDK internal struct from public API 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" Several DPDK internal structures are exposed to direct access by user applications. This patch removes them from public API, and makes core DPDK functions that use them non-inline. Marcin Zapolski (2): ethdev: make DPDK core functions non-inline ethdev: hide DPDK internal struct from public API drivers/net/cxgbe/base/adapter.h | 1 + drivers/net/netvsc/hn_nvs.c | 1 + drivers/net/netvsc/hn_rxtx.c | 1 + lib/librte_ethdev/ethdev_private.h | 1 + lib/librte_ethdev/ethdev_profile.h | 1 + lib/librte_ethdev/rte_ethdev.c | 168 +++++++++++++++++ lib/librte_ethdev/rte_ethdev.h | 169 ++---------------- lib/librte_ethdev/rte_ethdev_driver.h | 1 + lib/librte_ethdev/rte_ethdev_version.map | 12 ++ lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow_driver.h | 1 + lib/librte_ethdev/rte_mtr.c | 1 + lib/librte_ethdev/rte_mtr_driver.h | 1 + lib/librte_ethdev/rte_tm.c | 1 + lib/librte_ethdev/rte_tm_driver.h | 1 + .../rte_event_eth_rx_adapter.c | 1 + .../rte_event_eth_tx_adapter.c | 1 + lib/librte_eventdev/rte_eventdev.c | 1 + lib/librte_telemetry/rte_telemetry.c | 1 + 19 files changed, 211 insertions(+), 154 deletions(-) -- 2.17.1