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 AAE13A0096 for ; Mon, 8 Apr 2019 20:25:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7CB304CC7; Mon, 8 Apr 2019 20:25:16 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 3D0793572 for ; Mon, 8 Apr 2019 20:25:15 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id z5so8111558pfn.3 for ; Mon, 08 Apr 2019 11:25:15 -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; bh=OMrHH/v6rfQk+61Ynx3M9g2e3vBU0RuQ6ZV+YHhVwsk=; b=09CCJF9kEK8j2/S5Wc0/AOZOn0YVY6BIaAfUTjcLbFbXlJZ+HZ5C4Frh+c3tq0oGt7 WZAJm+n0ExGhtdhQQrSep0mrVwAgvPa0pYfAHlZS/wTrftcc8ImL9LFKOk1L1qnceC5Z 7h/9bOqZLxJ7RQHnH0roUe9cgyENW9O2uHCA5wPzPnsnMRrQtQWwskFyuXnzI66Vorf8 OuBYR/0r+/aYc3tuNbmzH8AHvOcznMNEPyfxdbCX9nmZCRxRYeIVkchHKOcnXPkcCs/w HEW8v6EQITC2G2V/rsnJeLaYxq2qunlH2TAW09FV4T73728bW1tLQlzXAOKUck3hYskL +vhA== 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; bh=OMrHH/v6rfQk+61Ynx3M9g2e3vBU0RuQ6ZV+YHhVwsk=; b=OgCqcTn9Mgm0UpLOR2aTyQY3Y+XtQxjOmRIvctPh8oXFxXbQ+sWt5cUhD91B6E1nw2 rSR0Y/li8YzJXtUNcTF49MMA8yJrJXBgAWmREy157QsSRl+3MNrU8xSjVtNZOeW7yts+ S/5rm9UexT3yXoQ4F3azlJWmJnLH2KZAOgGh8+15ksNqQM6Qe0UUw4lr7hAg1PcoCVwq O2HbYsN8LliU/zlRTmqMyP10q8OsM0M2+bjgSMtGIuu/iyuTWMn+GlUEz+dpaopd1rcY ZalpjfH5F/S9XGRoo8PneZENEpUXITg/MRh9n6uUmWADa4BvHsdlZaSa2ICASCYMJo+v rYdw== X-Gm-Message-State: APjAAAXPzpQD74M6XF3IFFzDD19TD2zi/iF1ZXAXGSJUI+gxweaG79LO gJOY3tBxP4r1+Pw79wX7xn98XThLFZub+A== X-Google-Smtp-Source: APXvYqx2B+fW+atjW16LVZOn+TR/oEXr/J2799QBmDBBK5SkyeWSjK2Zm80m2zC+POcZtCZDH4DZaA== X-Received: by 2002:a63:5947:: with SMTP id j7mr29253110pgm.62.1554747913754; Mon, 08 Apr 2019 11:25:13 -0700 (PDT) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id d25sm40891081pfn.154.2019.04.08.11.25.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Apr 2019 11:25:12 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 8 Apr 2019 11:25:05 -0700 Message-Id: <20190408182510.16078-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v1 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190408182505.HI4C6ko1NTwKYDIRJYYzfJJhABXiKMXA4r1LhKoBV5E@z> This set of patches makes the lcore_config structure internal to EAL and not part of the ABI. It supersedes earlier RFC. The first 4 would go into current release, and the last would go into later release to make it fully internal. The same should be done for rte_config, but that is more difficult. Stephen Hemminger (5): eal: add accessor functions for lcore_config bus: use lcore accessor functions examples/bond: use lcore accessor app/test: use lcore accessor functions eal: make lcore_config private 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 | 7 +++ drivers/bus/dpaa/dpaa_bus.c | 6 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 4 +- examples/bond/main.c | 4 +- lib/librte_eal/common/eal_common_launch.c | 2 + lib/librte_eal/common/eal_common_lcore.c | 39 ++++++++++++ lib/librte_eal/common/eal_private.h | 22 +++++++ lib/librte_eal/common/include/rte_lcore.h | 76 +++++++++++------------ lib/librte_eal/common/rte_service.c | 2 + lib/librte_eal/rte_eal_version.map | 12 +++- 14 files changed, 159 insertions(+), 73 deletions(-) -- 2.17.1