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 54652A0548; Fri, 24 Sep 2021 19:45:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18F6641331; Fri, 24 Sep 2021 19:45:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 8819A41305 for ; Fri, 24 Sep 2021 19:45:30 +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 18OFaWns011078; Fri, 24 Sep 2021 10:45:30 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2101.outbound.protection.outlook.com [104.47.55.101]) by mx0b-0016f401.pphosted.com with ESMTP id 3b9hf50dr8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Sep 2021 10:45:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=njVdmYnIp+R7HSL7PN4K+SZ64fHyene9aiZPZKW62xJQpTx0eI286SXsgBuxB6oWjZVf4eQ4n7lN4j412koqJUvodEne021rU7kdK7ZXvlK8EZprdq/2pO7aEY381wUpIqBjUjZLvbNGpPNU2YMpvcUVuND1FhJc/U09wmGIytub+8rth85p3ykbJ1Me7OEJShVdr4uwWk+bi2QS176w7OjDHbMzW1OKkFbxgd1r4knwRAKLQ7dwX1plDKBibPSalW0JMpHvinyEBBjZlgi1ntkhqjkv5mlG7GsyippaWjjfcPeHsRgOTLGcx8kXFGs9nFJJFNN2RhimB37PnF0hNg== 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=ZwZ2F681IVvMolbLnPLiSHTXvmipHIasTNjNgfHvs9g=; b=nNJe65Dh9sghWuzoXbiFT7pddsKF0u4StiWmO1etqx+Naa/TUvUTVzmvi6jYcZDATfBNIbAu+epWnwK7Z4jiBIO0ti+E5DfZQTnzdo9oCQ+MfkkPQR4Vxr4uzwJgwngkGM4RIQ4dTmwJuWttNgJVKPictAT5zByfIAAjY6npmYB9NW4sJ3HUA20GjY6B6ZFEfOffTeiCI0pXAHPA8lF/UhRyCd+ZlSPsOoO6D2srKcjF+NZn/M7WBT8bxei7g1jE6jxlU9sCz3dpim0C70cCfb214rNfdg+YMap2ZyWqltpl7iyoA2RCGQj3C/76l4PZQI7bf1XlF3vgxL4OZKuHMg== 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=ZwZ2F681IVvMolbLnPLiSHTXvmipHIasTNjNgfHvs9g=; b=XvkE+lF3uNWsAafIqcdtl4wbOo4DuNDyjHFoP0/K2q4E9/ciwfzISdYotw+MFjlS+ERK2Z1PGuFXX//+Da6Apsmv7gNkbwT+gIEJDukgKu6boqmsttlNcjLwdcDAyjPvu5RKVosWWdnSMy1ja5BZ2d39hwgF+m4zBaC/9J+KgAA= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4418.namprd18.prod.outlook.com (2603:10b6:303:13a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Fri, 24 Sep 2021 17:45:27 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::6c43:3807:160:5a94]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::6c43:3807:160:5a94%3]) with mapi id 15.20.4544.018; Fri, 24 Sep 2021 17:45:27 +0000 From: Akhil Goyal To: Anoob Joseph CC: David George , Jerin Jacob Kollanukkaran , Ankur Dwivedi , Tejasree Kondoj , "dev@dpdk.org" , Anoob Joseph Thread-Topic: [PATCH] common/cpt: rework pending queue Thread-Index: AQHXsTY+OhydpgMEYUSxfAgFGlmERquzdWPg Date: Fri, 24 Sep 2021 17:45:27 +0000 Message-ID: References: <1632482436-212-1-git-send-email-anoobj@marvell.com> In-Reply-To: <1632482436-212-1-git-send-email-anoobj@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: b3411446-ac49-444c-25a6-08d97f831846 x-ms-traffictypediagnostic: CO6PR18MB4418: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oDHsgMlIpUZ7PxgZ0WhuuTc7XB60NeEA8MCaMfExhrYcuZekwFfULos0rAc4k2Nr3Crj3D/wnKNJkFb0FzVI2IqPsORhQKUuGE0Ymie4sWkPGB++BmUeSSC147V9vk54u/kX8ggehKWo2tt9lxmcl+LiVYxk89O4ggAxvIgh7YO99o9Xh/z6GcYU2pH04nNQaQpCANL1X1Ak7UB0XjUpfjMK4+xHEL1NU+ApGmvcOadGoYjMcKo08S0sSfEDDL43por4ls+eTdGWK9pvXirG9IKCnNSbpQgZc96H1wSyGx/yJVxVgLsYc5wdLASgWjCz/YfPAb0M3Yk+kei4765CgE04EZjzi31u5laivUKXC89ZYe2h/H20XmZuF3E5U9LOJK7vtk5wbtYx9A82LSDB+iWPc4Sq45JS+rT3uqU3aBIZnGsGDaIv/QPDnQglIwmWhkliNsKChdbRYbf1lplX7/UL+2g7DWCws0dWW+6Cx/bIevkoxLAErXOtP1g0ogrjcF6LFVD702WfjQ2Hzvr2alhNXUVoVVl0YIw643Fi5qtKtN4xjosa5wesmAC9ptQbezyO36WqV3aK2N+jZaqniJRMi9uVH7CB1CXeZUoUh0rPCjPm1+M1e3spbJluYr/Qftz3TGPT7ksgTit8tQN2bNZ+E5SuwpYrAV1wS/t3BpWyD+apufmwKF9KqiIQEY0qFwPKETv/kLI8XilohZe3FQ== 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)(52536014)(508600001)(38100700002)(4326008)(8936002)(8676002)(55016002)(38070700005)(9686003)(122000001)(66476007)(107886003)(2906002)(186003)(26005)(71200400001)(6862004)(55236004)(5660300002)(66946007)(7696005)(6506007)(86362001)(54906003)(6636002)(33656002)(66446008)(64756008)(83380400001)(4744005)(316002)(66556008)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?DOSa3JKf219fxNCWmNvKkhp6xlwMz9sB4e2FAvSQ6pBbNgmb7dzSeJXKcYfA?= =?us-ascii?Q?I0LLjxWrqW1zHKSRP5l6B9fwh8qGHPrOD/G63zMr2zkUHXaP1Nsv5z9EMTH3?= =?us-ascii?Q?sDNVeHaN/JB+MCrx1UjWOHjy3YffjLjIy1ZQuPquvax6z6iWA3a7eKy/JcPg?= =?us-ascii?Q?FLP2UcT1g46+JAQ3CTIdSn9R50VMIB7R17RZM/Jawf4oh2iXhduAH+SK6r7A?= =?us-ascii?Q?rtjyeGxDUumgEllZu3fSDkVukVMgGYaGYwOvbnq7ZhhhMSipw7ALlrxFaz3U?= =?us-ascii?Q?CiljjdYxrCHR2kM36duVAmpp7Mmuljt61wQS9bCqAp7QtAvgcHJ86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usAER2a8KEw9YIbMsDfJQ4L+SeGywBpuAscMW8RkPgu3dorT?= =?us-ascii?Q?vTfopIQnLWMvjj+ZVxs0GSoZmPYb8z+1LbCR3BCnL8UFA655xTN9TcnLQJrX?= =?us-ascii?Q?8RzgEt1qyohJZHIB25n4fyqg?= 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: b3411446-ac49-444c-25a6-08d97f831846 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2021 17:45:27.2537 (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: oRByFxdPtMurD5MTFtKooIDZdJCu7/kuPVWs80+OdugQj1ZeDCk4/GgtNS4BI8HfOMOmQ5kH7NdKvZ7dMSFJCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4418 X-Proofpoint-GUID: 5luVCVLhDQjWfN0QAuO90hRw61wY0KLw X-Proofpoint-ORIG-GUID: 5luVCVLhDQjWfN0QAuO90hRw61wY0KLw 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-24_05,2021-09-24_02,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH] common/cpt: rework pending queue 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: David George >=20 > Replace pending queue with one that allows concurrent single producer and > single consumer. This relaxes the restriction of only allowing a single > lcore to operate on a given queue pair. >=20 > Signed-off-by: David George > Signed-off-by: Anoob Joseph > --- > doc/guides/cryptodevs/octeontx.rst | 6 -- > doc/guides/cryptodevs/octeontx2.rst | 6 -- > drivers/common/cpt/cpt_common.h | 73 +++++++++++++-- > drivers/crypto/octeontx/otx_cryptodev_hw_access.c | 19 ++-- > drivers/crypto/octeontx/otx_cryptodev_hw_access.h | 14 ++- > drivers/crypto/octeontx/otx_cryptodev_ops.c | 75 +++++++--------= - > .../crypto/octeontx2/otx2_cryptodev_hw_access.h | 8 +- > drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 100 ++++++++++++---= --- > --- Applied to dpdk-next-crypto Thanks.