From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69C95C282E1 for ; Thu, 23 May 2019 13:59:47 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 2A08A2133D for ; Thu, 23 May 2019 13:59:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2A08A2133D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 482841B945; Thu, 23 May 2019 15:59:46 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 7B90B5689 for ; Thu, 23 May 2019 15:59:44 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A825B7EBDC; Thu, 23 May 2019 13:59:43 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-204-124.brq.redhat.com [10.40.204.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id 480505B683; Thu, 23 May 2019 13:59:41 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, stephen@networkplumber.org Date: Thu, 23 May 2019 15:58:56 +0200 Message-Id: <1558619942-9723-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.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 23 May 2019 13:59:43 +0000 (UTC) Subject: [dpdk-dev] [PATCH v4 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 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 | 46 +++++++++++++++++++------------ lib/librte_eal/rte_eal_version.map | 10 +++++++ 9 files changed, 108 insertions(+), 48 deletions(-) -- 1.8.3.1