From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700042.outbound.protection.outlook.com [40.107.70.42]) by dpdk.org (Postfix) with ESMTP id 345401B469 for ; Tue, 26 Jun 2018 13:22:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qt0zMhgVyGrhkmMJS5Rbnd1SNduzOrIUWQO4XGJlHHc=; b=e1AOBY1QTJIyS712YDep3Ry76shkt5sl+hjDM3KvVxKb1mJ6ronoCXql+ZrmkLipZvrhr683xZyGR6FEOCnxen4rkaf5zWOENsLVXFDPw51jrmibac46xDOTPqNCnWjwnU66yqQuFZACgFfeY4Z30i3HQ4hQz7uV6Q6Di9wuAdc= Received: from CY4PR0701MB3634.namprd07.prod.outlook.com (52.132.101.164) by CY4PR0701MB3715.namprd07.prod.outlook.com (52.132.102.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.22; Tue, 26 Jun 2018 11:22:18 +0000 Received: from CY4PR0701MB3634.namprd07.prod.outlook.com ([fe80::f55a:7354:8d2f:cf0b]) by CY4PR0701MB3634.namprd07.prod.outlook.com ([fe80::f55a:7354:8d2f:cf0b%4]) with mapi id 15.20.0884.025; Tue, 26 Jun 2018 11:22:18 +0000 From: "Verma, Shally" To: "De Lara Guarch, Pablo" CC: "Trahe, Fiona" , "akhil.goyal@nxp.com" , "dev@dpdk.org" , "Athreya, Narayana Prasad" , "Sahu, Sunila" , "Gupta, Ashish" Thread-Topic: [PATCH v3 5/6] crypto/openssl: add asym crypto support Thread-Index: AQHUDS9N1NM7HS34TUGht2zchBsBq6RyZVQw Date: Tue, 26 Jun 2018 11:22:17 +0000 Message-ID: References: <1526450713-17299-1-git-send-email-shally.verma@caviumnetworks.com> <1526450713-17299-6-git-send-email-shally.verma@caviumnetworks.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Shally.Verma@cavium.com; x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR0701MB3715; 7:UN1EEaFwgv/WgGfqqy8jMYIzsCH5k+QGOQUFFFiMWlnAoHUWZO8iEEVCzOlcO52FmfYqVPqFFWnUZPnxDSNXCWQ1f7quactf7NMJhJ8wQI6H7lfbQl2UgV54P/sv7ZJQRmkGDs3cAozSyNCGCRRza7r5uQNZ+tgdyoo806U6HzaIbTAOtmI0t+KWdU0rz+lCaUPKznxcrzcaYCgEThqet74vCEqPwCAneDJUMTnwRZfYghRCOPpjdwUw5ub/tV4t x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(136003)(39860400002)(396003)(13464003)(189003)(199004)(106356001)(2906002)(105586002)(486006)(446003)(8936002)(74316002)(476003)(7736002)(305945005)(11346002)(81156014)(8676002)(81166006)(66066001)(72206003)(33656002)(9686003)(2900100001)(478600001)(97736004)(14454004)(5660300001)(55016002)(6436002)(229853002)(3846002)(76176011)(6116002)(4326008)(25786009)(53936002)(6916009)(6246003)(68736007)(107886003)(26005)(6506007)(316002)(186003)(7696005)(86362001)(55236004)(5250100002)(54906003)(99286004)(102836004)(256004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR0701MB3715; H:CY4PR0701MB3634.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-office365-filtering-correlation-id: b19d57e8-7552-4201-8063-08d5db5713af x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:CY4PR0701MB3715; x-ms-traffictypediagnostic: CY4PR0701MB3715: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:CY4PR0701MB3715; BCL:0; PCL:0; RULEID:; SRVR:CY4PR0701MB3715; x-forefront-prvs: 071518EF63 received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: rqcXBt/J+cIysmPiu7ALs0ZY7BwoJJ07ws0v+s9sx4QzJM3QdXT0cn6Eum6BalN3FwSMLJerUIKo43QfzalBza6y12nonIif21q9IxtiCq/DLM6UAkjV/Wh0l9CBWrngYybMZe9PcsPZ8iNyme3rjCBw2AbIwHnFuMItEmOgLyFI3BoiF7OcBi7JpmOEnyC5ksrWzo+Hy7HP9ezMoGW8JxK7gsWslFafeA6mG7ZzmIkhcmW5fCQ3R3pMHsoKP33WGV9/ObNXXdPbOfoGw6Lx47qcQY/NjzDx0a6dgrtz0T6sES1z4l08yvk+TxIsAqfTLkPmR8gNwhmWbigDP4m4m8XKqLTYPoMhGksVl+fUsf0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: b19d57e8-7552-4201-8063-08d5db5713af X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jun 2018 11:22:17.9968 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0701MB3715 Subject: Re: [dpdk-dev] [PATCH v3 5/6] crypto/openssl: add asym crypto support 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, 26 Jun 2018 11:22:20 -0000 >-----Original Message----- >From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch@intel.com] >Sent: 26 June 2018 14:53 >To: Verma, Shally >Cc: Trahe, Fiona ; akhil.goyal@nxp.com; dev@dpdk.or= g; Athreya, Narayana Prasad >; Sahu, Sunila = ; Gupta, Ashish >Subject: RE: [PATCH v3 5/6] crypto/openssl: add asym crypto support //snip >> - retval =3D process_op(qp, ops[i], sess); >> + if (ops[i]->type =3D=3D RTE_CRYPTO_OP_TYPE_SYMMETRIC) >> + retval =3D process_op(qp, ops[i], >> + (struct openssl_session *) sess); > >Could you rename process_op to process_sym_op? > [Shally] Will do. >Also, I think we need this check for the other PMDs. >I will send a patch to check if op type is equal to symmetric. > >Pablo