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 192CBA04F6; Wed, 11 Dec 2019 15:57:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8779D34EF; Wed, 11 Dec 2019 15:57:08 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B33012C6A for ; Wed, 11 Dec 2019 15:57:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2019 06:57:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,301,1571727600"; d="scan'208";a="264901447" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 11 Dec 2019 06:57:05 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Dec 2019 06:57:04 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Dec 2019 06:56:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eDMZHjL0bG3V4iZv3x2XQ0aGaTkLz+GJzvTNxGbcRwGePGdkWP0JRC45GP+btW4IIqwKLUzf2jLvOUO+HC3Hw7UBxOOjzcvICY9RkR5vhVylGt3+pai82tWZ2Tp0Iqxtmqdp2JNQhh91aTWovwHJ043xw3UiB01cZDaAQpMTUCBpbCpb3ju85XyAOKF6ab5HzoJODiHJ+uurUCK1mbQ5Omtt8xjwzOoAiwlBx5pQhs3QmbBSjvRZCOuYHI04mTr24krapTB+1Gmfb3VqTTwwvPw+QgcGX8gqmdmCbTY9Y6o3X7A5zphZPwjmb3nL2xoD4Ix4bPELyMi1cAzXk7KqMQ== 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=qId3+8NeySutNTLMdE3YXD8+ZxwXGouXdFNiqvCHGyA=; b=FFIOPxEN4wQYd9R4xNPAId6FEp2E7xFo+Py4Ibs9zTWdEWOSArxDJN8IQ1BjuziQgs9ySm1K5E4emrlXqdSF4sJ5jt1OUQ0pkeSLKnUaFL2iTgtmz+2bpw2m8lJkGYjufYqxySsthoUCE+5maF4wNdFVqdnDDMK0fJbr/sSIIi17VPQG0tfpdX3hry0v+9qMC0OYjhuXf2HtOxHlt27gsWqouKjTLKvh91NBpuPYgy/86hJ633sYrjJbtbrVhR0u5TpptLlcXVwH1QVocBg/OT5BAs3PrcW337tbW+oZ8uH/fqh82afJH6d8JIG+12jvZuUAj22Ccs9/8/7+0N0gXw== 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=qId3+8NeySutNTLMdE3YXD8+ZxwXGouXdFNiqvCHGyA=; b=i+cP3mFWbBVc9j/4f4YH+8ZaUgkWTGU20gQRaanfsn0s1jkScqvvFhUj+ZAg1uX2o3KhJzLLffB3NRwTQWoECIoBWJxutiM9fuDCk628bH0ZsEgqhMp6tQM7EsilHbqGLEXKfKTJsJzfhR7zEBLRbNAk+s/Jy0HGh2I6vshbZ8Y= Received: from BN6PR11MB1796.namprd11.prod.outlook.com (10.175.99.136) by BN6PR11MB4115.namprd11.prod.outlook.com (10.255.130.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.14; Wed, 11 Dec 2019 14:56:29 +0000 Received: from BN6PR11MB1796.namprd11.prod.outlook.com ([fe80::e035:bb6c:aa3b:e2ff]) by BN6PR11MB1796.namprd11.prod.outlook.com ([fe80::e035:bb6c:aa3b:e2ff%11]) with mapi id 15.20.2538.012; Wed, 11 Dec 2019 14:56:29 +0000 From: "Trahe, Fiona" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Doherty, Declan" Thread-Topic: [PATCH v3 0/4] Add dual threading in QAT PMD Thread-Index: AQHVsDKIvsbCAeQXS0Wkfv1q/e2NT6e1BcOQ Date: Wed, 11 Dec 2019 14:56:28 +0000 Message-ID: References: <20191211145004.11672-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20191211145004.11672-1-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDFkODc3ZmItNTA4MC00Nzc2LTk0OTItMjE1MmQwYmNiM2QyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMEsyMXlZZVlqeHNjaEFUR1hqdllzZUQyOFlFU2FzRk9CTmZ1UXp4bjY4ZklLb1M5Rkc4V2dCTzRuVW9LdnlnaSJ9 dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=fiona.trahe@intel.com; x-originating-ip: [192.198.151.169] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3b460b3d-6165-4c09-b6d6-08d77e4a4d97 x-ms-traffictypediagnostic: BN6PR11MB4115: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 024847EE92 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(376002)(396003)(136003)(346002)(39860400002)(189003)(199004)(13464003)(5660300002)(66476007)(66446008)(64756008)(6506007)(53546011)(33656002)(76116006)(7696005)(66556008)(66946007)(71200400001)(110136005)(8936002)(107886003)(81156014)(81166006)(4326008)(8676002)(55016002)(54906003)(26005)(478600001)(186003)(2906002)(316002)(9686003)(52536014)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR11MB4115; H:BN6PR11MB1796.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: PsrEfZmcd+5VkA/V2sxQvNz/XPX2GNXoCvqLcguzL1cjq9z9FMUB2kdhfCA67gxyqk4pMHZ/L2dDycMkj2sf9vnnehSHTP4HtcLWeggGvStOmQvw15LMCWA9Hv5rSH+fvZj5n56XPYPQqXF4gwepTfmVEwAXqmMMZJZV2s00ovbMakX0n6rFI8I4uCsqFzuPpsHpL5sG8VeNBx7R1EEY/91endDXUsQUlLDN5cJ/jhngM91We2UL2t8my8TYFdGNc9JOk+ILpjQ4imyHMoCYouv8ZMIR7Fs9th40+GlOjhkWCj19XdEHSMUGvu50a+ZTu+IHqoX9wkEJ8KZoR9zGZgQUs7TBIcqNrMqnTnoCwV4FfbAW2zqFbutxgOggYCZ5xYkB/EPuHk7sNxTGkrpqMnIAMYIwwr12CCV2ZyR0UWevLtDp1WkjYz7V197++SGucxLbb1icQmA7JSeP69knvygHVKJraqUNfz7UXB376JW9HINjSqPNVmwG+dX8n200 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3b460b3d-6165-4c09-b6d6-08d77e4a4d97 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2019 14:56:28.9792 (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: uYW+lutJoVb/B2cmCP1YxSZVkBqfeDdnXcZRSYuHjEfeCzkfW691DS+6IXB6hYu4zoxDHqNMSWuiX/ftnUsq+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4115 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 0/4] 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" > -----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 0/4] 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. > Additional option added is to set minumum enqueue burst > threshold which may help to reduce MMIO write occurances. >=20 > v3: > - added minimum threshold option > v2: > - clarified wording in docs >=20 > Arek Kusztal (1): > crypto/qat: add minimum enq threshold to qat pmd >=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 Series Acked-by: Fiona Trahe