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 77C28A32A2 for ; Thu, 24 Oct 2019 19:02:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2093E1EB02; Thu, 24 Oct 2019 19:02:57 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 09FC41EA8A for ; Thu, 24 Oct 2019 19:02:55 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2019 10:02:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,225,1569308400"; d="scan'208";a="398483365" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by fmsmga005.fm.intel.com with ESMTP; 24 Oct 2019 10:02:54 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.76]) by IRSMSX106.ger.corp.intel.com ([169.254.8.185]) with mapi id 14.03.0439.000; Thu, 24 Oct 2019 18:02:53 +0100 From: "Trahe, Fiona" To: "Pathak, Pravin" , "users@dpdk.org" CC: "Trahe, Fiona" Thread-Topic: QAT PMD in multi-process mode Thread-Index: AdWKhUF4DlpnJhXiQRaHlCSV9gsEKgABta2A Date: Thu, 24 Oct 2019 17:02:53 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B435A217E710@IRSMSX101.ger.corp.intel.com> References: <168A68C163D584429EF02A476D52744268BDF6B3@FMSMSX108.amr.corp.intel.com> In-Reply-To: <168A68C163D584429EF02A476D52744268BDF6B3@FMSMSX108.amr.corp.intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWEwMWY4NmUtMWY4Yy00OTJhLTk0NjItMDgzYmZkMzE3Nzg4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNG45blorMTNqZXpYVG5TNFE0Z2VWRjRIMWtIM0piWENXQ01TTUQwQmc1MEpTeVYrNUg2bXdyMW1QZldwb1FqMSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] QAT PMD in multi-process mode X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Pravin, > -----Original Message----- > From: users On Behalf Of Pathak, Pravin > Sent: Thursday, October 24, 2019 5:12 PM > To: users@dpdk.org > Subject: [dpdk-users] QAT PMD in multi-process mode >=20 > Hi - > In multi-process model, if same QAT VF is shared between two processes wh= ich are spawned from > separate executables, primary process give segfault while accessing QAT = functions. > It looks like PMD installs access functions in shared area so when second= ary process changes those > function pointers, they are no longer valid in primary process. > http://doc.dpdk.org/guides/cryptodevs/qat.html states "Each VF can only be used by one DPDK process. It is not possible to share = the same VF across multiple processes, even if these processes are using di= fferent acceleration services." However, we are currently investigating use of a QAT VF in a primary and se= condary process - but with some constraints about what can be done in each = process, e.g. session init in one process and enqueue/dequeue in the other. > Is QAT PMD going to modified to support this mode in future? > Regards > Pravin >=20 >=20