From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 89585A2F67 for ; Fri, 4 Oct 2019 12:48:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BEBCD1C1FA; Fri, 4 Oct 2019 12:48:16 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70087.outbound.protection.outlook.com [40.107.7.87]) by dpdk.org (Postfix) with ESMTP id 9F17B1C1F8 for ; Fri, 4 Oct 2019 12:48:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mci1lO8llwBN7pm7zqGcS3RBAXDPg2gfPfIuoMvlZs9yG7uTYS62dwvfkgLdRtoeATMuFN2/cFsl9tS8hKzZ8oF2givFLfcYsXWG4Ha5gdmr5gw4SFYE21JJ6Db09sWu2RKPm6HYive9U4r5iXR3gExi+1CGrRgnwoAFhXv2Iqb4rVfXUfWrM90sZw4+AhN1TYeU1PGUsKqp5G83HMvzAt15atEpZPUvdP7fylgrWr0yHYGHzFVYRuy9d5ayaP29dgPMeoC0bD4vKzq+BAD1mPNT6XonuI7CqjbY5LLgDUNeZAbu9mx8x0pxJEn3vlqJLC9I6neaE1X1ue5mQ71h3g== 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=QkSjyNuUoiFnGSqTHuqBEybA4wuuIbM25s3W4/k3iHs=; b=MP99mC3D/S51HxfZz0otLiDgpRoWDJzYlDjszwNTFFvgtR5k7jnJs+ZBPhZbJHrLYc35EG1oju298wWgpfynBera/U1O1hasa47fa+ah8J1DnJpADxK1BTcjeGS5rFBC+Z6bXRlIPTDQkEsOb8Nf/mvNvzbDfLYeROTkQmyvLpzkNzwvpurC6JPOQoaF/2vt/6V2qAYCR8LguX4CCuj01ZWCfygYWiA+Hi5/2Vx/hm9maQSIxYTdBBn24QpcpZrW0vGYIgaWy1qYbhdIsn38Ei6RQyMIYKdE0R3Sa1uoMhYZuW48rA6+TmrNkUlXmxsMpSM8lyQrWB9iio4xWdMeAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none 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=QkSjyNuUoiFnGSqTHuqBEybA4wuuIbM25s3W4/k3iHs=; b=m8UrlnLnoX70IUTWdOPLQ5ajlnAlsdSuU63Z123m4XTqGS8XkAA7dKCKIvmESZIMouMcGzx/k6vTCpgYgO3gRwjlZoBalZyRodyA8LlTWRqdHakeAtlEgxzhSppKYBoXJ5q+ObwFsjP1uVzt5sRVOSrqZS6RCSijaJgt7WxlRnA= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6686.eurprd04.prod.outlook.com (20.179.235.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Fri, 4 Oct 2019 10:48:13 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee%5]) with mapi id 15.20.2305.023; Fri, 4 Oct 2019 10:48:13 +0000 From: Akhil Goyal To: Fiona Trahe , "dev@dpdk.org" CC: "arkadiuszx.kusztal@intel.com" Thread-Topic: [PATCH v2 0/3] Add dual threading in QAT PMD Thread-Index: AQHVZM3qj0m9ffGa8UOqGDJw0PxLwadKeKHw Date: Fri, 4 Oct 2019 10:48:13 +0000 Message-ID: References: <1567784675-1401-1-git-send-email-fiona.trahe@intel.com> <1567786349-25353-1-git-send-email-fiona.trahe@intel.com> In-Reply-To: <1567786349-25353-1-git-send-email-fiona.trahe@intel.com> 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: c70dcb27-c592-4473-065b-08d748b85b16 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: VE1PR04MB6686: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 018093A9B5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(346002)(376002)(39860400002)(366004)(13464003)(199004)(189003)(3846002)(53546011)(478600001)(6506007)(76116006)(71200400001)(81166006)(26005)(110136005)(76176011)(316002)(71190400001)(81156014)(8936002)(55016002)(14454004)(9686003)(99286004)(102836004)(66446008)(5660300002)(25786009)(229853002)(6116002)(7696005)(446003)(7736002)(6436002)(4326008)(2501003)(33656002)(305945005)(74316002)(6246003)(11346002)(476003)(256004)(8676002)(64756008)(486006)(52536014)(66066001)(186003)(44832011)(86362001)(2906002)(66946007)(66556008)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6686; 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: BCL:0; x-microsoft-antispam-message-info: mijzIvKJyq8uzp06TX+9Fyjd0ZpsAH8W8LUe2vyCAM3Sv9Sq8u5p3gtiQsoHvpOqO/B9MC1rra9tpYtZjgnuUYW76aJ6wCoLJdPZtQ+6nPIEIzmlP0OuXT4/rHWH3UAJS5bWGFDAoC4AGtcTY0ZEezs7rk59G5mb8PDkMIuMpVbASEVODHWcQn6bUhe2u3Js3H2pOTLxjsx2UnZ4fQWlCq4Te2OzCHZhKoLl9MzAU2ieXCOGD3HtUMHce+/FLYj+ycGxVyBrvuL/CJsS2daHcG2q/eVkCAiUCB6BOkrmODtXohTthHFfEOUAA4ZvDggGQI1ibt4QsiEHxJ8qyG1GCqOnEKoJCopmpsyAzV5bpvM/hGfi5m9vIpRSenFXI5c+ftA93oShpgMVrRZRD2+Du9TUlW0ImRVHqiVLRjBdqFs= x-ms-exchange-transport-forked: True 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: c70dcb27-c592-4473-065b-08d748b85b16 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2019 10:48:13.4727 (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: a1K/96kFvu3o7RzM+67UG/b0FRe5MBQogU07HAodezixTlJn6N89VJWHAnJAmmOY30otSmZo2vEx7mgUwK2ovQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6686 Subject: Re: [dpdk-dev] [PATCH v2 0/3] Add dual threading in QAT PMD 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" Hi Fiona, This patchset need a rebase. Could you please send v3. Thanks, Akhil > -----Original Message----- > From: Fiona Trahe > Sent: Friday, September 6, 2019 9:42 PM > To: dev@dpdk.org > Cc: Akhil Goyal ; arkadiuszx.kusztal@intel.com; > fiona.trahe@intel.com > Subject: [PATCH v2 0/3] Add dual threading in QAT PMD >=20 > Remove the limitation whereby enqueue and dequeue must be > done in same thread. > The inflight calculation is reworked to be thread-safe for 2 > threads - note this is not general multi-thread support, i.e > all enqueues to a qp must still be done in one thread and > all dequeues must be done in one thread, but enqueues and > dequeues may be in separate threads. > As the tail-coalescing feature is not > threadsafe it is removed first. >=20 > v2 changes: > - clarified wording in docs >=20 > Fiona Trahe (3): > common/qat: remove tail write coalescing feature > common/qat: move max inflights param into qp > common/qat: add dual thread support >=20 > doc/guides/compressdevs/qat_comp.rst | 5 ++- > doc/guides/cryptodevs/qat.rst | 11 +++++- > drivers/common/qat/qat_qp.c | 77 ++++++++++++++++++------------= ------ > drivers/common/qat/qat_qp.h | 11 ++---- > 4 files changed, 54 insertions(+), 50 deletions(-) >=20 > -- > 2.13.6