From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50055.outbound.protection.outlook.com [40.107.5.55]) by dpdk.org (Postfix) with ESMTP id E0E242E41 for ; Tue, 8 Aug 2017 07:03:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WvHtzTTW1Y8bO4ywETm6ROlqL6zqFsDwiZZdD2DaWM8=; b=So6x6A9NNT7vZe0t+inx6jEJsdZTCLpRwCABoR5zu83gOZhASS2uVKx32Pzo45kUQ5pNvyrf4IDwyzU/H5ueuWgheTJ3I3HGwI57P6s7khdFwx8ToynzFO1wgGOD/qZPWBcOqNpTdc36YfXx9YtH+A/IQZ1hQWuAessU86EP8WA= Received: from VI1PR05MB3149.eurprd05.prod.outlook.com (10.170.237.142) by VI1PR05MB3182.eurprd05.prod.outlook.com (10.170.237.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Tue, 8 Aug 2017 05:03:42 +0000 Received: from VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::48b5:a81d:6b63:b78e]) by VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::48b5:a81d:6b63:b78e%13]) with mapi id 15.01.1304.027; Tue, 8 Aug 2017 05:03:42 +0000 From: Shahaf Shuler To: Boris Pismenny , Thomas Monjalon , "dev@dpdk.org" CC: Hemant Agrawal , Akhil Goyal , "declan.doherty@intel.com" , "radu.nicolau@intel.com" , Aviad Yehezkel , "pablo.de.lara.guarch@intel.com" , Boris Pismenny Thread-Topic: [dpdk-dev] [PATCH] doc: announce ABI change for cryptodev and ethdev Thread-Index: AQHTD6f9HqUDj4VCl0uIQKoVDoKG06J55+/Q Date: Tue, 8 Aug 2017 05:03:42 +0000 Message-ID: References: <20170803153211.23073-1-akhil.goyal@nxp.com> <2679300.3rDZ1MV7ox@xps> 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=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB3182; 6:VtYRibcBxHfrLTogtbdWmA1HraXOqNwCGR3BzJYXKlaFXi3wzfQpVAnZRzbHTDwxYq66IQMwuO2KIW45/J8WDuMgwpDeXG53xvcUTTH57okJZs1L9wBnt5L5BEKpe2dNXvm6hjiRF9MPSRs3yMZgJcTxHhP75Ewdfxp+BhkDUNyNAkVoLsnQOkXseSscPzSYLivx3Ahid3MhS26gAdmgs/iyBIFLaAm3quCqTIzFTKeF5lRHvvitYtMtwTz2w7nFt1vmHOirmwhqEWpRNohHLtuq1OtXY4ezKJGluyIBkjjVzwi6n8q0+6J0NZWBHFQujev/mUdHjBqe2xAh6hLLBg==; 5:EDrWS1fCl+Rbbkx3w1YXjcIHY4oj/i+y3T5eyuIs7QLTWUUBXOvVG+t5WeOUBzSXK+9HIODGBYCxy+ug7Y/3wKaEZbd1BLq8o7lERz2VRnJFDf+CgR8HzZnNmJQxZD9kOgNHgNb31yB+M4EFyKchbA==; 24:DewT1z5FFUcJ9ZYDxgFXPYGEZ6XjbjYoVSCtblToKaGxdWSSGKiow82qFMlolWJTqUVI6wHwnzfVhCEbFgBfg/mUqx/BXL18LhQKP/1stFU=; 7:DXkntHsqrxXAmNKUWuEHlKfnMDINnsafV7+2mBq9eVC2fTnNZANHPcLsrkZeBoevswFm1hnbDnjr3qIqLSos0M+rSBLf0xXKl+HpGQrA7MlRNSwT+o0n68jsKczu2h9rJlvNGjWcHBmXYN7uy5T0tOmSRny6UrthVd1h9WnyCrdbfmfHUdYnfCA6fWkkEOLRxMM5wOIKnrFb1t9kJygJ4074Li5+rZLyNTBGBK14BBk= x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-office365-filtering-correlation-id: 7a3a802d-7984-4ffb-1123-08d4de1ad744 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:VI1PR05MB3182; x-ms-traffictypediagnostic: VI1PR05MB3182: x-exchange-antispam-report-test: UriScan:(192374486261705)(185117386973197)(100405760836317); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123555025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR05MB3182; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR05MB3182; x-forefront-prvs: 03932714EB x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39400400002)(39410400002)(39840400002)(39860400002)(39450400003)(39850400002)(377454003)(199003)(189002)(24454002)(7696004)(50986999)(5250100002)(105586002)(5660300001)(106356001)(74316002)(2501003)(97736004)(66066001)(2900100001)(7736002)(305945005)(189998001)(6116002)(102836003)(76176999)(54356999)(3846002)(14454004)(55016002)(99286003)(54906002)(229853002)(93886004)(6246003)(53546010)(3660700001)(6506006)(101416001)(6436002)(68736007)(8936002)(25786009)(4326008)(478600001)(107886003)(38730400002)(86362001)(9686003)(2906002)(33656002)(8676002)(8656003)(81156014)(81166006)(2950100002)(3280700002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3182; H:VI1PR05MB3149.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2017 05:03:42.6910 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3182 Subject: Re: [dpdk-dev] [PATCH] doc: announce ABI change for cryptodev and ethdev 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, 08 Aug 2017 05:03:44 -0000 Monday, August 7, 2017 9:07 PM, Boris Pismenny: > > From: Thomas Monjalon [mailto:thomas@monjalon.net] > > 04/08/2017 07:26, Hemant Agrawal: > > > On 8/3/2017 9:02 PM, Akhil Goyal wrote: > > > > Support for security operations is planned to be added in ethdev > > > > and cryptodev for the 17.11 release. > > > > > > > > For this following changes are required. > > > > - rte_cryptodev and rte_eth_dev structures need to be added new > > > > parameter rte_security_ops which extend support for security ops > > > > to the corresponding driver. > > > > - rte_cryptodev_info and rte_ethd_dev_info need to be added with > > > > rte_security_capabilities to identify the capabilities of the > > > > corresponding driver. > > > > It is not explained what is the fundamental difference between > > rte_security and rte_crypto? > > It looks to be just a technical workaround. >=20 > rte_security is a layer between crypto and NIC. >=20 > Today crypto sessions are created exclusively against crypto devices, but > they don't use network related fields, while the network namespace doesn'= t > use crypto related fields. We expect this API to represent crypto session= s > that combine network fields and allow to add/delete them for all devices. >=20 > For NICs we will use rte_flow with rte_security for inline/full crypto pr= otocol > offload such as ESP. >=20 > > > > Why the ABI would be changed by rte_security additions? > > > > > > Signed-off-by: Akhil Goyal > > > > > > > Acked-by: Hemant Agrawal > > > > No more opinions outside of NXP? > > It seems there is not yet a consensus on how to manage IPsec offloading= . > > I heard there were some phone calls about these stuff but nothing > > clear appears publicly on the mailing list. > > Looks to be a community failure. >=20 > We agreed to go ahead with this approach on one such phone call. I hope w= e > could use the dpdk github for development. >=20 > Acked-by: Boris Pismenny Acked-by: Shahaf Shuler