From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id D26F41B9B8 for ; Fri, 11 Jan 2019 01:06:03 +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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jan 2019 16:06:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,463,1539673200"; d="scan'208";a="125010451" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by FMSMGA003.fm.intel.com with ESMTP; 10 Jan 2019 16:06:02 -0800 Received: from irsmsx112.ger.corp.intel.com ([169.254.1.84]) by IRSMSX109.ger.corp.intel.com ([169.254.13.133]) with mapi id 14.03.0415.000; Fri, 11 Jan 2019 00:06:00 +0000 From: "De Lara Guarch, Pablo" To: Akhil Goyal , "dev@dpdk.org" CC: Hemant Agrawal Thread-Topic: [PATCH] crypto/dpaa_sec: support same session flows on multi cores Thread-Index: AQHUqC4Ek9s9UY0j4EGgxuWnKk2FLqWpMCZQ Date: Fri, 11 Jan 2019 00:06:00 +0000 Message-ID: References: <20190109150612.20803-1-akhil.goyal@nxp.com> <20190109150612.20803-2-akhil.goyal@nxp.com> In-Reply-To: <20190109150612.20803-2-akhil.goyal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmI1YjlkOTctYTE0NC00NGU4LTgxMWQtMWY2ZDVjMmEwZjNmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiKzJlNjNPQk1jUm1Uc1hvQ0k0SVwvc2FPOTNYZjZNQnV3cmJScjFmcU5XbmtObmRwQnV0WGNhclltZVwvSEtPNng1In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] crypto/dpaa_sec: support same session flows on multi cores 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: , X-List-Received-Date: Fri, 11 Jan 2019 00:06:04 -0000 > -----Original Message----- > From: Akhil Goyal [mailto:akhil.goyal@nxp.com] > Sent: Wednesday, January 9, 2019 3:14 PM > To: dev@dpdk.org > Cc: Hemant Agrawal ; De Lara Guarch, Pablo > ; Akhil Goyal > Subject: [PATCH] crypto/dpaa_sec: support same session flows on multi > cores >=20 > In dpaa_sec, each session should have a separate in-queue, and each in- > queue should be mapped to an outq. > So if multiple flows of same SA comes to different cores due to rss > distribution of NIC, enqueue from any core will try to do re-assignment o= f > inq - outq mapping which will fail. >=20 > In this patch, for each core a separate inq is allocated and used from ea= ch of > the core. But the number of outq will remain the same and we save the > pointer to outq in session for each of the cores. >=20 > Signed-off-by: Akhil Goyal Applied to dpdk-next-crypto. Thanks, Pablo