From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id C28A54C77 for ; Fri, 3 May 2019 19:25:16 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id k19so3039064pgh.0 for ; Fri, 03 May 2019 10:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kKPtozsYj9ubL4LYVJEdPG1jjHNCJI14eVT48MT7J7Y=; b=YYXLJ7qOCgB4XDRZI6uGr1aGN6H8n/hwkc94hlaqP7rekXqdnX541jJBA1guaeqPjE bjstXOZkX8S8LN9QvZvUmYBwSFcxnH5EE9+1PZOsVM8F9ewAMOsr9JO/zoy6VokLCtcT i0tCeLnreyVX0gL9pQ5jE0i9+tWzhb26yxjLvHqOvzCiajy8lTqVzWhNmZwZpz5WLGqo rRjiuL0sQvBs5zuB0e0SY79xJ+1cuQbR1BVHSVAHOtf0r3fm1cJpWDXFhdGQLNIeoT7N r4zagmnswekhFwc/zjTe5ocC+Mt0g4elJF3pgNmd399hi6119xOBXUYHn1mhr8evnoUv J/SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kKPtozsYj9ubL4LYVJEdPG1jjHNCJI14eVT48MT7J7Y=; b=UrgxP00gxrQSmzrlf/5vtz+1YftMPMdU5zivXbLtVW4y963fHlT/XzuWo7x9W2Gmlp hrKRk0riRUhvmrvQ8uGZHt9/RfsmNhZj5wrV0GjIQsKamIGLVWRkDD9KklE7IisdZGbu iR/awVl8ibMiAUC9EEsRJ5lsaZRBwmfLcehLBJQ6dV+hA5gHdXtbdDiM+JfB/ItLUb2R KWhKyGpO1Ntqi1k2hsotXrQuNLz6doPjuKQ44koLHQ4xI1ZhtcBdM2n5Dii771V4LYGY NsiwjEm/36Z9+QbjiW5ucZgTu8XUqhXq7fibvhNRg39KgSdoZvyjxSk+R3n99iF1IkQK 3Rjw== X-Gm-Message-State: APjAAAWu8rJptSWnSIpXnEkjOBG8cBvl7LacjR7rDaei+/gDPyO1M4tE ASaEq8e3H+gIi/QAIhsN4GHX+aM4vrw= X-Google-Smtp-Source: APXvYqyq630ylVDc+QUZzUNVWB7cQAgzoGJgUPJ9lLcQ4VeHyPaRfQC6NtLo/kg4cTQmSMYowh61qg== X-Received: by 2002:a65:5687:: with SMTP id v7mr11840645pgs.299.1556904315369; Fri, 03 May 2019 10:25:15 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t13sm3109578pgj.49.2019.05.03.10.25.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 May 2019 10:25:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 3 May 2019 10:25:02 -0700 Message-Id: <20190503172507.5272-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190410171603.8979-1-stephen@networkplumber.org> References: <20190410171603.8979-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/5] prepare to make lcore_config not visible in ABI 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: , X-List-Received-Date: Fri, 03 May 2019 17:25:17 -0000 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 Changes for v3 (based on David's feedback): - rte_lcore_index should not be experimental - eal map should chain from 18.11 - more fixes in bond example Stephen Hemminger (5): eal: use unsigned int in rte_lcore.h functions eal: add accessor functions for lcore_config bus: use lcore accessor functions examples/bond: use lcore accessor app/test: use lcore accessor functions app/test/test_cryptodev.c | 2 +- app/test/test_hash_readwrite_lf.c | 14 +++--- app/test/test_ring_perf.c | 22 +++++---- app/test/test_stack_perf.c | 20 ++++---- doc/guides/rel_notes/release_19_05.rst | 6 +++ 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 | 39 ++++++++++++++++ lib/librte_eal/common/include/rte_lcore.h | 57 ++++++++++++++++------- lib/librte_eal/rte_eal_version.map | 11 +++++ 11 files changed, 139 insertions(+), 55 deletions(-) -- 2.20.1 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 87108A0AC5 for ; Fri, 3 May 2019 19:25:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 546AE1B0FF; Fri, 3 May 2019 19:25:18 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id C28A54C77 for ; Fri, 3 May 2019 19:25:16 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id k19so3039064pgh.0 for ; Fri, 03 May 2019 10:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kKPtozsYj9ubL4LYVJEdPG1jjHNCJI14eVT48MT7J7Y=; b=YYXLJ7qOCgB4XDRZI6uGr1aGN6H8n/hwkc94hlaqP7rekXqdnX541jJBA1guaeqPjE bjstXOZkX8S8LN9QvZvUmYBwSFcxnH5EE9+1PZOsVM8F9ewAMOsr9JO/zoy6VokLCtcT i0tCeLnreyVX0gL9pQ5jE0i9+tWzhb26yxjLvHqOvzCiajy8lTqVzWhNmZwZpz5WLGqo rRjiuL0sQvBs5zuB0e0SY79xJ+1cuQbR1BVHSVAHOtf0r3fm1cJpWDXFhdGQLNIeoT7N r4zagmnswekhFwc/zjTe5ocC+Mt0g4elJF3pgNmd399hi6119xOBXUYHn1mhr8evnoUv J/SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kKPtozsYj9ubL4LYVJEdPG1jjHNCJI14eVT48MT7J7Y=; b=UrgxP00gxrQSmzrlf/5vtz+1YftMPMdU5zivXbLtVW4y963fHlT/XzuWo7x9W2Gmlp hrKRk0riRUhvmrvQ8uGZHt9/RfsmNhZj5wrV0GjIQsKamIGLVWRkDD9KklE7IisdZGbu iR/awVl8ibMiAUC9EEsRJ5lsaZRBwmfLcehLBJQ6dV+hA5gHdXtbdDiM+JfB/ItLUb2R KWhKyGpO1Ntqi1k2hsotXrQuNLz6doPjuKQ44koLHQ4xI1ZhtcBdM2n5Dii771V4LYGY NsiwjEm/36Z9+QbjiW5ucZgTu8XUqhXq7fibvhNRg39KgSdoZvyjxSk+R3n99iF1IkQK 3Rjw== X-Gm-Message-State: APjAAAWu8rJptSWnSIpXnEkjOBG8cBvl7LacjR7rDaei+/gDPyO1M4tE ASaEq8e3H+gIi/QAIhsN4GHX+aM4vrw= X-Google-Smtp-Source: APXvYqyq630ylVDc+QUZzUNVWB7cQAgzoGJgUPJ9lLcQ4VeHyPaRfQC6NtLo/kg4cTQmSMYowh61qg== X-Received: by 2002:a65:5687:: with SMTP id v7mr11840645pgs.299.1556904315369; Fri, 03 May 2019 10:25:15 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t13sm3109578pgj.49.2019.05.03.10.25.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 May 2019 10:25:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 3 May 2019 10:25:02 -0700 Message-Id: <20190503172507.5272-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190410171603.8979-1-stephen@networkplumber.org> References: <20190410171603.8979-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/5] prepare to make lcore_config not visible in ABI 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190503172502.ma-9IUfdsyMYBPiVsmF0A636W2eEpfNNJfCPu-B7MWc@z> 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 Changes for v3 (based on David's feedback): - rte_lcore_index should not be experimental - eal map should chain from 18.11 - more fixes in bond example Stephen Hemminger (5): eal: use unsigned int in rte_lcore.h functions eal: add accessor functions for lcore_config bus: use lcore accessor functions examples/bond: use lcore accessor app/test: use lcore accessor functions app/test/test_cryptodev.c | 2 +- app/test/test_hash_readwrite_lf.c | 14 +++--- app/test/test_ring_perf.c | 22 +++++---- app/test/test_stack_perf.c | 20 ++++---- doc/guides/rel_notes/release_19_05.rst | 6 +++ 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 | 39 ++++++++++++++++ lib/librte_eal/common/include/rte_lcore.h | 57 ++++++++++++++++------- lib/librte_eal/rte_eal_version.map | 11 +++++ 11 files changed, 139 insertions(+), 55 deletions(-) -- 2.20.1