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 99688438FF; Fri, 19 Jan 2024 15:51:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 236C34029F; Fri, 19 Jan 2024 15:51:23 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2064.outbound.protection.outlook.com [40.107.223.64]) by mails.dpdk.org (Postfix) with ESMTP id 0041D40279 for ; Fri, 19 Jan 2024 15:51:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NQiU3S1Al1oloxPs3nEYLc+qJ9tpf2thR4/Q7Ll29uK2Bnmnot7CpjrGCSPIhNATikJ+nM3r5riPADQGKoHTJzCy9iN8F6gxsmSSLNNG8F2/f4msNwyPlolADWRCNNM00thP+us3+WXpKxF9PkMTgg1kUmWSazktw3MIy1MFqBzptyJwEKOhNVNQrHoxTpKrJYO49bAQjVXlnSzEjKOYdNbS4yCKOYiFfq5HPhjOTX+VYJ34A1SdI9z6phpFD/EVsuSX7IaO5IwXgFdklxdc+mdP24BJvc5EDu4ezUyS7RvbiiRL/UHZKJ5eMxhjC0YZ8BQ4IrApL6xxOQdkq8pKtA== 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=9iHR1rcM4gjDL1NE0P63GjYUfObfuaJEXfhhyB4i0Ec=; b=D68sdxChgCD5pah0hxaSWm2aDfmIW9aVWXXfXiSf9xKiSO4EtJ+y9ZFIWMR0bJvxkwsCe7hlzCOUWN8x3HZ5nGeHipNEBN4xthaw0mQtByhXeaXkRBYsAI/ts2354noabJ/eoDCLUJHuNW8SiSVTFfo0sxTUu4XVaCTYujxRUGZvjL/u/8NdiuuEegnyTs6zeDOJn2SjYB4ZcptG7yXmxWk0ve/Ri1UW6YizfZgKrhDt8IS3z3IVl/gbuw9euuUSZpYLGBdfKzeISUea7Mcru2cbnyNVcs6+AZA6HVgL6ulQuJK5rVeirgkGk8jDXaVw2MnvO6Au1Y4xZMFs9sBEvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9iHR1rcM4gjDL1NE0P63GjYUfObfuaJEXfhhyB4i0Ec=; b=uu+pzkDR7Yi4palbaxVPYjRPxyU0t69n3CiyUxQBsrbsXhCen2VchSzdCpVloGX2F0c1TKpX0VRcJ3Yh649IV3rIlwsyK8Nk1mSIUmp+siPJ4XpogCHYyDgtSQXd6eiUMOeabuiYyifNBPVLGBkRMaRjZ3JEJXtbUqeuDZLmBic= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SA1PR12MB6701.namprd12.prod.outlook.com (2603:10b6:806:251::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 14:51:16 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f%4]) with mapi id 15.20.7202.027; Fri, 19 Jan 2024 14:51:16 +0000 Message-ID: <0d66b7f9-5cbd-4fc8-b3c0-b127580a699c@amd.com> Date: Fri, 19 Jan 2024 14:51:05 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 2/2] drivers/net: return number of types in get supported types Content-Language: en-US To: Sivaramakrishnan Venkat , Igor Russkikh , Selwin Sebastian , Ajit Khaparde , Somnath Kotur , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Yuying Zhang , Beilei Xing , Rahul Lakkireddy , Hemant Agrawal , Sachin Saxena , Simei Su , Wenjun Wu , Gagandeep Singh , John Daley , Hyong Youb Kim , Gaetan Rivet , Qi Zhang , Xiao Wang , Jie Hai , Yisen Zhuang , Jingjing Wu , Qiming Yang , Junfeng Guo , Andrew Boyer , Long Li , Matan Azrad , Viacheslav Ovsiienko , Dariusz Sosnowski , Ori Kam , Suanming Mou , Chaoyong He , Jiawen Wu , Harman Kalra , Devendra Singh Rawat , Alok Prasad , Andrew Rybchenko , Jerin Jacob , Maciej Czekaj , Jian Wang , Jochen Behrens , Thomas Monjalon Cc: dev@dpdk.org, ciara.power@intel.com References: <20231212143722.1803259-1-venkatx.sivaramakrishnan@intel.com> <20240118120741.1434286-1-venkatx.sivaramakrishnan@intel.com> <20240118120741.1434286-2-venkatx.sivaramakrishnan@intel.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ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Geu+6FuW honeosIrWS98QJmscEhP8ooyJkLDCCOgEk+mJ/JBjzcJGuYn6+Iy/ApMw/vqiLGL1UWekcTA g18mREHqIR+A3ZvypIufSFB52oIs1zD/uh/MgmL62bY/Cw6M2SxiVxLRsav9TNkF6ZaNQCgn GqifliCEMvEuLZRBOZSYH2A/PfwjYW0Ss0Gyfywmb2IA990gcQsXxuCLG7pAbWaeYazoYYEQ NYmWatZNMAs68ERI2zvrVxdJ/fBWAllIEd0uQ4P05GtAHPdTIDQYp545+TPV7oyF0LfXcsQs SFVZE6igdvkjfYmh+QOrHGZvpWXLTmffVf/AQ81wspzbfxJ7sYM4P8Mg5kKOsaoUdyA/2qVe cMh1CLUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240118120741.1434286-2-venkatx.sivaramakrishnan@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0070.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:60::34) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA1PR12MB6701:EE_ X-MS-Office365-Filtering-Correlation-Id: cc5ec7da-73b9-48e4-5cb7-08dc18fe165f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qY5Ll4he2gio275vEfHXC1wKFJWP/p+Yi8rV0DOfWrUass/CI9/h6qgtQ43fLy2IvC7B6ceHthfK46EcSRvmq2PEIehkL5mELDLoESgM/CRv0+YkEUuCyuVRIXBTt+J0KM/dlmZNEIeSeZx1kzi4GlgCQB8eIhOga85qtwHju72prkEWqMu0ApAq1d2nl3uH+160w7QVZ40ZuwzoYWa/tQjI5s83T4TtINHbT6tEPNbhaWGgXWx5XPyA3hdBfiCcEteqeZW0RRc4QpPz3cLPCxzUkcH5rmLfSUJohZeJdSZUfin2b7oWA8Q11HyVjIiJIC3gU/27yG8YLe/Ex3t5s4/pgT7fB3DWs8B19QuC3cZAVO82vWE6iUc236XiZyhSWJZJCEiBIoHeH570j92T2yoxHj1vn79ToVyF+/VAorf6ewE9pxIxkLghJ48yvYeHhHTSMLeJNlKxzAmCNn7oQfLhySbuInAc6gKvdURifw0UFwVxbhisqOfcxq2X+Mw0yQw9GhrKNpTGdE3RP/SahTMwIsHN+FCKn+H/M2dXnAAdMHt+MfFpNwykQzPRrh34E7i+7wa3cfOZCZ/uGXTn9TN/tNTsU9KrMdleqabxEvBtSlXs3ln68fo8aGHLj9fx9kSbLTny1LJBIAJcJkqdsq5ZId8oCK/VIHnJiiXwzi8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(39860400002)(346002)(376002)(396003)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(66556008)(66946007)(110136005)(83380400001)(66476007)(316002)(86362001)(2906002)(921011)(36756003)(7406005)(31696002)(8676002)(4326008)(8936002)(7416002)(5660300002)(41300700001)(38100700002)(44832011)(6486002)(26005)(478600001)(6506007)(53546011)(31686004)(6512007)(6666004)(2616005)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Sm1mMHBJTXlBUzA0TWpJWW41Z2JvTXprYUZQZjVObWNBUTdOeGhNV2toQmo3?= =?utf-8?B?SE1MR0NxZzhrWmR2cmFNQVRIUnRiUyttYURUZ0dxQmQ1R202V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1AyY3RQRE9KTURFb1R3c2lOU3NyLy84bE94UjFiY0FYZDhMVStT?= =?utf-8?B?dmFncEdJYnJFVkI1U3JERTVQZ0V6WmxvVmNSNVZWTDIrUzFOb1BtOGRpZi9y?= =?utf-8?B?a09TOVgrMVNPQlpCem83aGVkRThJUmFTb3pYVEdiM1I1c3RhMG1vUFBJQlg0?= =?utf-8?B?K2F6Nk9VSldtZGF6Y1JkYVZ3Vk5iRk1Fay8wcGs4dE9qbEZpWEtVWHdWZG9y?= =?utf-8?Q?cUiimd9plto7PDUxAp1+wOvhV?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc5ec7da-73b9-48e4-5cb7-08dc18fe165f X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 14:51:15.9184 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Wx69kwCYbgWV/McgxdTLUbSQMMdrB1sIufSlIlpLfFUL6+oFdcTDOayRrvDArcbg X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB6701 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 On 1/18/2024 12:07 PM, Sivaramakrishnan Venkat wrote: > Missing "RTE_PTYPE_UNKNOWN" ptype causes buffer overflow. > Enhance code such that the dev_supported_ptypes_get() > function pointer now returns the number of elements to > eliminate the need for "RTE_PTYPE_UNKNOWN" as the last item. > > Signed-off-by: Sivaramakrishnan Venkat > > -- > v5: > - modified commit message. > - tidied formatting of code. > - added doxygen comment. > v4: > - split into two patches, one for backporting and another one for > upstream rework. > v3: > - reworked the function to return number of elements and remove the > need for RTE_PTYPE_UNKNOWN in list. > v2: > - extended fix for multiple drivers. > --- <...> > 59 files changed, 188 insertions(+), 141 deletions(-) > Some driver still have the flag: - drivers/net/mvneta/mvneta_ethdev.c - drivers/net/mvpp2/mrvl_ethdev.c - pfe - dpaa - drivers/net/thunderx/nicvf_ethdev.c - drivers/net/nfp/nfp_net_common.c Above seems the ones updated in previous patch, flags added in previous patch should be removed in this one. And following seems missed and still has the flag: - drivers/net/ngbe/ngbe_ptypes.c <...> > @@ -3971,9 +3975,6 @@ rte_eth_dev_set_ptypes(uint16_t port_id, uint32_t ptype_mask, > } > } > > - if (set_ptypes != NULL && j < num) > - set_ptypes[j] = RTE_PTYPE_UNKNOWN; > - > This change is new in this version and not mentioned in the changelog. 'rte_eth_dev_set_ptypes()' returns 'set_ptypes' that terminated with 'RTE_PTYPE_UNKNOWN', this is how that API works. Why changing it in this patch?