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 A05C3A04AC; Mon, 31 Aug 2020 13:50:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 87E9A137D; Mon, 31 Aug 2020 13:50:51 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5DB71CF3; Mon, 31 Aug 2020 13:50:48 +0200 (CEST) IronPort-SDR: gIYL0sRUwdMHqZ0HmznZLFz9SjvrQDbFYeaWYyOiBfr0tGXqrDuRMhYw4Mg3JMhzpDL50D1xyY K/kNfJuKU9mA== X-IronPort-AV: E=McAfee;i="6000,8403,9729"; a="156955951" X-IronPort-AV: E=Sophos;i="5.76,375,1592895600"; d="scan'208";a="156955951" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2020 04:50:47 -0700 IronPort-SDR: nlHtgvGWFHDYfgCQ8reul8AoSWGdfOeuL0l4cpfjsM/ZkeA82Lyq2xfb/KlzDKvCHz7QxELIN8 LNEpERO8+psw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,375,1592895600"; d="scan'208";a="374790279" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga001.jf.intel.com with ESMTP; 31 Aug 2020 04:50:47 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 31 Aug 2020 04:50:42 -0700 Received: from orsmsx151.amr.corp.intel.com (10.22.226.38) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 31 Aug 2020 04:50:42 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX151.amr.corp.intel.com (10.22.226.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 31 Aug 2020 04:50:41 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 31 Aug 2020 04:50:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VtT6ASs8oOHN1Sqih0qvbgVB0fka7jYBWVwokjwBAodeKJBj7Ws0b7Iu7Z7qPv/J35M8FkNE0Kk10uh36nsthX4QMRmj0uQ2hE8QRJEa+bpXyezdWyd9chs06TXGk8H5aT0bYyM4az94tADlAs7LUUJ+Oxc6S0JRJz337gTirlWtgwrR2Fo/9LlEbb5P0iTLMMVZOcz4gwE/VfMmTq/bo8/wmF6K2nMbnLs37ebfgxJPThSAY2K2/bIZ6Nyi9mMiOiz9t/qKYVadwAjU5Jrj3OLM6pZR2dlrYh+HVvelbRfiW0XdtFjBLBS9BaSEuOywZ14m9wab6tzvQNqOXIbOYQ== 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=lAijo91IrHzqj8jm51ir2GrypB/1zTIgoOEquro2RJM=; b=ZCZ/LKGCaF1ZzkMOQt/5HJnalwTqWaSkx5cb4RDxK0xPm93VZiH0MSIoRBpk2VkcEWKvvOKceaIYy0drkupcCSMOJuon6DKHCZB6JHrXF83aTCY/v8t3JGAU0L9X+z96pGPi9iKUmGCcYSYhrNNcYzLZAFM/N0da3na7wncnTVG76yOYQlI8kYVdwajt2yNUBpJLuPLvdmGFEvCcwYOMPoZ/aLjGEr5QDTn8x9tS+xVV9vipKSsV5rxKLb/S6rOinL0g2cD74NuWO+4P2A/liVf9tDhXS52cbyKulvnqJ3yhi4hOni3K0y+zevR5fZ5PWoQ6ugJKry70A9MfthBWJg== 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=lAijo91IrHzqj8jm51ir2GrypB/1zTIgoOEquro2RJM=; b=MEeUqgBNnfnQrFEMYZK2f9w9ADnIWaTnt24NZdri7kNDr00XGkHgz7tnbriYTpPkVoxFtDYO8ghl47rKOiRdfxvY0SLpkVHlRCW3tbM40wOOZjw48zQ+e0h7sQb6I7ii12EOrtrpWc1zmPpvcSa0gTHJt9uLfE/ofu+aXF0Yju4= Received: from CY4PR11MB1830.namprd11.prod.outlook.com (2603:10b6:903:125::21) by CY4PR11MB0072.namprd11.prod.outlook.com (2603:10b6:910:76::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.24; Mon, 31 Aug 2020 11:50:39 +0000 Received: from CY4PR11MB1830.namprd11.prod.outlook.com ([fe80::20a7:37c7:9ba7:94d]) by CY4PR11MB1830.namprd11.prod.outlook.com ([fe80::20a7:37c7:9ba7:94d%12]) with mapi id 15.20.3326.025; Mon, 31 Aug 2020 11:50:38 +0000 From: "Kusztal, ArkadiuszX" To: Akhil Goyal , Thomas Monjalon CC: "dev@dpdk.org" , "Trahe, Fiona" , "techboard@dpdk.org" , Anoob Joseph , "Somalapuram, Amaranath" , Ankur Dwivedi , "ruifeng.wang@arm.com" , "De Lara Guarch, Pablo" , Nagadheeraj Rottela Thread-Topic: [PATCH v3 0/5] app: add multi process crypto application Thread-Index: AQHWWr/CNN5gnSyFRU+3Y4iibD+WIakI9UcAgAAMzgCAAAOzAIAAC62AgAACcICASUv3UA== Date: Mon, 31 Aug 2020 11:50:38 +0000 Message-ID: References: <20200715155043.12476-1-arkadiuszx.kusztal@intel.com> <2505982.uU9X1ItemK@thomas> <6538553.9OgRhud1Dp@thomas> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmRjMTQ2OGEtNDA4Yi00YjYxLWI4NjktMzk0NzJkMzIzZWIzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQmYyd1o3M1I1dks4NlZOck5hcXk2VFZRVTF5aVJrREtLRnc3N1N2eWpVV3VDZWZjcTA4QnJGUGNoTHR5ajdKdyJ9 authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.43] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2bf750b7-79da-41ee-514d-08d84da414aa x-ms-traffictypediagnostic: CY4PR11MB0072: 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: QtxJNxuUkKJz8GXP19NCzyhiohc0bWgVw76Z51qt4zrRa2kr3s0yUldKrXd2YPlvka4d1G4Hl027cMZL+HfMEwok+nJJ21HQ7+YA5vnW3vu6JMjlwaggfr4fYCxszyUPI9Hch1SGmEQXqQS16+1F0ADf8zdGMPt5TNviESVXwXb36FjdCzMnkUA8EVVZjGH/uzATZ50RV4cM8q4/9GkIxeW5rXi14f4MIHSP/avKKzxgDlns5C3XSweq5QiMsqeVBcxOIP4bSfGgfSroFhWIMbaHDA2UwWzme5qHXcNZ4yUJG8cKn/61qAuJNl9Biomfok7YbmPVJEi5Uiu5yZo9gw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB1830.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(376002)(396003)(39860400002)(346002)(52536014)(83380400001)(4326008)(86362001)(5660300002)(66946007)(76116006)(71200400001)(66476007)(66556008)(64756008)(66446008)(33656002)(53546011)(6506007)(316002)(9686003)(54906003)(478600001)(7696005)(186003)(2906002)(8676002)(26005)(8936002)(55016002)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: RGOCAJ3RdBUjMdudhsPcylNysK7SGO6QGZHVygdm0YRXjzkdDneHndO3/JelHsaaHzi8VfoY/fnLZgYkGMpWGJ+rfneX+lAPtMA95tvvJS8zxxhBTC5Koowp74CumVnlMBWsRWRVHdUTaeONWqMEAdLJES6cO/eAcO5LDkAHiM2H0UebzzH/J5m/Z4G1iOeLZeWtYxuBg7ZGdR1RtYFU4CypzTU1ND/hQDqnmejq/kUZrf6HHE+pSpFIxE6wWbP36TP79kZ/zqcRW872iQz56SdK0CtPJq3rw1uGt42bPTGt2MePRyFSwspEVa+ExAE0RB6U+77Fp31h4/md9VanJV+Kct51DuvV/SWyAXSKb5SXXU6ePi01vvyf7jSljKNNij8r6b4AJIg8w1ZicjO81y2IstbW1s3PufGjIW3Zg2QkGo+yD7zNnng8sFV79QSBuHaBxSN/iGh5HEDxRFUPtTqA3h4/A7ytH4J8DVpnm2LjXpBrkbumWtii+T2Ko5wDwRwO3GgL82spI9FNtepY24H2thw70fObgSfspEerWMmjX4CFD57HcUqmvNaIJw7laP3Yz5V2u634hKPujjRe0g9/6CT2bu9SCz05kLE1QmNs4ZbFavqfDorXL1SRnptu3WbRkbKFrmvi1CGfx4BF4A== Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1830.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2bf750b7-79da-41ee-514d-08d84da414aa X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2020 11:50:38.8677 (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: rIAe9mwhDOyIHYTAEqcVMCcuf52QnwfUh3tLTKaxlbgn2QgWp3wpp+gK+j1tKPZ7XDgVYz3rTYUZtjzjBao2kYd+/w0wM5hZeNmt+4P6ZNU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB0072 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 0/5] app: add multi process crypto application 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: Akhil Goyal > Sent: =B6roda, 15 lipca 2020 22:16 > To: Thomas Monjalon ; Kusztal, ArkadiuszX > > Cc: dev@dpdk.org; Trahe, Fiona ; > techboard@dpdk.org; Anoob Joseph ; Somalapuram, > Amaranath ; Ankur Dwivedi > ; ruifeng.wang@arm.com; De Lara Guarch, Pablo > ; Nagadheeraj Rottela > > Subject: RE: [PATCH v3 0/5] app: add multi process crypto application >=20 > > > I see this application as a useful tool to test the readiness of a > > > driver to be > > used > > > in a multi process environment. If app is not a correct place to > > > host it, should it > > be > > > added in examples/multi_process/. I also suggested that in v2 but it > > > makes > > more > > > sense in app as it is a unit test application which does not have > > > any relevance > > as > > > standalone application as crypto may not be used standalone without > > > ethernet for multi process scenario. > > > My first preference was to modify l2fwd-crypto to be used as a multi > > > process > > proof > > > Application but it also make sense to have a unit test application > > > to verify > > standalone > > > crypto PMDs. > > > Open for comments from other crypto PMD owners. > > > > I agree it looks like unit tests. > > Can it be added to app/test/test_cryptodev* ? > > >=20 > Running two instances of test application will be a challenge I guess. > If it can be done, I think all the cases covered in test app other than c= rypto > would be affected/tested. >=20 > Test-crypto-perf can be a better option but it may defeat the purpose of = test- > crypto-perf. > Best would be to make l2fwd-crypto compliant with multi process. > But still I am ok to have a unit test application. [Arek] - Having this as a test would be much more handy as it does not need= any additional infrastructure like traffic generators. Just only crypto ac= celerator and can work out of the box. Just thinking primary-secondary testing was not getting enough attention by= now, for example: Until patch bus/pci: fix UIO resource access from secondary process Apr 24= 2020 dev->mem_resource[i].addr was not set -> so basically configuration from se= condary was rather difficult without PCI BAR address.=20 Plus having option to test queue pairs configured in different processes or= checking enqueue/dequeue from different processes to one queue pair would = be handy even for regression testing. >=20 >=20