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 92439A0C47; Thu, 2 Sep 2021 11:12:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1978F40041; Thu, 2 Sep 2021 11:12:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 741EB4003C for ; Thu, 2 Sep 2021 11:12:50 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18281Atr011500 for ; Thu, 2 Sep 2021 02:12:49 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2109.outbound.protection.outlook.com [104.47.55.109]) by mx0b-0016f401.pphosted.com with ESMTP id 3attqmg82q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 02 Sep 2021 02:12:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OqzkjotkzZV83tzz0sdXBiTgFWTUcsG4NwSppzmNDKCH22QmqszcDfYzdOhCgYlDeVDK07/LFRgRwS9GImXKQROR+EDWbqMDSsUl+nbwv0cuDWHoFSMSBd5tPgo2M5g6X89X2jcsp97/C7Gny3W3Rlt7lcGww8SKoWafcOLhquIZ2sKl/qPKrbXS4ZAWsdqtTNXeQ006u3pP+xqAjBlJvpBx+NU1ov87DmN1VG4Gv31tulA7bk/fviXSuw6jpBA9rWzoq6hMKrmglF47X9EbRBlAjKOB1iNNJQNDF6KP4l5p22jxdDqTvbXuU78PwVg6YyL1ctoJ+QGkn/afnJak/g== 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; bh=yChTgsMbmyFu6mPPtBUQGyfmtrVkEdeF4w4QOT9UKXE=; b=R4AhhkAKRwcUbe2+0Q8t8w8uSWdcUEfRo9noWmGcFPnA2mTozbGnVswbdk7ALd2eiJHw9mAChpcnI5zyPN8A18J7xt4ilgh+ldBDVA49ADLlYwCtXbeC7kDd3pYjZz/mQ2MwDD87jzj1igV8LyJEt5Bqn/r/f5vmgDTpn5xxiPohI5uCxubLap02iZQw6dNHHpr3XrzZ4gNQKJMyn5ngtHinqLBi5Xacfx/x4fmTxEt3iLW3oEfo2rRga1weDKCz9vmOzG2rThyHm2+pFeAjCOYZslkup/LO0EQXsw0E8meIoTuCpPsfKZKiD/av6YWUpFUEeDRc4lvUbvS2icgHDw== 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=yChTgsMbmyFu6mPPtBUQGyfmtrVkEdeF4w4QOT9UKXE=; b=eKbeuD/tW8ixjXJLmHmAHy9zxX6mtxYIq5Bn462/HXfGjrfdGWxMXXBMY6ceI8Mv17DW0BPwi5aF9eglG2vTkvmtV4msw3LrXhVi4D1mbWTGO8ZCNNaE61Qrl5SIAt0BzVd6ZG9iYCLwM6uekSDlH3bEpLVEd2ww1GKVcyYQlyM= Received: from PH0PR18MB4491.namprd18.prod.outlook.com (2603:10b6:510:e6::13) by PH0PR18MB4492.namprd18.prod.outlook.com (2603:10b6:510:ed::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Thu, 2 Sep 2021 09:12:47 +0000 Received: from PH0PR18MB4491.namprd18.prod.outlook.com ([fe80::5511:79c8:c025:a250]) by PH0PR18MB4491.namprd18.prod.outlook.com ([fe80::5511:79c8:c025:a250%7]) with mapi id 15.20.4478.020; Thu, 2 Sep 2021 09:12:47 +0000 From: Akhil Goyal To: Tejasree Kondoj CC: Tejasree Kondoj , Anoob Joseph , Ankur Dwivedi , Archana Muniganti , Srujana Challa , Nithin Kumar Dabilpuram , Jerin Jacob Kollanukkaran , "dev@dpdk.org" Thread-Topic: [PATCH v2 0/8] add lookaside IPsec additional features Thread-Index: AQHXnxNPXLrfUcyeiEuegZoONkQD9quQdvVg Date: Thu, 2 Sep 2021 09:12:47 +0000 Message-ID: References: <20210901101930.29333-1-ktejasree@marvell.com> In-Reply-To: <20210901101930.29333-1-ktejasree@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 25df0c53-81e4-4657-3137-08d96df1d4d4 x-ms-traffictypediagnostic: PH0PR18MB4492: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8QQucFupwgEHpVb78FgJZ3+JK5+HSojkvT53F9MTRy2xRpx0x+BVuWfMxcs+axwKXJwhVS0pVdTrYx72vJmknfkbQ0szdf116yGHU3xqPNMp/aZ2GjjMQXjxQZno+hvO2RXHl1b2ZylVWa61GFYv+dOs8CJb9ImV4GBUF8I0MSh5OlaA3q1H9oIyZEZypzk6wzorQFZOq5JzNQdi2DalO0NVULn2SBa42RZ6h9wMgc6U7qtfvAnx6/xgGoOcbvuRkOyl5ZOaNKHR5r9Dm2xKs+eWggqvLUy0xAOl1rQDLqzoZj6zRRy/ejxZ3+acN5hYwTxFVdM4CcVYmn787Z5A4Y1MqGKGOAqhALzsyMH/D+7CsbcNqrI1XKd9BO9oPngj++ha88b2qDRUadyER5a63RdH7jC0YlFHwTSq1ii5dyFJmQrWrVDhNUP8ktTdzCnr8drs0TQB+DuTnouBF/fcl0Mbr1pdPe108fzEvDbbGwxB8mVXJbzWun1RODnvVoEXoGE3Jdc5ggs2jlG8E1aJWgpPf31XZQgkxf76dwU7x3zhvNbrZDa8ILIdJXg7PUgI5KGZT3ziDHAV4z6hBf0kwr1opxTpIJ+UXsyIQ/TezrAL1GLnHez/GzO9lpsKG1pzkPEghFBF/ATs+7HVYqWyzsTnMyFIfdcjr2lOXdHOi037q88jlm8BIDindsoJjrkyRuVA9gZ3g+7+nZBt3UfKjw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4491.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(39860400002)(366004)(136003)(2906002)(86362001)(33656002)(55016002)(6636002)(9686003)(71200400001)(6506007)(8936002)(55236004)(8676002)(186003)(7696005)(26005)(54906003)(478600001)(316002)(66476007)(66556008)(64756008)(66446008)(52536014)(4326008)(6862004)(5660300002)(66946007)(83380400001)(76116006)(122000001)(38070700005)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hNKNcy/Fd/xvOt9SddghbeWfUoA5IWshn0FyH3xWbScCKRp+p3KtuaGYa6zz?= =?us-ascii?Q?Hq2TQRUZUEY94ao0KP9myksjz33D4aWHlcHjuTJD98AetbZAwaMkAr2Y+JoF?= =?us-ascii?Q?ft1QQMYhjXpmKJt69aJ1gAbn+kAKymawe4lmSrpGcNz62CPkvPxK9KZeEMla?= =?us-ascii?Q?4BV9aEASUugJZi2lrWXP0btvgl2EExs+9ELzrW6zZG4KFILd/5FxzjOzTtBc?= =?us-ascii?Q?WkO7jMG0BdXY9fM47LQKSof4ooE448AwiLLX4dTY9nRY/0egn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GeAnG5NUeOQnPzMitijJEKfMRNte7/S?= =?us-ascii?Q?Vz+sMNs7QNE0/EnDhu7ZK3jtB9hVohKBlQrp4qB7XFPt9GxJV7iyNEx/duRt?= =?us-ascii?Q?Hui9g/NkJ8N96X23pfngRUkcpV1gTq/oX4CVPMesPJqxU0UjMetbMYicsL2O?= =?us-ascii?Q?I9F6cDtRHgt8R4Bs3r+0VwnQ?= 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: PH0PR18MB4491.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25df0c53-81e4-4657-3137-08d96df1d4d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2021 09:12:47.3722 (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: GVCbN4rO+PnvkSsSlyip6O8XzQq1JA3+/DYrMO/x7mhmYxPFV3Xuw+BsJOqvcNZjRYDsYLUkya1H1ZcGNAMMYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4492 X-Proofpoint-GUID: oYOKTCFf5QoK1RJEjqNBBIIXWhhvoITv X-Proofpoint-ORIG-GUID: oYOKTCFf5QoK1RJEjqNBBIIXWhhvoITv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-02_03,2021-09-01_01,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH v2 0/8] add lookaside IPsec additional features 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" > This series adds cn10k lookaside IPsec AES-CBC-HMAC-SHA1, UDP > encapsulation > and transport mode support along with common cnxk pmd changes. > The functionality has been tested with ipsec-secgw application running in > lookaside protocol offload mode. >=20 > v2: > * Fixed release notes >=20 > Archana Muniganti (2): > crypto/cnxk: make IPsec verify functions common > common/cnxk: make IPsec defines common >=20 > Tejasree Kondoj (6): > common/cnxk: add hash generation APIs > crypto/cnxk: add lookaside IPsec AES-CBC-HMAC-SHA1 support > crypto/cnxk: remove redundant code > crypto/cnxk: use rlen from CPT result with lookaside > crypto/cnxk: support cn10k transport mode > crypto/cnxk: support UDP encap with lookaside IPsec >=20 > doc/guides/cryptodevs/cnxk.rst | 3 + > doc/guides/rel_notes/release_21_11.rst | 6 + > drivers/common/cnxk/cnxk_security.c | 92 +++++- > drivers/common/cnxk/meson.build | 1 + > drivers/common/cnxk/roc_api.h | 4 + > drivers/common/cnxk/roc_hash.c | 275 ++++++++++++++++++ > drivers/common/cnxk/roc_hash.h | 16 + > drivers/common/cnxk/roc_ie.h | 33 ++- > drivers/common/cnxk/roc_ie_on.h | 26 -- > drivers/common/cnxk/roc_ie_ot.h | 26 -- > drivers/common/cnxk/version.map | 3 + > drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 44 +-- > drivers/crypto/cnxk/cn10k_ipsec.c | 64 +--- > drivers/crypto/cnxk/cn10k_ipsec.h | 6 +- > drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 28 +- > drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- > .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 79 ++++- > drivers/crypto/cnxk/cnxk_ipsec.h | 114 ++++++++ > 18 files changed, 620 insertions(+), 202 deletions(-) > create mode 100644 drivers/common/cnxk/roc_hash.c > create mode 100644 drivers/common/cnxk/roc_hash.h >=20 Series Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.