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 DE708A0471 for ; Mon, 12 Aug 2019 12:00:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 56E871252; Mon, 12 Aug 2019 12:00:23 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id BD86DA69 for ; Mon, 12 Aug 2019 12:00:21 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 03:00:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,377,1559545200"; d="scan'208";a="180798409" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 12 Aug 2019 03:00:20 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 03:00:19 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 12 Aug 2019 03:00:19 -0700 Received: from lcsmsx152.ger.corp.intel.com (10.186.165.231) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 12 Aug 2019 03:00:18 -0700 Received: from HASMSX109.ger.corp.intel.com ([169.254.3.38]) by LCSMSX152.ger.corp.intel.com ([169.254.4.206]) with mapi id 14.03.0439.000; Mon, 12 Aug 2019 13:00:16 +0300 From: "Kusztal, ArkadiuszX" To: Anoob Joseph , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Trahe, Fiona" , Shally Verma , Sunila Sahu , Narayana Prasad Raju Athreya Thread-Topic: [EXT] [dpdk-dev] [PATCH] cryptodev: extend api of asymmetric crypto by sessionless Thread-Index: AQHVUPAfX88+wlz9H0yKWJn33h4zGKb3Rq0A Date: Mon, 12 Aug 2019 10:00:15 +0000 Message-ID: <06EE24DD0B19E248B53F6DC8657831551B2901AB@hasmsx109.ger.corp.intel.com> References: <20190603194411.8352-1-arkadiuszx.kusztal@intel.com> In-Reply-To: Accept-Language: pl-PL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.184.70.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [EXT] [PATCH] cryptodev: extend api of asymmetric crypto by sessionless 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" Hi Anoob, =20 > [Anoob] Shouldn't we make this a union? In symmetric mode, it is done tha= t > way and it makes sense also. >=20 > Something like, >=20 > RTE_STD_C11 > union { > struct rte_cryptodev_asym_session *session; > /**< Handle for the initialised session context */ > struct rte_crypto_asym_xform *xform; > /**< Session-less API crypto operation parameters */ > }; [AK] - Agreed. I will send updated version. >=20 > > > > __extension__ > > union { > > -- > > 2.7.4