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 DEEF5A00C2; Sat, 25 Apr 2020 08:10:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 46BA81C1BF; Sat, 25 Apr 2020 08:10:35 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 6EA071C1B4 for ; Sat, 25 Apr 2020 08:10:33 +0200 (CEST) IronPort-SDR: 1Nej20QSnIWjzvFhr6aE4wXN9iPSaZlKkbGqOMGBlnj8659moNLa0qS8gcyPMCcKj+4p60llgF 1GR5EyxwozmA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2020 23:10:32 -0700 IronPort-SDR: LPzM+A5METabLjIyhBTa1NaTtCEA6q3TIRAk4iyuBRC4TaF2GhNLNac8W2JsX10LBfajuXRFnU i4iCIN53YtAA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,314,1583222400"; d="scan'208";a="281099168" Received: from npg-dpdk-haiyue-3.sh.intel.com ([10.67.119.46]) by fmsmga004.fm.intel.com with ESMTP; 24 Apr 2020 23:10:30 -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: Sat, 25 Apr 2020 14:04:35 +0800 Message-Id: <20200425060441.36874-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 v6 0/6] 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 }; v6: split into small patches, and add the missed handling. 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 (6): eal: add internal ABI tag definition build: enable internal API tag mk: add internal tag check devtools: ignore internal ABI check devtools: exempt internal ABI checking devtools: enforce internal tag at the beginning ...-experimental-syms.sh => check-symbols.sh} | 31 +++++++++++++++ devtools/check-symbol-change.sh | 8 ++++ devtools/checkpatches.sh | 39 +++++++++++++++++++ devtools/libabigail.abignore | 5 +++ drivers/meson.build | 5 ++- lib/librte_eal/include/rte_compat.h | 13 +++++++ lib/meson.build | 5 ++- mk/internal/rte.compile-pre.mk | 6 +-- mk/target/generic/rte.vars.mk | 1 + 9 files changed, 108 insertions(+), 5 deletions(-) rename buildtools/{check-experimental-syms.sh => check-symbols.sh} (61%) -- 2.26.2