From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A45B8A0C47; Sun, 31 Oct 2021 20:49:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30F654068E; Sun, 31 Oct 2021 20:49:28 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 47FA640689 for ; Sun, 31 Oct 2021 20:49:27 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 19VAqYvF028212; Sun, 31 Oct 2021 12:49:26 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2046.outbound.protection.outlook.com [104.47.66.46]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3c15jkc12f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 Oct 2021 12:49:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gpfk3AG5TwGJ3RJubEZ/s351MyUngLIL9Gq/lrINc+dC1koOV3cycwXuoxSOStFTrzYzZIrJbn/b+XEfAU+1e5dAL4wDD9mph441to1BS2CerjOhkw3Mztlp/w/VC2QoEWd7G6XuvHqIr3H8Jh4JTQuK+tkr2Ib57QIofgUfhY5qGKzweEYQdztmzVEqs4G+sWfn4Y2PbKU78dHHuf0tTufU9BKWNIs9kuulwwUjjogItOu71QzWs5I4Mnr73UpSQUo+OpEXnCwUkQYlBkBKBZjwJCxMa6TNoA202zFhtnpKl+ku+chAFzj/bcrntid2JDewN0rFvDWn20tT9AuPhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Jr/CluiChjlWy5ZDGJzQjYo/dJR2np4H5cXNNotrJB8=; b=bItM9DasArMP7OmTispWlCBrcOSm+1n3+MzximVTlUFvhpFuod+H4IfuOK9B/r00HSQkAWauXlbdFwbIbZnq2ZtOhEu83sxrbxiSAyJEXIh0GVGs/dhMSjvKOHak6fsO6PGDCQ0mIDEbXAq6J0Cq99BesVxeSRF9/FnooshwXdG/IN6ctOv8dYWAivqstjc0KYhtBuy8E1qiHur34fofBUdNjTiXnDrdAK135+VXgYoNWiRyPX6rhCjNs8DI1AdJZlY2SpX2DFGJR9pbzHWsP3LGUdE2D2xhv2wDMhj8Pt5iWJ2Lf7mwu1raXlfh5HSobrnwQybrJzYCJefWdOvrDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Jr/CluiChjlWy5ZDGJzQjYo/dJR2np4H5cXNNotrJB8=; b=X7boF8eDGOjb6xdThPBQm7riSYOR0911hSVgSCRZGakkRSLhOv13/XykMgGqQsL7/pvq+cZBJCtBQSJeOYhS0rAaiZs2Sfaf1mTHKdoq+tTuq5/YbJFRnZPn21zqz9IBSbRnTHpvI40oUsyTSq9oGcNtHs/mqWpc9mcIvLqjD1M= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO3PR18MB5022.namprd18.prod.outlook.com (2603:10b6:303:173::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Sun, 31 Oct 2021 19:49:25 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8%8]) with mapi id 15.20.4649.019; Sun, 31 Oct 2021 19:49:24 +0000 From: Akhil Goyal To: Raja Zidane , "dev@dpdk.org" Thread-Topic: [EXT] [dpdk-dev] [PATCH 0/2] fix level configuration in compress Thread-Index: AQHXygw+vvCcoRVPF0WQhrB7o0Tj66vtjJwQ Date: Sun, 31 Oct 2021 19:49:24 +0000 Message-ID: References: <20211026015242.21156-1-rzidane@nvidia.com> In-Reply-To: <20211026015242.21156-1-rzidane@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7d023e9d-45e1-4215-f501-08d99ca78a80 x-ms-traffictypediagnostic: CO3PR18MB5022: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TAXIxPEGUsOxvBCUt3jOB07Dfih1OTDqI4AkzmiOcKgbyrJ85i+TNi9Ay4msqB0fpBipQzeSJ4gUHYSRnawerhizfasbixfLh/Ut1fPfufr9cr/MPy8hUbeyxQ7xwmpP2izkkV37eJ4usXB1hmIQYfYZKNZT9v7dA71FmquBjObduc7ZmNKd/WxmqwEyTbs5UJAJDXhZnvTsH2+XJAna6JJmfovMo2fgJujy+GctvZVWEYkp+kpHe70HmlsbGy2RTojTzk8sCYMElVrcQ62N7IriwT7nrbrvIn4DzVhNuA8tFjzbHzFRaW65dOApuOqR8GcMYdbCYM0olD/oTVaUjwlpM6H9ltOFO1k18dZJujzFu+i54uUxoCcDzDa22/I+xqd/dCTmzV4u8EIhEuz9Ij1TbWIstsCs8RtA+51Vnqeul1Rd9HCTBlhneleSHxVXd2TMHQRMolFPMIJoHpZs4g7kQ88+BmaiHKKwnx4Sdu4QWECUY8xrn9WhvdxaNn4EUXLs9aX5CfEKh7Vz0RTazOhrMEHkkAJAFWUdhyMJ+UZh6mjZjd/De6naP8gEOsTzqSfn8DqavGcfMlZFdWUQO/9oU5F4VWDrD5PFgwqxdWlgj05u11f03bNVKEYIZLV23xvhQRWXlSsqmIIV52+GjUz6dscY+mERhtgomvGwtZwPMRA0clgEyyIhxY1AYjjA80GOlK5RxxV7Suty3XeJig== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(55016002)(186003)(71200400001)(8936002)(9686003)(508600001)(8676002)(316002)(4744005)(110136005)(33656002)(38070700005)(122000001)(7696005)(66946007)(66556008)(66476007)(66446008)(2906002)(76116006)(6506007)(52536014)(86362001)(64756008)(83380400001)(5660300002)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?PPJUawfS+u97xDggmL8+1qSib+3XqMCrWrCBpN7NGusNF4KJKqIyBYhwFUBm?= =?us-ascii?Q?KwNIkAqq8rvNejz5Q4o/zUcF6XUsfo9fzLqwK9ueQpW3kjNAO6AWltz/jZml?= =?us-ascii?Q?D+QLxkL9YPr4Q46GzljhXWBJEUF7dGYWfumLQi09HqNkFJKvmO5Eb4jdNAVD?= =?us-ascii?Q?5rdzSRJbqCQ7gEUBQfD1PkP53a478Lz30NbF0l64nrO+luWNA8ImPALeqQ3W?= =?us-ascii?Q?IDAa/Hr1GPn0rdoIP0sYrNkPEkybkAlBPLESzT5L3iEgsRmivZAzBoKkd6nw?= =?us-ascii?Q?0K/gGn5J2ha4f8tysl/BkFmtx4ClaJbB5bit1jNb/u+iMtfat/B5s5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21/P/00XHG17MW9DQk+FSCSOA?= =?us-ascii?Q?0o+7nb1ezn6/lcyTO+B0NXS4nxsP9t0Cel+Sf2VQOgxooGozZ6h43xSv2dAy?= =?us-ascii?Q?ikKzHrXhK1eljlGDgAuc8NFy5dIWHj3HkwMMEm8beNZfGbFOgCMzsxshm4Mb?= =?us-ascii?Q?2duQ1CzYA/MjPsvY36WFNOygvN6I3KTo42QVvQInc5IXN2THXOlpRsscSdYF?= =?us-ascii?Q?Cg65L2xYmYwN18+0PeV0ra3ysyM3SK2wlT92qXaAob5L2U0it57SH42xkpaJ?= =?us-ascii?Q?jFIxQOX+a0oCM4sHlwxN51nhHlZcbRBL1erFsaSOnE4F6BNoB1JNbu54OZvH?= =?us-ascii?Q?OcebtumcDG8kS6YCRj7r8aVo5OGmGU0gXBCsWBb4rWIJqimAr4ihJvbBmcZm?= =?us-ascii?Q?AOjSWna3gtms960K02kyW9Oj2TJBqRR4JVS2zehk71ejAqde2mJqpzekMgWw?= =?us-ascii?Q?jk03R6dW7vwsu5wjoo2BaFT+V64=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d023e9d-45e1-4215-f501-08d99ca78a80 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2021 19:49:24.4763 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ckg3Ej+U2XbnpySsKx0KccdzYJ794/txKiEIZ37uDvCE6VQEvePa8Cioq6g0oBWFOkDKSfKP7PGbkc5eH2aY2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR18MB5022 X-Proofpoint-GUID: KtX0gWaSbrOHsiEMsTH51nnqgxrorO3r X-Proofpoint-ORIG-GUID: KtX0gWaSbrOHsiEMsTH51nnqgxrorO3r X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-31_06,2021-10-29_03,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [PATCH 0/2] fix level configuration in compress X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > The mlx5 compress PMD uses HW acceleration for the compress operations. > The mlx5 HW device has no level style mode, which does a tradeoff between > throughput and compression ratio, unlike SW drivers where the CPU is doin= g > the compress, and more CPU effort can cause a better compression ratio. > The mlx5 driver wrongly defined the Huffman block size configuration > according to the level that doesn't fill the level API requirement for > the tradeoff. >=20 > Remove the effect of the level configuration in compress operation. > Add "log-block-size" devarg to select compression block size manually. >=20 Applied to dpdk-next-crypto Thanks.