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 93D9041B83; Mon, 30 Jan 2023 20:30:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 271A140DF6; Mon, 30 Jan 2023 20:30:18 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id EADDD40C35; Mon, 30 Jan 2023 20:30:15 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30UGulov008249; Mon, 30 Jan 2023 11:30:15 -0800 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nd442ktxv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 11:30:15 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oUhkrs43XJySNs/H0KmyJ+o5irT9HV+5tmfPvnDsNcxfkopqDRcywn5+J4NpBz/lHouqwD3XEQs5Rh89UQhFSXGrf8jJHdylTAZWOjLEfnhBezkHR1DsL+wqCFmW0e48u7ZnCkVz8cu1b2OaHmU35/KSY0/DECY9nLicsv4wm3JBlynjzLDe4dCcuVWD2spUuxDlqvIim9BFO8wg6R6VynDx+yjMXvTVMXjpVeN0h31GhbFWr17nULhRXTXa7bxTJ7RgnfD6r5tjgJGDh3CdJSnk2JDCU10H/tgEZ/MLN3JDRGHAke2RZQy871ZpUyRqf1Rd+lN7iUdj6iJmNvqUQg== 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=nebSM0DNncV5Raf/7GtK0gu4HRSEOKhAjs1sN9ASeu0=; b=O8obv2aE0cM6s7IAfHBz2hTSALmmGCy911088W/lX6IwjD+QfLhIyIM3ET2Vt2+MaJwKz9EGgKF8XvsRp2To2EmwBA5YkRzT3RoZ18WeQU4e9/ESVXF1QAQZsdouiHqkhDCbjahItWWyTL+453eD3DQy2e6ok3R42jUCzRTTOFj5dm08rhzPfIpFVLFbPyW2ho8Nz2YY9j0MJ/7er4pBcrlJj5unJnyx7ZoKK3MgXrgiFMwUc21vWxrEIwOReiHXGCwIviA7rwIpBgcxaO6Z1bBbfe+C1qw9BCh4eUa18cf1T1X7CFLUAHA2W5PvvnCnW3zoNbeFaRdw42kmLLmo3Q== 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=nebSM0DNncV5Raf/7GtK0gu4HRSEOKhAjs1sN9ASeu0=; b=t5vSWfiSPFOymJT+51uckJYJ3iLkopTbaC1iEQhTaQ1cVijVBCPo1LViecWz6v+4GUDw1CDWapQw/ho6ReO8x+m12FhA9P3jlu6J2mW7QkzV7ZOPvXJIptJsh73WihU7WRFMSAY4HTXohlcCN005TFWvRuNGAhFu6Uye5gQjLNQ= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by IA1PR18MB5469.namprd18.prod.outlook.com (2603:10b6:208:449::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Mon, 30 Jan 2023 19:30:05 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8bf2:df15:70ef:88eb]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8bf2:df15:70ef:88eb%7]) with mapi id 15.20.6043.036; Mon, 30 Jan 2023 19:30:05 +0000 From: Akhil Goyal To: Michael Baum , "dev@dpdk.org" CC: Matan Azrad , Ashish Gupta , Fan Zhang , Kai Ji , Thomas Monjalon , "fiona.trahe@intel.com" , "roy.fan.zhang@intel.com" , "stable@dpdk.org" Subject: RE: [EXT] [PATCH] compressdev: fix end of comp PMD list macro conflict Thread-Topic: [EXT] [PATCH] compressdev: fix end of comp PMD list macro conflict Thread-Index: AQHZHeegumz1S9Msd0qrb9EMZiEDaK63hmLg Date: Mon, 30 Jan 2023 19:30:05 +0000 Message-ID: References: <20230101134720.1709991-1-michaelba@nvidia.com> In-Reply-To: <20230101134720.1709991-1-michaelba@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcZ2FraGlsXGFw?= =?us-ascii?Q?cGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEy?= =?us-ascii?Q?OWUzNWJcbXNnc1xtc2ctN2Q5YThiNjYtYTBkNC0xMWVkLWEwOGQtOTRlNmY3?= =?us-ascii?Q?NjYxOTA3XGFtZS10ZXN0XDdkOWE4YjY4LWEwZDQtMTFlZC1hMDhkLTk0ZTZm?= =?us-ascii?Q?NzY2MTkwN2JvZHkudHh0IiBzej0iMjA1NyIgdD0iMTMzMTk1ODA2MDI5NTc1?= =?us-ascii?Q?MjQ2IiBoPSJpZTcydmRWelhmUXNrTUt3elZGeU5vRkt0VDg9IiBpZD0iIiBi?= =?us-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FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQkFBQUFBQUFBQUFJQUFBQUFBQT09Ii8+PC9tZXRhPg== x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|IA1PR18MB5469:EE_ x-ms-office365-filtering-correlation-id: b0e2fd8f-62c2-4390-b66d-08db02f86405 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jNFbYaftIW+IUwZCxfHxn37k+bEliyU0bn7zDYYw/SuOn/7hAqVvq39HU38JjFAv7s7VASPMJ2FuGet7r/e1k+ztWPBIM3QGemvaQuBgm+8Hk8f0rh38Yn4ibqccxt3lIJw7Tdiv1lgtQenlbIlZBDrz49Y0fnxSfXHJfsbKEMCHsTHNm2lWUUoT8q+l2Xq35epvcbkpdlQbTAM/Mg8FodsF5E8ifdt/uvhkvgExUi29BO8AncHo4yRTUVpxakqBuVYymJw/kySMgNxc+8hlmJLxz43UuiiXnYTzcKnM/N75prUbVXl6f3CTG+dEc5D18hzlJ/vP6UA9RhddMXH8qnpZSwsKcyol0vYl8mgsdE/R6BzHi1jVFCeJ6qvvpzwTry+wDOfMUv3YckoOesr5xlZRSvqWzGe/wcaSU6+pilswCOjoflUYbFclUbQaDdPNLsYZYkL3rhQFe+ZiNiXnWRzBF28wqeGvtOo3blQZqosEAhL3IsKLhM4bQi29mEvKEu4kt9bXwhQ5y4wb0cEY9ax+GoVkEdDW37ywxk99BOurumngNoffMcsiv0Q8mU08VbFTiHS0CrO60qsuGBxIqAvmvGjD3f9L+MS5VTbxCPbv56gMCk4ojdxRXPd/lpJYX2tQRcQ2V2DYfL+/y5Mqrmuy9cQjj8pa6b4mXnTxu8x63Ze/WXixK6CFIvLkb0obRXBnb5CJoGnmF5v7+qxrIc4Z19Si+b60bKuk5H1MyK6rlep9WZsDoefLYbiY2Vn2 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:(13230025)(4636009)(136003)(396003)(366004)(39860400002)(376002)(346002)(451199018)(66556008)(66446008)(66476007)(64756008)(66946007)(38100700002)(8676002)(4326008)(76116006)(122000001)(41300700001)(38070700005)(86362001)(52536014)(8936002)(316002)(5660300002)(54906003)(9686003)(186003)(110136005)(26005)(55236004)(71200400001)(478600001)(7696005)(2906002)(6506007)(33656002)(55016003)(141333003)(181643002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Rp7EZEWI+MJCQV2mYCFpEQhWEqiDx5CKs8k1rskZMxQCwRIt64aW0mK/A0U1?= =?us-ascii?Q?8UIfnkHsWReR4rZRvMv0t8sFd4M3Smj6KHzjiumWJoZq7vSg3CfOcPDZQjGW?= =?us-ascii?Q?Xm7b2YccEJIpegQ4Qlrh1ajNluSzvAV+FdDyv73zfifO56qnyUqTFjWo3zhz?= =?us-ascii?Q?EH9X2RTDL8bVPMNqWHtZOJFQSyr7Ns6Ji6uLnEBCDFwDb4aEApYPXxNFaWXK?= =?us-ascii?Q?SK6yySoHULUCWWJZ9AdcdBaO/HvAhW1I/xD7TVrkeYnf5Xc9zv9h+7BA7RCX?= =?us-ascii?Q?D1Gnqfd4BUiqJE5gYNZ4K4EQV8dfaxEjPhPXPrjaE7wifnKEh4hwPZhhZm5J?= =?us-ascii?Q?wCp7NYP+A3jMUsyLeBwHJOay/7GL0fx7jTOnJv5c63quVTOkpcvNHEKq93VP?= =?us-ascii?Q?hdgTOr0zKX1/zjkQV9TE3eZYznmHDqvcZH0LBZQZSCkXRw0+8YJc9i6r2tSp?= =?us-ascii?Q?4KCghwCSn3tvt/UHV2sp7gcki8MWBy1ZAgvLaOJAzNpWLUGf3m13T3dh7iWN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Yxj+qj+etj1sX05/6SzWD3j8z2LfCKx?= =?us-ascii?Q?DtZVYHddK50L+W3zfCmsAzbexh8Oqefko6ly++DKJ3Wkxy8taA/ALpFo1DmD?= =?us-ascii?Q?/dtzZ+/nKe7AFRJe8jBnXhLwi1Flj3JgCnqQycUPRun+r5MNQYixcPhUXvxP?= =?us-ascii?Q?ms816ybUfrKEXTugO1AmCMBEuWAxdL8IKhSZwVCT?= 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: b0e2fd8f-62c2-4390-b66d-08db02f86405 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2023 19:30:05.5829 (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: qiuYC5r5LDWCDfxuzre/d2pZ4wIgSevfweSDpsGxaQsHMj1N7+L8mkOErm9P7DlKpVhuqvMxOhBf8Uv7sWWIdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR18MB5469 X-Proofpoint-GUID: OX8tid_pQmZAdB3UF-dN9KKz5YNRhXPo X-Proofpoint-ORIG-GUID: OX8tid_pQmZAdB3UF-dN9KKz5YNRhXPo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-30_17,2023-01-30_01,2022-06-22_01 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 > The "rte_compressdev_info_get()" function retrieves the contextual > information of a device. > The output structure "dev_info" contains a list of devices supported > capabilities for each supported algorithm. >=20 > In this function description, it says the element after the last valid > element has op field set to "RTE_COMP_ALGO_LIST_END". > On the other hand, when this function used by > "rte_compressdev_capability_get()" function, it uses > "RTE_COMP_ALGO_UNSPECIFIED" as end of list as same as the > "RTE_COMP_END_OF_CAPABILITIES_LIST()". >=20 > The mlx5 and qat PMDs use "RTE_COMP_ALGO_LIST_END" as the end of > capabilities list. When "rte_compressdev_capability_get()" function is > called with unsupported algorithm, it might read memory out of bound. >=20 > This patch change the "rte_compressdev_info_get()" function description > to say using "RTE_COMP_ALGO_UNSPECIFIED" as the end of capabilities > list. > In addition, it moves both mlx5 and qat PMDs to use > "RTE_COMP_ALGO_UNSPECIFIED" through > "RTE_COMP_END_OF_CAPABILITIES_LIST()" macro. >=20 > Fixes: 5d432f364078 ("compressdev: add device capabilities") > Fixes: 2d148597ce76 ("compress/qat: add gen-specific implementation") > Fixes: 384bac8d6555 ("compress/mlx5: add supported capabilities") > Cc: fiona.trahe@intel.com > Cc: roy.fan.zhang@intel.com > Cc: matan@nvidia.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Michael Baum >=20 > --- >=20 > After this change, I'm not sure about the purpose of > "RTE_COMP_ALGO_LIST_END". > There is no any other use of it in DPDK code, and it isn't represent the > number of algorithms supported by the API since the > "RTE_COMP_ALGO_UNSPECIFIED" is part of the enum. >=20 > Due to the compress API is experimental I think the > "RTE_COMP_ALGO_LIST_END" can be removed. >=20 +1 to remove the list end enums. This will also help in avoiding ABI breaka= ge When we make this lib as stable.