From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 237B3A0C49; Wed, 16 Jun 2021 22:21:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 983CB40683; Wed, 16 Jun 2021 22:21:14 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1F9114067A for ; Wed, 16 Jun 2021 22:21:13 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15GKAXsO023751; Wed, 16 Jun 2021 13:21:12 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2176.outbound.protection.outlook.com [104.47.59.176]) by mx0b-0016f401.pphosted.com with ESMTP id 396tah0a0k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Jun 2021 13:21:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ODHMJ2FANtkiT31NPqUK6OzprIn/IE+0Z3I/yyM19T6IOUaisTeeufCXL2ArHe0lG6wOfsuvZuMRQjiuGZpklw6H79IyAEjZbR78iarHLArLj9zGXpJTcJfYE1Rq5S1OUBbSXmW4XOMnw4a73ZRU+ZoG4suXV8xGzFlmId+0dl8fvckcbAfwPDwso+S3Uj6NZpjvUHPw/mDsDcbhr7Wnx1weNZejsugPqRI8Eadw56UnltH+r0jtXBA+e5IBH7dpvrFs4xZPw3lQoH0cRsjua5t+/Xz7SNc47YGhA38tx53tfzwgJMVZ1uR1D13zK7FEZc/DHmOtMCIxFqHKuKQdGA== 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=rg8RzRJKyDzHvU2z93pd31Bm/HrxX32fJWBEKx17r6c=; b=e+JhDqncXUj4G9xYLFOnCW6KWJnYUD9Htlc/a/HWvPOMihhRpIQydM7cUR6qv9p/8z9YLIVEUqXlpI4sW9/NK8pqooWE2KmJPbqJvSEatqxWVN6SzFrfevHwxJK1Df/4Dtfjy2LAmXRDPf2OCP9JLFdHEYeDZDOx4CMl/XLeQaAKzpcoe83aZI2zXxx0kGcFdd16nY5YP4D1hl5K7D8Yi0xQbRuVr0QISCv7InRBgRjgKeSf1h2yIZRDSpw9ao0+1dyoSPOYsw/FaFor4Ijd9yciNs7HryWjP3CmRqxusgfjB5rlQ1zCo94GdQ4u9NJnduZw2yPd9Er+oXhJwThIVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rg8RzRJKyDzHvU2z93pd31Bm/HrxX32fJWBEKx17r6c=; b=sy52FTi0maQs5j56qyEMKIuENnQDzdvDcT/L9gpICILRAx/+0o58pBKYP3/kM6nRCTYXacNkd35NQO2dVwGS+KIstkkeaUc9u67veWEcTie2Z5Olj0JRcXVIXDU59vndGK/scLE4L59zk0KcsynOflYXK7KKQLvHYHZfAild4Kg= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4513.namprd18.prod.outlook.com (2603:10b6:5:35b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.22; Wed, 16 Jun 2021 20:21:10 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7d67:6d21:1714:c816]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7d67:6d21:1714:c816%2]) with mapi id 15.20.4219.026; Wed, 16 Jun 2021 20:21:10 +0000 From: Akhil Goyal To: Anoob Joseph , Thomas Monjalon CC: Kiran Kumar Kokkilagadda , Jerin Jacob Kollanukkaran , Ankur Dwivedi , Tejasree Kondoj , "dev@dpdk.org" Thread-Topic: [PATCH 1/3] crypto/cnxk: add asymmetric session ops Thread-Index: AQHXV9dJrM5N1SDbgUSsPwyKpauwWKsXKbhA Date: Wed, 16 Jun 2021 20:21:10 +0000 Message-ID: References: <1622655994-24480-1-git-send-email-anoobj@marvell.com> <1622655994-24480-2-git-send-email-anoobj@marvell.com> In-Reply-To: <1622655994-24480-2-git-send-email-anoobj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.162.4.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1f54fa95-d59f-4ca0-8207-08d931044814 x-ms-traffictypediagnostic: CO6PR18MB4513: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WZjWayerEFz4cL8PiQB3OT0PT8tH8OYbTVBXwPTzax1/62IM6Dr2DscD03wGCqlasnrV+wRe8yq95AWGVrmnD3zUJ9CcKarqJy0+k6GzDymI7XbYzW/jHr3P5JzYIc/Xrax5F2DdZMxDVYvlXrxj0+L32iXYJmWVPGOtcbwKcrhxIEJfraDnKhsxaEAHe4qTipF92WNeXLZx6xjNMjAKwaO79IOorStHNCgBn2R0BffCoQ3IRf+IQzMC5wWr+LcmRDq2l3ByelocgTcMTQ3qtWyzypxtm2RrSXiy66E/qel46rePLd+4Y5GFTgolCWvuew4t2ZOEM+gRUM90E6S+YtVFFMku6ZR8skMLJkHjjN9kG9D6pfKPCl5xFI6YvcQNFk/rFgOMepSSSVkKXPL8BlXVpp6TR658qwzd5iAkB17UjzL5hGcPjG40GYDHmB0Oz4IqSypgfJ0CYDfKcAoldHm8FBoaWj4hjX4zEL/miFo4xvYqLoeN4UCh6R7RpRLV/yBEMLrHwLJ2fU+i6gYS7YvyBKWLesaROpkLwMFS/kJQNVLCwUnjVsUOyjFSGj/CThfjIA5+7fkDhZbSecAFQ+PSnK6rFEs0pdJmZkMTSA4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(39860400002)(396003)(346002)(376002)(2906002)(86362001)(52536014)(64756008)(7696005)(83380400001)(26005)(5660300002)(66946007)(122000001)(66446008)(66476007)(66556008)(316002)(9686003)(8936002)(55016002)(38100700002)(110136005)(54906003)(76116006)(4326008)(478600001)(8676002)(71200400001)(6506007)(186003)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?MzV5lcCKwDVN0Rlg1Q49MDTYLKG0vcJcPY/UCwS7WUqLPYtQXeLaUfBhUEFM?= =?us-ascii?Q?cqVYi3Huw14v3CVcspXYcTcqG/UA4z+hv5uqUhF5OWaP0UCgwfewZZ8awAwe?= =?us-ascii?Q?rc/twiNjZGBXeONee8CflVpAkNka0vjHpjBAIbX0dXlZX5Y9xB167RrZaA0A?= =?us-ascii?Q?kTPnKbyHTBkBU7+DVl779pAoG5C8ihX6gR8X05QJ1dUiBOOFYCZgtxm1JwrN?= =?us-ascii?Q?82Gp1X5d1UwLu6lQHvsXDgRtInaTuhgi14unzVRHRX31hCQKsYFrq0M7DTeU?= =?us-ascii?Q?/5dU2snD60XF62Zc8kw5WC/lVvZ7lNq4xI0BiRdTe1/unjc2V40flYKpZjSs?= =?us-ascii?Q?bHUddxkintcAEkcUOzGIFJnvPHJlERDiJniyV0PH1a3g2wxMs5lv922CjJXi?= =?us-ascii?Q?BxYH3HLLypkpBTElIPPjdipVZq0xY2lxLzaXC/cxasqjoE5nLo5VXBPRN9Wh?= =?us-ascii?Q?njElMmhiPKoyRN2bGFIar2HGRKYUWduqsPauYjMbALmGcKb/czH6syAjIMyA?= =?us-ascii?Q?vMqsdn9obv8PlfnsUy2RH3iGnwmAvaGMajViHPt9s9l8Nrr2XtZlm8/ePhVK?= =?us-ascii?Q?xwK3dAtpH/R2twcgfBai71HUW/GMRFxEbpvagsV+M+EJUJWvPiSVKAW3vDnU?= =?us-ascii?Q?tCqwiS5m9UjKTSS5Set9+4veHZ3zYnjg2Tbx+laOw5Ss6GvzY6eQFpVqjvx2?= =?us-ascii?Q?2scwOomJhFPmUZkgM3XdpERvI0lfuYpQuzCgsJ3a/NOXaoDzaXMniRIlFe7k?= =?us-ascii?Q?u6ddKoOjBy/B66nNRRD/HCFu2uCcNsi2K0IeZc3U5nMLdshohCwxLfhxqnXH?= =?us-ascii?Q?U2amlaNaFAgu+DyUO7+GJF9+OWhEJdqwICKruyPZo/phdBTTFw8dMylqrtMA?= =?us-ascii?Q?mbETdA+gfmUBexVpcJlSIHD2ll9iaXIo460AKml0C0eQJPAwSfRFMNm3lvqf?= =?us-ascii?Q?jMusacslVDMFt/GVeh2wpEfguJBL+Kf8bQlstsP3U5X+pc0rxHNurZNbmFp+?= =?us-ascii?Q?rn5YHqi+SVv48pFjbje6pRR80yf+5RDelSlktllrkaquXUiI/ALcc+6TLv6/?= =?us-ascii?Q?KfQk0+P9TFXW2jfeMznhCMD6M9Nw91CmcJ56y854P+hmZx+v5RSxVYjjCaEH?= =?us-ascii?Q?wyPfsXMIAyyUK0pc5/NToIinngwNOyi+HpZWFi+tRdrcwVkhS6hhLnKNQxDN?= =?us-ascii?Q?91GheZVffn9XJu004dYnM2Dz50vhbpXXymvSza6PtIv0Ts3WEL7SmSMv6/Bn?= =?us-ascii?Q?rdu9d/tKrdneXgxNNtPp2TNPI/8ImUhp2sAfLrxNkLeZSBUFGQ2nrb3Ldngc?= =?us-ascii?Q?yff8+3VwUrrcIr+kl8KlknRq?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f54fa95-d59f-4ca0-8207-08d931044814 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2021 20:21:10.6210 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /q0SfOrDVcgmiJOiQwnie9YbrMEuGQ8xWFYCYWPQ4K/t4p7sFoYYF5ubie9ownxrxtMox3OTmX4eRbMsJOE9Tg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4513 X-Proofpoint-ORIG-GUID: K0d7KfbFU3o_XJWYAE53oDsyV0iRKe-q X-Proofpoint-GUID: K0d7KfbFU3o_XJWYAE53oDsyV0iRKe-q X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-06-16_13:2021-06-15, 2021-06-16 signatures=0 Subject: Re: [dpdk-dev] [PATCH 1/3] crypto/cnxk: add asymmetric session ops X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > From: Kiran Kumar K >=20 > Adding asymmetric crypto session ops. >=20 > Signed-off-by: Kiran Kumar K > --- > drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + > drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +- > drivers/crypto/cnxk/cn9k_cryptodev.c | 4 +- > drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 6 +- > drivers/crypto/cnxk/cnxk_ae.h | 210 > ++++++++++++++++++++++++++++++ > drivers/crypto/cnxk/cnxk_cpt_ops_helper.c | 14 ++ > drivers/crypto/cnxk/cnxk_cpt_ops_helper.h | 4 + > drivers/crypto/cnxk/cnxk_cryptodev.h | 3 +- > drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 75 +++++++++++ > drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 8 ++ > 10 files changed, 324 insertions(+), 8 deletions(-) > create mode 100644 drivers/crypto/cnxk/cnxk_ae.h >=20 > diff --git a/drivers/crypto/cnxk/cn10k_cryptodev.c > b/drivers/crypto/cnxk/cn10k_cryptodev.c > index 9517e62..84a1a3a 100644 > --- a/drivers/crypto/cnxk/cn10k_cryptodev.c > +++ b/drivers/crypto/cnxk/cn10k_cryptodev.c > @@ -87,7 +87,9 @@ cn10k_cpt_pci_probe(struct rte_pci_driver *pci_drv > __rte_unused, > cnxk_cpt_caps_populate(vf); >=20 > dev->feature_flags =3D RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO | > + RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO | > RTE_CRYPTODEV_FF_HW_ACCELERATED | > + RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT | > RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING > | > RTE_CRYPTODEV_FF_IN_PLACE_SGL | > RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT | Same comment as in the ipsec series. Documentation update Move above change and .ini file update in patch 2/3 Release notes update.