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 B25DAA00C2; Thu, 23 Apr 2020 05:25:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 61B8E1C224; Thu, 23 Apr 2020 05:25:31 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 92AB91C220 for ; Thu, 23 Apr 2020 05:25:29 +0200 (CEST) IronPort-SDR: 2N5y1QVG3MNCXrGK78ZF5iax6n9n0PdzE9+mWKshU6XlmxMNzIn/PAorD1v/YVqozmo+FBylby 4PQ4AY/lFbaw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 20:25:28 -0700 IronPort-SDR: I9yzVqpKE9OCGrkhEMUzQiDbKTipz42z5+eQECpPmB0MyQNUiZqg6bsY3BmQrZaEbsGTbLUkOr FVc63H/9Q2Bw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,305,1583222400"; d="scan'208";a="402772158" Received: from npg-dpdk-haiyue-3.sh.intel.com ([10.67.119.46]) by orsmga004.jf.intel.com with ESMTP; 22 Apr 2020 20:25:26 -0700 From: Haiyue Wang To: dev@dpdk.org, thomas@monjalon.net, david.marchand@redhat.com, bruce.richardson@intel.com, ferruh.yigit@intel.com, nhorman@tuxdriver.com, mdr@ashroe.eu Cc: Haiyue Wang Date: Thu, 23 Apr 2020 11:19:46 +0800 Message-Id: <20200423031947.4477-1-haiyue.wang@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20190613142344.9188-1-nhorman@tuxdriver.com> References: <20190613142344.9188-1-nhorman@tuxdriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 0/1] dpdk: introduce __rte_internal tag 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" Move the internal function into INTERNAL session to avoid the ABI checking, and it is only used for DPDK drivers or related library. __rte_internal funA INTERNAL { global: funA }; v5: add the checkpatch for __rte_internal style v4: add the ABI check suppression rules v3: based on Neil's v2 patch https://patchwork.dpdk.org/cover/54771/ Use the ALLOW_INTERNAL_API to mark this new feature. Haiyue Wang (1): eal: add internal ABI marking support buildtools/check-internal-syms.sh | 57 +++++++++++++++++++++++++++++ devtools/check-symbol-change.sh | 7 ++++ devtools/checkpatches.sh | 38 +++++++++++++++++++ devtools/libabigail.abignore | 5 +++ drivers/meson.build | 2 +- lib/librte_eal/include/rte_compat.h | 13 +++++++ lib/meson.build | 2 +- mk/internal/rte.compile-pre.mk | 3 ++ mk/target/generic/rte.vars.mk | 1 + 9 files changed, 126 insertions(+), 2 deletions(-) create mode 100755 buildtools/check-internal-syms.sh -- 2.26.2