From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 71CEAA045E for ; Fri, 31 May 2019 17:37:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 200631B957; Fri, 31 May 2019 17:37:14 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id D13A02AB for ; Fri, 31 May 2019 17:37:12 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 591E930C62A0; Fri, 31 May 2019 15:37:11 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-116-185.ams2.redhat.com [10.36.116.185]) by smtp.corp.redhat.com (Postfix) with ESMTP id CAD9460BF7; Fri, 31 May 2019 15:37:09 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, stephen@networkplumber.org, bruce.richardson@intel.com Date: Fri, 31 May 2019 17:36:57 +0200 Message-Id: <1559317022-28779-1-git-send-email-david.marchand@redhat.com> In-Reply-To: <20190408182510.16078-1-stephen@networkplumber.org> References: <20190408182510.16078-1-stephen@networkplumber.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Fri, 31 May 2019 15:37:12 +0000 (UTC) Subject: [dpdk-dev] [PATCH v5 0/5] make lcore_config internal 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" This set of patches makes the lcore_config structure less visible as part of the ABI. This version does not break the ABI (yet) follow on patch moves lcore_config into eal_private.h Changelog since v4: The only change is in patch 2: marked new apis as experimental. Changelog since v3: I took the liberty of taking over Stephen series. I rebased and did some adjustments following [1] cleanups. As stated before, we will still need a deprecation notice when hiding lcore_config but this series does not break API nor ABI. Changelog since v2: - new patch to use unsigned int in lcore.h first - incorporate feedback from David - don't include last patch to make it private (to avoid accidental early merge) 1: http://patchwork.dpdk.org/patch/53621/ -- David Marchand Stephen Hemminger (5): eal: use unsigned int in lcore API prototypes eal: add lcore accessors drivers/bus: use lcore accessors examples/bond: use lcore accessors test: use lcore accessors app/test/test_cryptodev.c | 2 +- app/test/test_ring_perf.c | 22 +++++++------ app/test/test_stack_perf.c | 20 ++++++------ drivers/bus/dpaa/dpaa_bus.c | 6 ++-- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 4 ++- examples/bond/main.c | 13 ++++---- lib/librte_eal/common/eal_common_lcore.c | 33 ++++++++++++++++++++ lib/librte_eal/common/include/rte_lcore.h | 52 ++++++++++++++++++++----------- lib/librte_eal/rte_eal_version.map | 12 +++++++ 9 files changed, 116 insertions(+), 48 deletions(-) -- 1.8.3.1