From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id A4567A69 for ; Wed, 16 Jan 2019 14:47:32 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0GDjRjh017186; Wed, 16 Jan 2019 05:47:31 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=QfxJK/uG4qtasLtCCUuDN3OYm/YqG3yZI5DQklqJOKM=; b=dPNs17ydV5XacaM8bYiz5Fr+opvEpV5ntLDrXcbjOlG1ryJHSJBBL1kg/W/K7W+V8k/a vCGCM93GqVf1x7sfjjb83OcYyl66JJqw8M9rnISsno7wZhSJJCqFmCtNviCj0g9qBD8U 7/BtRxSSLuSC2r+Aq4PKYtBX/6exQZkjz58ondaX5Bq4KO7xax8ewrXB4Q+N+rl+pRJL +4DDLpToE6QAtPMGevl2FUYhhqVmrpiaeuAsHfF6lD7DXakuFdPXnuGQLxilbDW3IGzf /QFbhbCVWvBXU1hqX0WAh6D0ohOkaeC2EyUM8lzauTkTTt6HIRlHrBA3xywCc0gIt28V 7g== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2q22qk0w44-20 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 16 Jan 2019 05:47:31 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 16 Jan 2019 05:47:30 -0800 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (104.47.42.55) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 16 Jan 2019 05:47:30 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QfxJK/uG4qtasLtCCUuDN3OYm/YqG3yZI5DQklqJOKM=; b=k5OzZxQUMDx8Xi5SgwQfrDUJlNVRutPPxsMLLCWZRBPJacNuKJNj7KSaZ1i1MtBXrboqkIjzrcWJfvBte8LUp+YTvMI/Y5YjDIKDUV64PH6YyN/DFQTjle1CE2TVT9dbSBjXJ8248Cl474mCjxSjRNGsg0MuqgC4Z3K7tYasIF8= Received: from BN6PR1801MB2052.namprd18.prod.outlook.com (10.161.157.11) by BN6PR1801MB2003.namprd18.prod.outlook.com (10.161.156.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.15; Wed, 16 Jan 2019 13:47:26 +0000 Received: from BN6PR1801MB2052.namprd18.prod.outlook.com ([fe80::b199:d845:678e:8d72]) by BN6PR1801MB2052.namprd18.prod.outlook.com ([fe80::b199:d845:678e:8d72%4]) with mapi id 15.20.1516.019; Wed, 16 Jan 2019 13:47:25 +0000 From: Shally Verma To: "Trahe, Fiona" , "De Lara Guarch, Pablo" , "Verma, Shally" , Stephen Hemminger CC: "dev@dpdk.org" , "akhil.goyal@nxp.com" , "Jozwiak, TomaszX" , "Gupta, Ashish" , "Daly, Lee" , "Luse, Paul E" , Anoob Joseph , Tejasree Kondoj Thread-Topic: [dpdk-dev] [PATCH] compressdev: add feature flag to specify where processing is done Thread-Index: AQHUhqDGWiQ91k5Oqk2PFjUWQ0rZTKWEsrkAgAD8tICAAL6WgIAirlqAgAjqCTCAAAu9gIAAAH/wgAASooCAAAybUA== Date: Wed, 16 Jan 2019 13:47:25 +0000 Message-ID: References: <1542677988-3876-1-git-send-email-fiona.trahe@intel.com> <20181119175349.2bd2fdd1@xeon-e3> <348A99DA5F5B7549AA880327E580B4358967C84F@IRSMSX101.ger.corp.intel.com> <20181120100703.34c462e9@xeon-e3> <348A99DA5F5B7549AA880327E580B435896A4B55@IRSMSX101.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B435896A5DB3@IRSMSX101.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B435896CAF10@IRSMSX101.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B435896CB085@IRSMSX101.ger.corp.intel.com> In-Reply-To: <348A99DA5F5B7549AA880327E580B435896CB085@IRSMSX101.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [115.113.156.3] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN6PR1801MB2003; 20:qi9OZCUU1G79oACsWYAMCt2u7cjjpuaehK5DO9kXxWPphbemBaWKR7dZv3Tj9QaFAYetNn2JmLS+FKeY68UknBCeB0OxcM0TBYiRi3m3g0B5cDZvxFB6tBPM4MzakwNggkz3i/AlsV9c6AU6H7bMP5jlZHmBn7WwIl94nMQrzJM= x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(346002)(39860400002)(396003)(366004)(376002)(136003)(13464003)(199004)(189003)(486006)(26005)(71190400001)(107886003)(74316002)(53936002)(8936002)(9686003)(6246003)(71200400001)(2906002)(97736004)(229853002)(256004)(6116002)(55016002)(99286004)(3846002)(186003)(6436002)(55236004)(106356001)(7696005)(102836004)(66066001)(476003)(11346002)(478600001)(86362001)(446003)(25786009)(7736002)(105586002)(305945005)(33656002)(8676002)(14454004)(54906003)(7416002)(81156014)(81166006)(6506007)(4326008)(68736007)(93886005)(76176011)(316002)(110136005)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1801MB2003; H:BN6PR1801MB2052.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-office365-filtering-correlation-id: aa3b97a2-38b4-4d28-4dc2-08d67bb92613 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:BN6PR1801MB2003; x-ms-traffictypediagnostic: BN6PR1801MB2003: x-microsoft-antispam-prvs: x-forefront-prvs: 091949432C received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: aL5bhLVj70r/K+/1JShAFBmj2MTB42RNLQJXuQAwxqeVmLVMKg0a0GXGA2wUWYHedzIXg2IvMI+I8E/4FHKVxuA+7f8eLsCRBGNHjc7W2kkviRM0zjKUTkkeectI0HK+OIUJ/Pi6T0WXMayuBcgjlypFGb4ys7Y/q/dX2xB+BTsWsF8kGbPcP4oZ4OcfASLkzmr71XrsfiR0TVLAaRCXRZzdeiU/jd0vOVA8+06xTt7A2IZx+v5jVB2LH+eB0p/ioTLMkglmqTDoC0rzxm0ez1c5jf4P11Tzau6wyhwVjIoGJPWPgdXMGi9Q5/Bo6oyanXYh3I1V0csAfXYz8qI1y6nD4q6UyBHTTPJ0zhnnuIxaQqfGFd1vUr6xDhoIjGB/ui9SdNMOUNt+xa1Smr556txSqfT9+NmiBCmTi4XxEKk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: aa3b97a2-38b4-4d28-4dc2-08d67bb92613 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2019 13:47:25.5838 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1801MB2003 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-16_05:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901160115 X-Mailman-Approved-At: Thu, 17 Jan 2019 10:25:34 +0100 Subject: Re: [dpdk-dev] [PATCH] compressdev: add feature flag to specify where processing is done 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: Wed, 16 Jan 2019 13:47:33 -0000 >-----Original Message----- >From: Trahe, Fiona >Sent: 16 January 2019 18:15 >To: Shally Verma ; De Lara Guarch, Pablo ; Verma, Shally >; Stephen Hemminger >Cc: dev@dpdk.org; akhil.goyal@nxp.com; Jozwiak, TomaszX ; Gupta, Ashish >; Daly, Lee ; Luse, Paul E ; Anoob Joseph >; Tejasree Kondoj ; Trahe, Fion= a >Subject: RE: [dpdk-dev] [PATCH] compressdev: add feature flag to specify w= here processing is done > >Hi Shally, > >> So, would like to understand it bit more on how flag would help app to t= une itself as per current given >> description? >> For example, if PMD says, It does actual processing in dequeue, then how= it will impact app design for >> better performance? >[Fiona] One example: It could enqueue a large burst, say 32 ops. Then if i= t tried to dequeue 32 ops that >could be a very long blocking call. So instead it could choose to dequeue = 8 at a time. >Vice versa if work done in enqueue. Ok. I get it. For now I would suggest to keep it as per original descriptio= n i.e. Read only capability flag which app can read tune itself. This will= help current octeontx compression PMD as well. We will revisit on its desc= ription based on requirement. Thanks Shally