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 3229DD0A5 for ; Tue, 28 Mar 2017 14:58:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490705936; x=1522241936; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=u5n3qJ8ZcaCCX2+EkjaWE0I3JUauB3i+F8tFtJBSgvM=; b=IK4CIvwCOgkWNQfY5uHtkf2JhHr85kUcxqrd0PxRNjdUZThCETrqo13f k+LUggpwN3AeFOYiER68upMEltKKMQ==; Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 05:58:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,236,1486454400"; d="scan'208";a="1147902952" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga002.fm.intel.com with ESMTP; 28 Mar 2017 05:58:53 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 28 Mar 2017 13:58:53 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.239]) by IRSMSX156.ger.corp.intel.com ([169.254.3.246]) with mapi id 14.03.0319.002; Tue, 28 Mar 2017 13:58:52 +0100 From: "De Lara Guarch, Pablo" To: "akhil.goyal@nxp.com" , "dev@dpdk.org" CC: "Gonzalez Monroy, Sergio" , "Doherty, Declan" , "Trahe, Fiona" , "hemant.agrawal@nxp.com" Thread-Topic: [PATCH v3 1/2] cryptodev: add api for attach-detach session with queue pair Thread-Index: AQHSpIE8gHJEX93u2kOcUpI1LrJDJKGqPQUA Date: Tue, 28 Mar 2017 12:58:52 +0000 Message-ID: References: <20170323080648.7149-1-akhil.goyal@nxp.com> <20170324092921.17636-1-akhil.goyal@nxp.com> In-Reply-To: <20170324092921.17636-1-akhil.goyal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTAwNDY3NTEtOTE5MC00OGM0LWJmYTYtNjcwOThlYzJiMjlkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Im1zRXVLYW5CdnRtY0U3U1RIRURKbDRDb1VOdlpFMjdSWFhQY1FwWXhHT0E9In0= x-ctpclassification: CTP_IC 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 v3 1/2] cryptodev: add api for attach-detach session with queue pair 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: Tue, 28 Mar 2017 12:58:56 -0000 > -----Original Message----- > From: akhil.goyal@nxp.com [mailto:akhil.goyal@nxp.com] > Sent: Friday, March 24, 2017 9:29 AM > To: dev@dpdk.org > Cc: Gonzalez Monroy, Sergio; Doherty, Declan; De Lara Guarch, Pablo; > Trahe, Fiona; hemant.agrawal@nxp.com; Akhil Goyal > Subject: [PATCH v3 1/2] cryptodev: add api for attach-detach session with > queue pair >=20 > From: Akhil Goyal >=20 > HW based crypto drivers may only support limited number of > sessions per queue pair. This requires support for attaching > sessions to specific queue pair. New APIs are introduced to > attach/detach a session with/from a particular queue pair. > These are optional APIs. >=20 > Application can call attach API after creating a session > and can call detach API before deleting a session. >=20 > Application needs to check if max_nb_sessions_per_qp > 0, > then it should call the attach API. >=20 > max_nb_sessions_per_qp =3D 0 means infinite sessions per qp >=20 > Signed-off-by: Akhil Goyal > Acked-by: Fiona Trahe Applied to dpdk-next-crypto. Thanks, Pablo