From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id ADB44A04C3; Mon, 28 Sep 2020 12:18:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D763D1D67D; Mon, 28 Sep 2020 12:18:16 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 753D91D655 for ; Mon, 28 Sep 2020 12:18:14 +0200 (CEST) IronPort-SDR: P17XEBasdA/7uiH0DK76rQvtjKKtzWhwdGgaBWtEyz9bPUkeTbptuEeD15fnC0S8Ho/UtiWxeA gfafXZbnzE2w== X-IronPort-AV: E=McAfee;i="6000,8403,9757"; a="149634185" X-IronPort-AV: E=Sophos;i="5.77,313,1596524400"; d="scan'208";a="149634185" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 03:18:10 -0700 IronPort-SDR: 5gmaXKEFvha2Pe+IHa9RCRGr0rm+8fsUG8EWCy8cLOecaRcROGH5erLiUCTQkHeJ1y+C6Iw/SC OthOf+x/adKg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,313,1596524400"; d="scan'208";a="513398163" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga006.fm.intel.com with ESMTP; 28 Sep 2020 03:18:10 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 28 Sep 2020 03:18:10 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 28 Sep 2020 03:18:09 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 28 Sep 2020 03:18:09 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.58) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 28 Sep 2020 03:18:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vp9r03QDhxPoa3mN2rXj6WPjQXQfzA32Cf/S9LCmZFeMRwhwIKDXnAufECXrxsJ6e2IDxEPJq6tlXxM//eSr2/0ZAYVF6CLPgaG/iv42sc8DHPKkN1jM0yDgIxiT+ozGwNJhI10XRTwc7/ZK6w/Ilbp5hSpaHaW6ejZnRIxZ/MBal6ZEihtL/UQcKSrAIy7wiFSdkPCeGr1MmSGgfDSyLr04nXK/ra6xPI37Mt/jDsZiZuaKJXhj39wFPsaagSc3Uu4xAADzuLA2ZT/8Hftlrl1eWg58TCUZX+sgqGZirZnajcbIN9c7iLn/xJVQEUGVS+HSE6+oTmXvlr2TjrPW9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b+WeDtHRu1NLC/jRwusn4Ya1Xq5bO/9ykeXDzUMeYZ0=; b=P8XrhNaQrUaZeBBwcF9gEoFFP2UzFcpX0KrptTv7lntaWL3OGXOiSslLwSqsNs1QzXRp9kFMMViikur+xMpDQiXBhbNTsLWydWMH7FEfGo8ESAZj+Dm0Rc2dDpDifT6utHCQKoQn0/Al1Wz45rK4ZtSzAGm+SSqhDnoimQtOuxxiERJeLQ3spfmCOBt0fzkrhp0vKsFsrZ9cSpkiNLfHT7rWsMZoeuG+n08OZqaErS4vI64QpTD3J3aOOGVmrvzc/SUw0cp29YXiZoMcAQbr5psSj1MuprGaKA4VipEoWRK6SZNr1qC3aQ4lsSAsthOcnH/ID25teuUA0LongVcSLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b+WeDtHRu1NLC/jRwusn4Ya1Xq5bO/9ykeXDzUMeYZ0=; b=vGbZetKWk0f6ZgbSJilh512mr9i+5im1SoKOpoX8uLY0zuft2/KyUfNTSjYyFPZS4Mk1dph2AvPmqa+pR047IJxBWsYFq7mrTdmPC7wl5Vyu+m7v9zMg6D0qhqEmhW1A+mshWmWhxcVWN3eJnyHB0imJSEbZ0wX1kaYAGi5aQ2M= Received: from BY5PR11MB3910.namprd11.prod.outlook.com (2603:10b6:a03:185::13) by BY5PR11MB3910.namprd11.prod.outlook.com (2603:10b6:a03:185::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.23; Mon, 28 Sep 2020 10:17:59 +0000 Received: from BY5PR11MB3910.namprd11.prod.outlook.com ([fe80::992b:a29e:9cab:a351]) by BY5PR11MB3910.namprd11.prod.outlook.com ([fe80::992b:a29e:9cab:a351%7]) with mapi id 15.20.3412.026; Mon, 28 Sep 2020 10:17:59 +0000 From: "Dybkowski, AdamX" To: Ruifeng Wang , "dev@dpdk.org" , "Trahe, Fiona" , "Akhil.goyal@nxp.com" , "Zhang, Roy Fan" CC: nd Thread-Topic: [dpdk-dev] [PATCH] crypto/scheduler: rename slave to worker Thread-Index: AQHWe76t79H54xZEakao/PNVTHqYfql9jI8AgAB80mA= Date: Mon, 28 Sep 2020 10:17:59 +0000 Message-ID: References: <20200826153412.1041-1-adamx.dybkowski@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.44] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 05febfda-421b-4ea3-014e-08d86397c67a x-ms-traffictypediagnostic: BY5PR11MB3910: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XSEdUn++av3q51fXucPz4Bx58eYd4G59mkVjNAoyP/IgY0oVqvWzC3qJXKP8NWOCNOxm07vhFIVcu5hBItrQlSKBJ9xbPsS+1kPJYK5po/ukAHb6ywbKYCGQPn6qNtqDEFqtY8KmMbrzcJqSivINnu6tlKDE4DZVlaTVFJShR8V12NCv7BQv/90OsLT33EIX28R/FYkF2za2k1QZ+7pHSB7656DqrlMuTimQMec2Ijy/jWCEom7Zpga5G7l1f52THs4F5zQ/npIcbYpht+WnMIu5GSMskwnMjSu8lfckxxtweWPxcHQcyS6QHf2JHD98gSFKEen/V7d+f5Ox/oNA15A6uOW3OuqwZhCJ2LvJQ21+qsuAChhahYSq2Dfo/dvI x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB3910.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(376002)(346002)(136003)(396003)(86362001)(186003)(33656002)(6636002)(316002)(7696005)(478600001)(71200400001)(110136005)(83380400001)(2906002)(76116006)(66946007)(9686003)(26005)(4326008)(5660300002)(8936002)(6506007)(53546011)(8676002)(66446008)(64756008)(66556008)(66476007)(52536014)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: yswP+a5DUVj1jdSuQ6ByjbMS6LM2IqdRfX2qo4+a5tGAyo17jh5ZY+GwA+2XPk7xLlTtHVC92N4Pv1QPqzYxBjnqRSK56WyHk5rdCS6nX5BOlPaM8IVolaMKCK8o7kYzfRXK6Zvou2T/OzhccOBTjDcQoGmtLTK/A5G6cvEPZzVe/GXKsXyziICb6drrpRg7St3aXRItm9Hx+rTN1fHLpsnwaHR0M5oUnsYBpZgvAbKudhGnAGKW0mt6Edw0OK7mBJp1Ls/Q6yFbxNuEeTYG1g9I0QjUgfcqJwNAvO5IXM1u42emMnqKPlZnDT4Kw3d1x/RL2K4dHCQxh92mvgRYvLD1qV5VArdWEzBUzCBF2Wxq1MJtUc+w45Q0vWAMN8m39qrXB0e+67a6nTDSS2JHs2aDitG0tCi4CRGuuIQ07bWIGyXmmAYbU0+ife3ZtCfJYabsOE9fOKf9y6zVzFzqo+vM3BIh8gj6GR1a44OF8FKX9vCnncLCxYdNfByyDm9Nqe657C/iNgL2Ip4It3NO8POxFnvHW7Iq0aPDNSwZjBgHmQqUOmsOTdZoE0do+cR1iDwhrFJhbuerx28/BxlSE/wjRMYBPwYjVjK4x6PpHInCjNSpszGgtZE53KchI6q7scPJI0BIBeXYQcARP40gtA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB3910.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05febfda-421b-4ea3-014e-08d86397c67a X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2020 10:17:59.2961 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1SU2NlUgg3XXHjMe/u2WteU5lnMzNW6FGNKMr38OuLTJmNpqyaMq4jyUVVLit9r/NxUuUf2pJuCnOl0EFXqv6XFpgbOtD50jo0NwyUOI32s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB3910 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] crypto/scheduler: rename slave to worker 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" > -----Original Message----- > From: Ruifeng Wang > Sent: Monday, 28 September, 2020 04:50 > To: Dybkowski, AdamX ; dev@dpdk.org; > Trahe, Fiona ; Akhil.goyal@nxp.com; Zhang, Roy > Fan > Cc: nd > Subject: RE: [dpdk-dev] [PATCH] crypto/scheduler: rename slave to worker >=20 > > -----Original Message----- > > From: dev On Behalf Of Adam Dybkowski > > Sent: Wednesday, August 26, 2020 11:34 PM > > To: dev@dpdk.org; fiona.trahe@intel.com; Akhil.goyal@nxp.com; > > roy.fan.zhang@intel.com > > Cc: Adam Dybkowski > > Subject: [dpdk-dev] [PATCH] crypto/scheduler: rename slave to worker > > > > This patch replaces the usage of the word 'slave' with more > > appropriate word 'worker' in QAT PMD and Scheduler PMD as well as in > > their docs. Also the test app was modified to use the new wording. > > > > The Scheduler PMD's public API was modified according to the previous > > deprecation notice: > > rte_cryptodev_scheduler_slave_attach is now called > > rte_cryptodev_scheduler_worker_attach, > > rte_cryptodev_scheduler_slave_detach is > > rte_cryptodev_scheduler_worker_detach, > > rte_cryptodev_scheduler_slaves_get is > > rte_cryptodev_scheduler_workers_get. > > > > Also, the configuration value > > RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES > > was renamed to RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKERS. > > > > Signed-off-by: Adam Dybkowski > > --- > > app/test-crypto-perf/main.c | 2 +- > > app/test/test_cryptodev.c | 20 +- > > doc/guides/cryptodevs/qat.rst | 2 +- > > doc/guides/cryptodevs/scheduler.rst | 40 ++-- > > doc/guides/rel_notes/deprecation.rst | 2 +- > > .../scheduler/rte_cryptodev_scheduler.c | 114 +++++----- > > .../scheduler/rte_cryptodev_scheduler.h | 35 ++- > > .../rte_cryptodev_scheduler_operations.h | 12 +- > > .../rte_pmd_crypto_scheduler_version.map | 6 +- > > drivers/crypto/scheduler/scheduler_failover.c | 83 +++---- > > .../crypto/scheduler/scheduler_multicore.c | 54 ++--- > > .../scheduler/scheduler_pkt_size_distr.c | 142 ++++++------ > > drivers/crypto/scheduler/scheduler_pmd.c | 54 ++--- > > drivers/crypto/scheduler/scheduler_pmd_ops.c | 204 > > +++++++++--------- .../crypto/scheduler/scheduler_pmd_private.h | 12= +- > > .../crypto/scheduler/scheduler_roundrobin.c | 87 ++++---- > > examples/l2fwd-crypto/main.c | 6 +- > > 17 files changed, 439 insertions(+), 436 deletions(-) > > >=20 > >=20 > > diff --git a/doc/guides/rel_notes/deprecation.rst > > b/doc/guides/rel_notes/deprecation.rst > > index 345c38d5b..24d58060f 100644 > > --- a/doc/guides/rel_notes/deprecation.rst > > +++ b/doc/guides/rel_notes/deprecation.rst > > @@ -341,4 +341,4 @@ Deprecation Notices > > * dpdk-setup.sh: This old script relies on deprecated stuff, and espec= ially > > ``make``. Given environments are too much variables for such a > > simple script, > > it will be removed in DPDK 20.11. > > - Some useful parts may be converted into specific scripts. > > + Some useful parts may be converted into specific scripts. > > \ No newline at end of file >=20 > This is not intended modification. > What should be deleted is section 'scheduler'. > And release note 20.11 needs update to indicate the API replacement. >=20 > Thanks. > Ruifeng [Adam] OK, thanks for spotting this unintended modification. I'll send the next version together with release notes update later this we= ek. Adam Dybkowski