From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0089.outbound.protection.outlook.com [104.47.2.89]) by dpdk.org (Postfix) with ESMTP id DD2792C4F for ; Mon, 7 Aug 2017 20:07:04 +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=r7MwVMkmd4nB06rLNasYm6ar1Tnj24t+SuRCwiLHJmg=; b=j/F+Zu4r77D9EOuT2aWQuY30zIwL4aealPT38l7Op59kwZu3/fj8DQ3HgQmlfDsKVvETn6hkhmJFcAd6IoNXQ8FmI8D8dea0hmb1Nvj9E0cYxI/NOd9ZS7QUINzb757H1HEr2VMKdWRDwTf5XYzKQ00Ls3QYrzsXQ9nXXo48I9w= Received: from DB6PR05MB3176.eurprd05.prod.outlook.com (10.170.221.26) by DB6PR05MB3174.eurprd05.prod.outlook.com (10.170.221.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1320.16; Mon, 7 Aug 2017 18:07:02 +0000 Received: from DB6PR05MB3176.eurprd05.prod.outlook.com ([fe80::45d6:a994:d431:4fc4]) by DB6PR05MB3176.eurprd05.prod.outlook.com ([fe80::45d6:a994:d431:4fc4%13]) with mapi id 15.01.1320.012; Mon, 7 Aug 2017 18:07:02 +0000 From: Boris Pismenny To: 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: AQHTDN3yMT7a2IoS1ECbXN2VTQgGdKJzqrKAgAWEfYCAAARFEA== Date: Mon, 7 Aug 2017 18:07:02 +0000 Message-ID: References: <20170803153211.23073-1-akhil.goyal@nxp.com> <2679300.3rDZ1MV7ox@xps> In-Reply-To: <2679300.3rDZ1MV7ox@xps> 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=borisp@mellanox.com; x-originating-ip: [37.142.231.231] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR05MB3174; 6:6Kg5vC0h5ZH9oiV27V4qSOgXQhTkVALURYHlxet7Mg+eXTH37oBdHiRn3gbN6zzFvgMZOLc/NFtHglQe383oQGeExqbX7EEXLCPF1Pkw1zMntXwSgBKMFa8TH5D4VSWosrCiGn60Eg3KO+bI0uez4+SrS2pnZxJfRSuIHa+eSGItMPKrfIdXj4KLmMWvSbv8iVrLi3oiA0Rb064bG9HcvTvq/miSVXDYCAI4w8cX7cTuJYmCnSsaOImFUDOindj/GQbz2PvOWhOhqd+4U3Dp1FsTzdLJBG5XDZvvlB3R/6f2H/wkzsoFmSNIwXHZrp7TikVaYfr7pfkh01O+ODh4HQ==; 5:RVDwLtinmEOLTEsP2deC/rcugVaQLR6SoT/W83V9S7Nq+o+f8jRJ2Zj5zT8mzqTOt+V32y3cCGHiL08DVtrN3Gcrm9VTBYrrfCBTBPxgqKCnN/8leX58e7DMJzoxdasq5cAE5711aJJuDpyoATOYtQ==; 24:VrZsjwvLFiqNihYN35PKjHrD8+9tBmAR11x2byIUq9Fz8fY98rCi0FXS/rzdUJeGkmubdwVkaxnt6OSGPf+Yhp41uymkELPptrlP0wPSgHw=; 7:elWawhPvUKNZUWa1Edp5RdR11F2EgmgcO5JUp6ZQKF+EuOo197FNUANH3lV1BqKEToQb/g6ZolA7GG5IkpesDIeerawoBxhohubYN+TzZs0GL4jY4vJ+DeVMOOZPHPA5PdYkO2SUcqdtEQLy8g/wIK8flQnjeJkRRDD7B1r3v2ogmqnfKCO+S+Q4as+xv42TjoT8G3rqkmhBxtoCpFESHF7PEqYmGTPXadKEmGyLDns= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-office365-filtering-correlation-id: 9486ffde-fde0-4ae3-e405-08d4ddbf1ac0 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:DB6PR05MB3174; x-ms-traffictypediagnostic: DB6PR05MB3174: 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)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123560025)(20161123558100)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR05MB3174; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR05MB3174; x-forefront-prvs: 0392679D18 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39400400002)(39410400002)(39860400002)(39850400002)(39840400002)(24454002)(189002)(199003)(377454003)(2906002)(6436002)(478600001)(66066001)(8676002)(14454004)(106356001)(33656002)(5660300001)(3280700002)(3660700001)(4326008)(105586002)(2950100002)(2501003)(5250100002)(229853002)(7696004)(2900100001)(6506006)(54906002)(53936002)(8936002)(7736002)(99286003)(3846002)(102836003)(6116002)(86362001)(101416001)(81166006)(68736007)(6246003)(9686003)(305945005)(55016002)(53546010)(38730400002)(74316002)(189998001)(8656003)(107886003)(97736004)(54356999)(81156014)(25786009)(76176999)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR05MB3174; H:DB6PR05MB3176.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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: 07 Aug 2017 18:07:02.2485 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR05MB3174 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: Mon, 07 Aug 2017 18:07:05 -0000 > 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. >=20 > It is not explained what is the fundamental difference between rte_securi= ty > and rte_crypto? > It looks to be just a technical workaround. rte_security is a layer between crypto and NIC. Today crypto sessions are created exclusively against crypto devices, but t= hey don't use network related fields, while the network namespace doesn't u= se crypto related fields. We expect this API to represent crypto sessions t= hat combine network fields and allow to add/delete them for all devices. For NICs we will use rte_flow with rte_security for inline/full crypto prot= ocol offload such as ESP. >=20 > Why the ABI would be changed by rte_security additions? >=20 > > > Signed-off-by: Akhil Goyal > > > > > Acked-by: Hemant Agrawal >=20 > 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. We agreed to go ahead with this approach on one such phone call. I hope we = could use the dpdk github for development.=20 Acked-by: Boris Pismenny