From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40077.outbound.protection.outlook.com [40.107.4.77]) by dpdk.org (Postfix) with ESMTP id E80334CA1 for ; Fri, 2 Mar 2018 01:55:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OZ+M+lQ5qJ7eaGQ0YlH+igSbsvTJzaf+yAPQ4w8E9JA=; b=ozFCdy2CIp/8UPChPs3fkgCVwoTUPA7rFuTHbiRCWH4wMyZUP1qOQTmQ+5d8mSLONr/rak/WyROTrjPM2/he8r55Ax1ISr/zDKciRh3ALF97I/z9XB0cdTWPM6W/SuzOMB1gY4w+ctRB9+lbof68kukqs9RBQifzLZJ/5hDZvyw= Received: from DB3PR0402MB3852.eurprd04.prod.outlook.com (52.134.71.143) by DB3PR0402MB3707.eurprd04.prod.outlook.com (52.134.70.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Fri, 2 Mar 2018 00:55:42 +0000 Received: from DB3PR0402MB3852.eurprd04.prod.outlook.com ([fe80::8554:d533:15e:1376]) by DB3PR0402MB3852.eurprd04.prod.outlook.com ([fe80::8554:d533:15e:1376%13]) with mapi id 15.20.0527.022; Fri, 2 Mar 2018 00:55:39 +0000 From: Ahmed Mansour To: "Trahe, Fiona" , "Verma, Shally" , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" , "Athreya, Narayana Prasad" , "Gupta, Ashish" , "Sahu, Sunila" , "Challa, Mahipal" , "Jain, Deepak K" , Hemant Agrawal , Roy Pledge , Youri Querry Thread-Topic: [dpdk-dev] [PATCH] compressdev: implement API Thread-Index: AQHTnFM5yhoAdd9nE0i9ZEIaZBO9+Q== Date: Fri, 2 Mar 2018 00:55:39 +0000 Message-ID: References: <1517595924-25963-1-git-send-email-fiona.trahe@intel.com> <12544144.czVLKRyaz4@xps> <348A99DA5F5B7549AA880327E580B43589325187@IRSMSX101.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B4358932983C@IRSMSX101.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B43589329F78@IRSMSX101.ger.corp.intel.com> Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ahmed.mansour@nxp.com; x-originating-ip: [192.88.168.49] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB3PR0402MB3707; 7:mj59hhbaVZANtzt1evSFEjnovfp4C/1/ZfadlyI4zQUNTAeAdGK9mLR+K/eNVMI4tP+wnGBmHDAqb1VR4O6YwXvd7DyPXK7DEU+25xgwLmdT7EmgvUePx3IA0S/bkCsWwr9wFBlIjStivJaj2sqVi0BK+oUapldQE5ZCazf5JidClhr+RqgJpC/tO7yWykXRQ9WLJYu6S1z8qtTb843r5m3ZajndoDUEHRCGyAaHEGXbsTWl4VfwUHM9WDc0DqyK x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(39860400002)(376002)(346002)(366004)(396003)(39380400002)(199004)(189003)(55016002)(66066001)(106356001)(86362001)(7736002)(4326008)(14454004)(316002)(5250100002)(53936002)(7696005)(6246003)(5660300001)(305945005)(6436002)(9686003)(74316002)(110136005)(2501003)(25786009)(6506007)(81166006)(53546011)(97736004)(102836004)(99286004)(186003)(8676002)(8936002)(26005)(5890100001)(54906003)(478600001)(76176011)(105586002)(2900100001)(68736007)(3846002)(229853002)(81156014)(2906002)(33656002)(3660700001)(6116002)(3280700002)(93886005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0402MB3707; H:DB3PR0402MB3852.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: efa8aee5-b381-46af-3bb7-08d57fd8514d x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:DB3PR0402MB3707; x-ms-traffictypediagnostic: DB3PR0402MB3707: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(5005006)(8121501046)(10201501046)(3231220)(944501161)(52105095)(93006095)(93001095)(3002001)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:DB3PR0402MB3707; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0402MB3707; x-forefront-prvs: 05991796DF received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: U5mlIkRO4LHzLBZcN5/qm0JhFIu6I1V9NozbXXoeVqJOuyjnrsRTPj8rx03ASLdQoYKiN9eIhwiH+Vt/MgGehJlUaIPOPZLNKyq6QgYF0xHp5q4GwC1PODWCKPwuf+M60oDvQgBJliVKaJWy0s3lH7ZC+QsaEfZb/RnKQi5KwKY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: efa8aee5-b381-46af-3bb7-08d57fd8514d X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2018 00:55:39.6004 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3707 Subject: Re: [dpdk-dev] [PATCH] compressdev: implement API 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: Fri, 02 Mar 2018 00:55:44 -0000 On 3/1/2018 9:41 AM, Trahe, Fiona wrote:=0A= > Hi Shally=0A= >=0A= > //snip//=0A= >> [Shally] This looks better to me. So it mean app would always call xform= _init() for stateless and attach an=0A= >> updated priv_xform to ops (depending upon if there's shareable or not). = So it does not need to have=0A= >> NULL pointer on priv_xform. right?=0A= >>=0A= > [Fiona] yes. The PMD must return a valid priv_xform pointer.=0A= =0A= [Ahmed] What I understood is that the xform_init will be called once=0A= initially. if the @flag returned is NONE_SHAREABLE then the application=0A= must not attach two inflight ops to the same @priv_xform? Otherwise the=0A= application can attach many ops in flight to the @priv_xform?=0A= =0A=