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 AA8D2A046B for ; Tue, 25 Jun 2019 14:42:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 81CAF1BA92; Tue, 25 Jun 2019 14:42:42 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70043.outbound.protection.outlook.com [40.107.7.43]) by dpdk.org (Postfix) with ESMTP id C37F61BA85 for ; Tue, 25 Jun 2019 14:42:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sGimprZDmX2/U/nt4I6gBovwMsPgjYp5RG8vbUFGAqA=; b=JgIsHNM0gt6yEjZz9sdO1p+h2D0Zyjt2klyP5WTT1sg6hR0kNzUuPIolRURO+0Uu+UzUYy9QNfcd035oAsZwohIJbRjhknDCGc56sJedWEEnMTBQ2HqAo/EUvzTxltJHiXdzHFxmVoz4g3sy3+Zs+4F9zfH1ZqD9aPi2+NHOjf0= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (20.179.235.82) by VE1PR04MB6526.eurprd04.prod.outlook.com (20.179.233.223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Tue, 25 Jun 2019 12:42:40 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::a929:3d03:7bb7:d5e0]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::a929:3d03:7bb7:d5e0%7]) with mapi id 15.20.2008.014; Tue, 25 Jun 2019 12:42:40 +0000 From: Akhil Goyal To: Akhil Goyal , Anoob Joseph , Declan Doherty , Pablo de Lara CC: Abhinandan Gujjar , Maxime Coquelin , Tiwei Bie , Zhihong Wang , Konstantin Ananyev , Marko Kovacevic , Cristian Dumitrescu , Radu Nicolau , Fiona Trahe , Jerin Jacob , Narayana Prasad , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] cryptodev: add ff_disable field in cryptodev config Thread-Index: AQHVK1N55sLrS2Yx1UOg9kkPD3QX5A== Date: Tue, 25 Jun 2019 12:42:39 +0000 Message-ID: References: <1559575528-5363-1-git-send-email-anoobj@marvell.com> <1561441164-11958-1-git-send-email-anoobj@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c4d705ca-6866-475b-e04e-08d6f96a9c32 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6526; x-ms-traffictypediagnostic: VE1PR04MB6526: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0079056367 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(376002)(366004)(136003)(396003)(199004)(189003)(2940100002)(52536014)(316002)(6506007)(81166006)(8936002)(6246003)(81156014)(5660300002)(76176011)(99286004)(110136005)(2906002)(53936002)(7416002)(14454004)(11346002)(229853002)(6116002)(3846002)(66556008)(66446008)(73956011)(64756008)(66946007)(33656002)(54906003)(66066001)(6436002)(9686003)(44832011)(446003)(55016002)(74316002)(86362001)(66476007)(76116006)(71190400001)(7696005)(71200400001)(68736007)(25786009)(478600001)(7736002)(4326008)(26005)(102836004)(14444005)(305945005)(256004)(486006)(476003)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6526; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: yYeqxjHV0YR4WVAYjFcif/9jR3+HuZxnwh+FUchjX8Q7iBRPX8ZuQp/IOiHYFs/PZRlWYLrdbK+wEW1ksJfKc+iTBq3OPbdO0wwaka28Sv7eskUGpeEmgCGLOYBny5n5IHNAAVoqSLgt8prOYbL9IqUOUsfzQCP2+txm+XnxhmQGFk1mg3cT4zrjS+lRUwXcoV/bgevL7xqJShM7RtruoROlVLUeSJLuGGwgAoP4NOETJuPkQOPyQsf5FgZYhceTVH5jEP2Fa5Hs2Lv+cAD5tCDYXf88VdKc1LMyt/cqTxrqhxQE5Z8CwdycEag0rG9SYwwMkGXQdlDClPGPTavIv0yP/+QgRouEDNyZ7eRuePnsJB7Y/O2yRChTojzEKw6x7kvA7geVdpAdgF2wFJ9sI9npIvJViD3UfnW0YUU6qhM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4d705ca-6866-475b-e04e-08d6f96a9c32 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2019 12:42:40.0424 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: akhil.goyal@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6526 Subject: Re: [dpdk-dev] [PATCH v2] cryptodev: add ff_disable field in cryptodev config 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" >=20 > > > > Adding a new field, ff_disable, to allow applications to control the > > features enabled on the crypto device. This would allow for efficient > > usage of HW/SW offloads. > > > > Signed-off-by: Anoob Joseph > > --- > > v2: > > * Updated test & example applications to incorporate the default settin= g > > for ff_disable field. Disabling SECURITY offload for cases where only > > crypto is applicable & asymmetric crypto in case of ipsec etc. > > > > app/test-crypto-perf/main.c | 3 ++- > > app/test/test_cryptodev.c | 2 ++ > > app/test/test_event_crypto_adapter.c | 1 + > > app/test/test_ipsec.c | 1 + > > doc/guides/rel_notes/deprecation.rst | 14 -------------- > > doc/guides/rel_notes/release_19_08.rst | 11 ++++++++++- > > examples/fips_validation/fips_dev_self_test.c | 6 +++++- > > examples/fips_validation/main.c | 2 +- > > examples/ip_pipeline/cryptodev.c | 1 + > > examples/ipsec-secgw/ipsec-secgw.c | 1 + > > examples/l2fwd-crypto/main.c | 1 + > > examples/vhost_crypto/main.c | 1 + > > lib/librte_cryptodev/Makefile | 2 +- > > lib/librte_cryptodev/meson.build | 2 +- > > lib/librte_cryptodev/rte_cryptodev.h | 7 +++++++ > > 15 files changed, 35 insertions(+), 20 deletions(-) > > > Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.