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 A2FC2A0C54; Fri, 3 Sep 2021 17:04:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C4BE410D7; Fri, 3 Sep 2021 17:04:42 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1E9DB40E78 for ; Fri, 3 Sep 2021 17:04:41 +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 1837tLxq012010 for ; Fri, 3 Sep 2021 08:04:40 -0700 Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2045.outbound.protection.outlook.com [104.47.73.45]) by mx0b-0016f401.pphosted.com with ESMTP id 3aufr89fq4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 03 Sep 2021 08:04:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NtjlSJBv1tQn7emBo2MAq5pQekX7eA6Rr81Y8o2mjKXXXs8LSXFEiA9A6NUu5DTNY/8CikpdLPKa+blZK+2NF9rWhdzXSpLoUAi+Q50SFIcZo9jJNcRKLfVER/uSPuH1Wgl2d24/Ax2bp6q5LSerORl5z7Ti4VKjKh48ujcsCwcUnktut8GYYzLqV8wc5dNUH8w7OICnE6x2OggiDgHmsTSu0hP09lA0pJAJwR+IVE4hhRdkJVRlZ2bdUmioLH5UrUeMNevfhKXuLTM0LklWyBCZDBm/T36NvGpasv+PVZcoL8mXNqzUJ5u8yLAZFCfBWhJxWNb8jsxTturAYJ1Vew== 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=6uofT07ghMW1fhFG9sMyoX6gAqJPY9E0rvesssf3R4M=; b=oSrW59Vnl2hrNVyUIKJ172RkVp0H1eMCo/0F2+ptJvKPEpAYRLAQ+BQxxJ3txGwTd3BXeRPpe44FEpjoqCElEXGPNQ+iNgxBlmojD8yDqpZw/QXMsr7yoyH1UbXpqVMsTxcq0nt8palq5knJx9Q1MDPGkss95rN1SjZ/mDm1qqoHR9ydll9o8kR83hkHJ2YI3wv5xi/05fV6PpgafoLIa71wib2+N4QsYsyr6kFXjsJirrVjKzSsyqY4X5DINHfDgnmjVAIGjhjBny9aYCRrbnaIT5WM7FBoNtmz+GOeHbFU3+mn4VpLvN3w92/UuTfk/ZY2DX+xbGhvGQjyu1mJoQ== 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=6uofT07ghMW1fhFG9sMyoX6gAqJPY9E0rvesssf3R4M=; b=odIgpneMJa4qO/ZT391Gk38+eS+id0N77p8+QfR+9PQD4Q87QXPNKnxp4NHENiqUXEwa2Tj2Qe0Py1JDh/Bok0ZM8M6C8iwx1NQf25VbcZsNt+Ur4wwxJsRuosnZzQ8MbpypfiWF9E9VThm+5TMNJtiZoGr3Sxt8TC0IffaDADw= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4714.namprd18.prod.outlook.com (2603:10b6:303:e9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Fri, 3 Sep 2021 15:04:33 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29%3]) with mapi id 15.20.4478.024; Fri, 3 Sep 2021 15:04:33 +0000 From: Akhil Goyal To: Shijith Thotton , "dev@dpdk.org" CC: Shijith Thotton , Jerin Jacob Kollanukkaran , Nithin Kumar Dabilpuram , Anoob Joseph , Pavan Nikhilesh Bhagavatula Thread-Topic: [PATCH v3 0/8] Crypto adapter support for Marvell CNXK driver Thread-Index: AQHXoAi3vF1aiRv6lUCCpVx6Rk8MNauSaaSQ Date: Fri, 3 Sep 2021 15:04:33 +0000 Message-ID: References: In-Reply-To: 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: 10804003-1256-4ac0-f04d-08d96eec234a x-ms-traffictypediagnostic: CO1PR18MB4714: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kdJCr96HWjYyP8EE6nwHZuboz8IwzwNawymajOwwfUFAaOv8xtwPniAKWW3ZYylvni01fHUAMRo0+IEQzgVifg2dlfS0AlRhynKZ11ceC37dzbynYwZviV+67yaQ8THjVV9P42w3DQAvExPRw2IHsDyUL+0uR1QW737w9ivtEWN/+SCUX8eJ103tBw9cG+yHTYUc47t38u9f5nAhNEx3zrKfTPC4eEovDXz+/zXDAFBfAS9uudRjpbZkE3Uz3MWz6TP8ElCSKiktIDd5DH/GfTgJZXMk+XvbnHaj0ke5wXiILo0Ae8DnMrTINE7W4vszAN8y0CLYRRXaEAhiesCX3xo3NiMF9ppBy33Kk/ROQrFbLTzJqkA61wO0iDflRKhfLRnvx2JpXEIpd8vn1AqDvckify9SWGg2Lyvfnmtq/Owk8X1duAgXaD09MM500u86cxKixjg7glfphAypbOeeogUTXm/HZRxcw30bx4vqhYzw5bcJ2DWmKxM1++N94E8sSuKoEMq6lYYPchylooXK6WzycZBGrDuqzFtL6XLLUO/9/N3CR5mUg+RUXnX7FpgrgGWnEU58ZYA6UmD8QziCnIOg6fqBEbryBLgrP+GzX4ze1wvdVHeYuLVPsDoymDxaELJA8zHmqlp8dXjHwzyzyRRtCOrP0cMsWrczvhHh8U+UFkhdPncriwR8ovUMXaWH5wmpn6evotKFFeQcNn54Hg== 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)(39860400002)(346002)(136003)(396003)(366004)(376002)(478600001)(4326008)(9686003)(107886003)(54906003)(26005)(110136005)(316002)(55236004)(86362001)(6506007)(186003)(38100700002)(122000001)(71200400001)(38070700005)(83380400001)(5660300002)(8676002)(2906002)(76116006)(8936002)(52536014)(33656002)(7696005)(66556008)(66476007)(66446008)(64756008)(66946007)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?E9FxovFmRXZwECwb6NX4dccEb/iQwxAA/SUjYaBsPxbPJPLvBbYOID+NVSwB?= =?us-ascii?Q?1X9Hta5w9dIUywUNQl2noYQ03ufFyCkgwnISJWI6NUUoPwKTA3xTQxQLSHFt?= =?us-ascii?Q?kqaVMFMWS4aIm6OVXw01gMoLuEnevXGwTA+UdoSjW4ZzLdwtxHedtDw1iG+7?= =?us-ascii?Q?AdaIBBGQXw7ROKccTh7szcqyWN1oYZFccTBRP6lcEbnUGSREH3nOasnO+klk?= =?us-ascii?Q?xdmkZ5cUAqoG/bHE5U8qQAc/Tvx7XB5S+cXuXX2Ppzg6kf0kD9v2/I/oor+j?= =?us-ascii?Q?bKoJnZUt3j+AOpSaNSEuY7v0sdcWJOZDkjnV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XwxzbzKzEQfD9RllUqucuUEQjHcIaCgljwSJpasEqZrR?= =?us-ascii?Q?5nncNmckFxU7B9kYbVvVk8qhzVn58zrXicIXLwK1hmR3bDy8wXeAjqCVk9sj?= =?us-ascii?Q?vJrHJbHUmHdtb8I0pv8lMJ/Y?= 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: 10804003-1256-4ac0-f04d-08d96eec234a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Sep 2021 15:04:33.1384 (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: ewGhiWU391dtOYwj28iS7Ao52IaEI1SKKZ0SLl9yG9IoKFYr12L6G0tl9EpyPTA+eJkSL6jrhcaL7pKfZuBsWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4714 X-Proofpoint-ORIG-GUID: 2_Loa7IZTuZRTfmYppm4Gs-bJMonr9y3 X-Proofpoint-GUID: 2_Loa7IZTuZRTfmYppm4Gs-bJMonr9y3 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-03_05,2021-09-03_01,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH v3 0/8] Crypto adapter support for Marvell CNXK driver 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" > First three patches are to support crypto adapter implementation and the > remaining patches add event crypto adapter OP_FORWARD mode support > on > Marvell CN9K and CN10K SOC. >=20 > v3: > * Fixed checkpatch errors. >=20 > v2: > * Fixed checkpatch errors. >=20 > Shijith Thotton (8): > net/cnxk: add flag to show CPT can enqueue events > event/cnxk: add macro to set eventdev ops > common/cnxk: add API to check CPT IQ is full > drivers: add cnxk crypto adapter eventdev ops > crypto/cnxk: add cn9k crypto adapter fast path ops > event/cnxk: add cn9k crypto adapter fast path ops > crypto/cnxk: add cn10k crypto adapter fast path ops > event/cnxk: add cn10k crypto adapter fast path ops >=20 > doc/guides/rel_notes/release_21_11.rst | 3 + > drivers/common/cnxk/roc_cpt.c | 6 +- > drivers/common/cnxk/roc_cpt.h | 11 + > drivers/common/cnxk/roc_cpt_priv.h | 6 - > drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 95 +++++ > drivers/crypto/cnxk/cn10k_cryptodev_ops.h | 6 + > drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 235 +++++++---- > drivers/crypto/cnxk/cn9k_cryptodev_ops.h | 6 + > drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 37 ++ > drivers/crypto/cnxk/meson.build | 2 +- > drivers/crypto/cnxk/version.map | 7 + > drivers/event/cnxk/cn10k_eventdev.c | 223 +++++----- > drivers/event/cnxk/cn10k_worker.c | 11 + > drivers/event/cnxk/cn10k_worker.h | 21 +- > drivers/event/cnxk/cn10k_worker_deq_ca.c | 65 +++ > drivers/event/cnxk/cn9k_eventdev.c | 405 +++++++++---------- > drivers/event/cnxk/cn9k_worker.c | 22 + > drivers/event/cnxk/cn9k_worker.h | 41 +- > drivers/event/cnxk/cn9k_worker_deq_ca.c | 65 +++ > drivers/event/cnxk/cn9k_worker_dual_deq_ca.c | 75 ++++ > drivers/event/cnxk/cnxk_eventdev.c | 94 +++++ > drivers/event/cnxk/cnxk_eventdev.h | 18 + > drivers/event/cnxk/meson.build | 5 +- > drivers/net/cnxk/cn10k_rx.h | 5 +- > drivers/net/cnxk/cn9k_rx.h | 3 +- > 25 files changed, 1078 insertions(+), 389 deletions(-) > create mode 100644 drivers/event/cnxk/cn10k_worker_deq_ca.c > create mode 100644 drivers/event/cnxk/cn9k_worker_deq_ca.c > create mode 100644 drivers/event/cnxk/cn9k_worker_dual_deq_ca.c >=20 Series Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.