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 BA115A0512; Tue, 14 Jan 2020 18:39:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 973A81C02E; Tue, 14 Jan 2020 18:39:16 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1605D1C129 for ; Tue, 14 Jan 2020 18:39:13 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 09:39:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,319,1574150400"; d="scan'208";a="424723856" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 14 Jan 2020 09:39:13 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 09:39:12 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 09:39:12 -0800 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.51) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 09:39:05 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aDcGx94hDu834AIsyEmBQshgYOoO3/67gcP40sZD2zOzIczMctviDGCXf5dpgtVLhuLAaeUTFDL8nZ+dbNXYmBceVadV2VAXIVYCDpJCGbhzY9fWWlUNLhEgrQsMUtWqZlscmHOW6OLAK28bdx4T/kj5d9YZDuLEuhPYW0QkW2kxqrBf7d+Y70aDGKTlby4svuvYxTH3BBuZjYmIIFr2FTWiI02yM9fIOv8OkxzuKAcy9gy75L5TNmzYofBs1TmqQG/SyaY0WqHHdRz5+i+HlNzFr5p27Sa7t6fbdBrozjQF222RAyt822huds/nLStfjy9JEJ6xA06O4uitywhf1A== 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=dKyA0LHJGDFLiSXyIwxOjtnE5ivamHPzzliD37UDG6A=; b=nCDBR+k/nATb0wZlDA8tjuCRFqmsEcWzlzio0bOnCecKd8V6vKvbjsVCA2A3iL9erpqA739r0+CHsnzknCcqrlUxMxeTv+dlmo41OfZTKyql6Eqi0Zelpn/Iab6u+FPRm4P56SF9NftxE+uQO6ArpvFVKX6zHf9i8qDXYClL4FguR+6+kee2GWllI1Rgpgtp9Eezmu2ctR+aEMpno0KNZEsYr37SbQ1jRaaMxsWZOOqKMBAQqpmj6czatHJMdu250dz9yf95L53LJzQLdThpHrvW973jVByNsvBxGaL/qAPUuktACPIJ6HtYVuqRwvkABwbP1Vv8BUIdnt1VYHbNog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dKyA0LHJGDFLiSXyIwxOjtnE5ivamHPzzliD37UDG6A=; b=cUAFtEUS24opYAbIg5TGGW9XuU6+zsf93vLaHwDwpz7R0NHDZMlcb/2qpQm1jgHQGofsMVsYirsvGfrGGm/7d0Yht1oqXPDsdqL0wV27RlGqJUiNBzC07FVqw6qHoGOAuOJrF1QDQaY81MikoVQQteF8cjSYWZKzF6TUbcdqXn4= Received: from MWHPR11MB1807.namprd11.prod.outlook.com (10.175.55.20) by MWHPR11MB1518.namprd11.prod.outlook.com (10.172.54.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Tue, 14 Jan 2020 17:38:50 +0000 Received: from MWHPR11MB1807.namprd11.prod.outlook.com ([fe80::6548:ed5a:bf21:61de]) by MWHPR11MB1807.namprd11.prod.outlook.com ([fe80::6548:ed5a:bf21:61de%7]) with mapi id 15.20.2623.017; Tue, 14 Jan 2020 17:38:50 +0000 From: "Trahe, Fiona" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" Thread-Topic: [PATCH v3 3/4] common/qat: add dual thread support Thread-Index: AQHVsDKNWY4L7rWlnECovuH5+1Xf4qfqonCw Date: Tue, 14 Jan 2020 17:38:50 +0000 Message-ID: References: <20191211145004.11672-1-arkadiuszx.kusztal@intel.com> <20191211145004.11672-4-arkadiuszx.kusztal@intel.com> In-Reply-To: <20191211145004.11672-4-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=fiona.trahe@intel.com; x-originating-ip: [192.198.151.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 27cd7e3a-1776-4803-9b7e-08d799189df8 x-ms-traffictypediagnostic: MWHPR11MB1518: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 028256169F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(136003)(366004)(376002)(39860400002)(396003)(189003)(199004)(4744005)(8936002)(5660300002)(9686003)(66556008)(81156014)(52536014)(66446008)(66476007)(33656002)(53546011)(81166006)(6506007)(8676002)(4326008)(64756008)(76116006)(55016002)(2906002)(26005)(66946007)(110136005)(478600001)(186003)(7696005)(71200400001)(86362001)(316002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR11MB1518; H:MWHPR11MB1807.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9IGQGyRLuacHp8zb5TsLxvFw9Aez66Xh0iGSPSQBQy1CTn6imRXXXRZ1/khc81LgY/IgAmCVjxkvjDysnMUXdihhYQ9xCa6FIdMwYmxX8X6ueJekWZArou/l3BgTf16zJxrJ4fXoK3XTONJKSJcZeK58CqvgkMnCfsgBaeRL/AOm98ihD44c6cNanCQN/rMTPe2coHo6MwlPtDUQKZeHuTEB8Gc0nbykiqlqk/Sxaanyua7Y/fzZ8+TMJ21l/R5PAxWqidtwkeMUTEfpaHo4ZFCyvlwY4r0kMpXbG2ijtTx+QC9svmHqcgRRE1ZW+IGCrggaSWY1L5FWlnz2Uki49y8kxpYJfuDfi1I0au7MSevhDxX1kfqu9MsNFshPE29Htb9vzP/Ffa99IJF00hjmCFhVExCL2UVtySO2gVedrjs7bH98wNzxHrgfdtat7BoO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 27cd7e3a-1776-4803-9b7e-08d799189df8 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 17:38:50.3385 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eZcU6Pznu5iw5Xd5HziTjzKh63/e2BPezvXcp28hHl3d+aXt5jmoe1ATjWeTCfeiou4GnPsf6cCdjwqyLW0oZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1518 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 3/4] common/qat: add dual thread support 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" > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Wednesday, December 11, 2019 2:50 PM > To: dev@dpdk.org > Cc: akhil.goyal@nxp.com; Trahe, Fiona ; Doherty, D= eclan > ; Kusztal, ArkadiuszX > Subject: [PATCH v3 3/4] common/qat: add dual thread support >=20 > From: Fiona Trahe >=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. > Documentation updated. >=20 > Signed-off-by: Fiona Trahe > Signed-off-by: Arek Kusztal Acked-by: Fiona Trahe