From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by dpdk.org (Postfix) with ESMTP id ED71B1B4ED for ; Wed, 3 Apr 2019 19:16:16 +0200 (CEST) Received: by mail-pl1-f181.google.com with SMTP id w24so1964155plp.2 for ; Wed, 03 Apr 2019 10:16: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; bh=Bqf4mbUcuRjc/KmRgS4LMOKoTkZWypkXLuiJ7h4bW1g=; b=cigcp4efuSwMc35HPtoeAWz8OsHGOWzMatVeFKEnsa2WdnjZ3kwLwc5t6AwDWQXZkh aAHms+l657ZlIJ18/XNH25uTp2RHh0Aa+ovgZW3R/Eq35lD0kDKNaY48ZLXbNOotseA+ CfUevl2zZ5iBFL3UItxahfosBnY3Wd5qO50tRqEl1vxvdOeGpA/TYP19KBkxmNsxDY/y iweOAiHbEo/MQTZT4yoSUbdOEM63GON381e19KulLs2Uu6kzgHa+wzRSb3RwUWK5RhjK Ay3PwknxZSdt0pxklKE/zZmkLmqIcNcDq+zsYEImvzCPhnS5xXK3RpmAYgk54gNYs7u9 vXJw== 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=Bqf4mbUcuRjc/KmRgS4LMOKoTkZWypkXLuiJ7h4bW1g=; b=SOBvMejmG2By0HYcmjqUwsDFRcOm+5axdWz84+pBBkO4jkdn1ChkXjTVr9jNU1STDF n/xw5WzrzLXjwDwfF+xkVUM0S2PU+YGWqEGKNDfdrsTZ9druMUgprYj82y5OpML3vXfd VXvNUmOyoHPXKxSnLMCV0gLC+1MGRE8wpql5ufwV55Hm98xwm2hBldMiWlKVguFTjcDt XcBB09HyW0OJ3DquOt/3vHPNpFvan1pmkEMv+2/wM8uYM3bkAc3irphK2Ct2FLavEH9I +SkOjm05Xaz2Jnfw8IzCh98hMuqQqy2e8WWYPKHkTEeN4QCDZzXamE3PcLBYeyLOP1L6 etHQ== X-Gm-Message-State: APjAAAXiHPCc+Bh8uMlvOrnMyhZW+qIVfWPCIXhykpUFMueKG2RR6mlX BHcDvngXswlgAYjAv9wjd6lRn0CURi0J3g== X-Google-Smtp-Source: APXvYqzlQy4iJVUajLO9h9eEXhpHnq+qHNgZ7E+MQ8BoIaj8sWSoDh+MHYGmrAz42YmJTPTQwzz65w== X-Received: by 2002:a17:902:1003:: with SMTP id b3mr1102454pla.306.1554311775394; Wed, 03 Apr 2019 10:16:15 -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 k14sm23041693pfb.125.2019.04.03.10.16.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2019 10:16:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 3 Apr 2019 10:16:05 -0700 Message-Id: <20190403171610.23970-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [RFC 0/5] make lcore_config less visible 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: Wed, 03 Apr 2019 17:16:17 -0000 This is a compile tested only set of patches to make the current lcore_config structure internal to EAL. The first 4 would go into current release, and the last would go into later release to make it fully internal. 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 | 12 ++-- app/test/test_ring_perf.c | 22 +++--- 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 | 46 +++++++++++++ lib/librte_eal/common/eal_private.h | 22 ++++++ lib/librte_eal/common/include/rte_lcore.h | 81 ++++++++++++----------- lib/librte_eal/common/rte_service.c | 2 + lib/librte_eal/rte_eal_version.map | 1 - 13 files changed, 150 insertions(+), 61 deletions(-) -- 2.17.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 AE40EA0679 for ; Wed, 3 Apr 2019 19:16:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7FE8A1B4F9; Wed, 3 Apr 2019 19:16:18 +0200 (CEST) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by dpdk.org (Postfix) with ESMTP id ED71B1B4ED for ; Wed, 3 Apr 2019 19:16:16 +0200 (CEST) Received: by mail-pl1-f181.google.com with SMTP id w24so1964155plp.2 for ; Wed, 03 Apr 2019 10:16: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; bh=Bqf4mbUcuRjc/KmRgS4LMOKoTkZWypkXLuiJ7h4bW1g=; b=cigcp4efuSwMc35HPtoeAWz8OsHGOWzMatVeFKEnsa2WdnjZ3kwLwc5t6AwDWQXZkh aAHms+l657ZlIJ18/XNH25uTp2RHh0Aa+ovgZW3R/Eq35lD0kDKNaY48ZLXbNOotseA+ CfUevl2zZ5iBFL3UItxahfosBnY3Wd5qO50tRqEl1vxvdOeGpA/TYP19KBkxmNsxDY/y iweOAiHbEo/MQTZT4yoSUbdOEM63GON381e19KulLs2Uu6kzgHa+wzRSb3RwUWK5RhjK Ay3PwknxZSdt0pxklKE/zZmkLmqIcNcDq+zsYEImvzCPhnS5xXK3RpmAYgk54gNYs7u9 vXJw== 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=Bqf4mbUcuRjc/KmRgS4LMOKoTkZWypkXLuiJ7h4bW1g=; b=SOBvMejmG2By0HYcmjqUwsDFRcOm+5axdWz84+pBBkO4jkdn1ChkXjTVr9jNU1STDF n/xw5WzrzLXjwDwfF+xkVUM0S2PU+YGWqEGKNDfdrsTZ9druMUgprYj82y5OpML3vXfd VXvNUmOyoHPXKxSnLMCV0gLC+1MGRE8wpql5ufwV55Hm98xwm2hBldMiWlKVguFTjcDt XcBB09HyW0OJ3DquOt/3vHPNpFvan1pmkEMv+2/wM8uYM3bkAc3irphK2Ct2FLavEH9I +SkOjm05Xaz2Jnfw8IzCh98hMuqQqy2e8WWYPKHkTEeN4QCDZzXamE3PcLBYeyLOP1L6 etHQ== X-Gm-Message-State: APjAAAXiHPCc+Bh8uMlvOrnMyhZW+qIVfWPCIXhykpUFMueKG2RR6mlX BHcDvngXswlgAYjAv9wjd6lRn0CURi0J3g== X-Google-Smtp-Source: APXvYqzlQy4iJVUajLO9h9eEXhpHnq+qHNgZ7E+MQ8BoIaj8sWSoDh+MHYGmrAz42YmJTPTQwzz65w== X-Received: by 2002:a17:902:1003:: with SMTP id b3mr1102454pla.306.1554311775394; Wed, 03 Apr 2019 10:16:15 -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 k14sm23041693pfb.125.2019.04.03.10.16.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2019 10:16:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 3 Apr 2019 10:16:05 -0700 Message-Id: <20190403171610.23970-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [RFC 0/5] make lcore_config less visible 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: <20190403171605.M81DJnNFMW62XPcdc23SWOyG57_3_vy9Jq3RDCaqD_4@z> This is a compile tested only set of patches to make the current lcore_config structure internal to EAL. The first 4 would go into current release, and the last would go into later release to make it fully internal. 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 | 12 ++-- app/test/test_ring_perf.c | 22 +++--- 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 | 46 +++++++++++++ lib/librte_eal/common/eal_private.h | 22 ++++++ lib/librte_eal/common/include/rte_lcore.h | 81 ++++++++++++----------- lib/librte_eal/common/rte_service.c | 2 + lib/librte_eal/rte_eal_version.map | 1 - 13 files changed, 150 insertions(+), 61 deletions(-) -- 2.17.1