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 0593141DC8; Fri, 3 Mar 2023 14:39:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA05D40EE3; Fri, 3 Mar 2023 14:39:27 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2054.outbound.protection.outlook.com [40.107.237.54]) by mails.dpdk.org (Postfix) with ESMTP id 5C1BB400D6 for ; Fri, 3 Mar 2023 14:39:26 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dnY3E1Uw8wQVPabHMCv64KSWEKLytG/8QSDJrLytTHFBgCRIQJ5M1jF3zLmuJ4TMRDpZ2lCpfBvZn4Vnvu1+xjLPs2/10l49JQERToomYN81fTGg+jryJAoLU54KAeC6i4fFauQm2CRyPJ1syXQ+ZmalRsJt7fBLurdSDbiU875ec6Rf3oIMNVog0D9A3gwqdivVRYBXrNpnEBdSNnGt2u3y+OE/VgAAs4GgtwZDm7Gcd96KOfkeaW0p10+gO2sHtdJ4rBu5iU5N49HizxWjY+j5oQcd2qgkYmIO8NvRNaWKpVbLWD468P5pB7xF/2ExZ+pRbz1l7JtXM9OiNxGjdg== 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=FgHCI3Yl9U39sG0LJvE2QT50mNou7y4/8uatYCnB3JM=; b=JdTJqME6ZT4ldrU8PL8ZS3hKN0CGGugu1azc5YotD5F2TDiEShYjso2XV2HjNYEQfDjLSrQ+dzIO+O6Y4KiZsk54RHyHxU9kkWFmRR0Ws7KLMHrsSBqScD2DjepFS51JSpg+ZP7xb7AkbSKUWXxA3yrzz4MxXP+pPoErizM2ClHPGRY007/MvxUBtgPHJlUBeXuf2gFcA/LMHAziDQqHcU4z0Qicf2HDi1byUy26fCbkDgyeo04ugNzNPdFRdAr9g16yiF8BuZcGBdXaUj/+QjuxdvDD4cEOP6Z6L/E2WK82mIfuvM0qvfaih9p0foH1tpN9wuKoEHAFea78Mso+kQ== 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=FgHCI3Yl9U39sG0LJvE2QT50mNou7y4/8uatYCnB3JM=; b=1CkCmB4Yi2Hg/K5LZ6XFwyF9YfKVTEhwo5O+AOce3nuN/vlIsXle9vOx9rTTlcGWO486v4zwQW7jLFstVG8PHyb83uAcRr2i+it9DseDyW2i0KuHOySeAkPlXkd9AN6A8hTyv3GKXmEZSc4qHRmonpMhxVb6HHerHefVdesPLiU= 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 PH0PR12MB7470.namprd12.prod.outlook.com (2603:10b6:510:1e9::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.22; Fri, 3 Mar 2023 13:39:24 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%4]) with mapi id 15.20.6156.022; Fri, 3 Mar 2023 13:39:24 +0000 Message-ID: <224797be-f5b1-67d2-aef6-39f631b4d4c4@amd.com> Date: Fri, 3 Mar 2023 13:39:19 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2 0/2] bug fix in ethdev trace Content-Language: en-US To: Ankur Dwivedi , dev@dpdk.org Cc: weiyuanx.li@intel.com, jerinj@marvell.com, david.marchand@redhat.com, thomas@monjalon.net, yux.jiang@intel.com, dukaix.yuan@intel.com References: <20230223123029.2117781-1-adwivedi@marvell.com> <20230303113137.2745570-1-adwivedi@marvell.com> From: Ferruh Yigit In-Reply-To: <20230303113137.2745570-1-adwivedi@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0030.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:61::18) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH0PR12MB7470:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a3b0fdb-1c94-4f4d-2b89-08db1becb3c3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rvJ44LMjnVPYz4I6Ijxfe9TosQOuHZvSesK49bYnlGI2YSVAHCT5iZrcTcFgHOwwmk7GPSseB8+F0NffDI6haLZcDZ4G/ar8TnPB4sSGsIKDmQX/Pl9PIiIXkFYLXNbU+pWHfDOMf4wEbANzrRYlz+fKOQXWQYS42Bu0QpC11bw44KGGVhF305bIJaRkAeBWaGdEz5FGmktrJiUWStJanGvUoaH+UAaaevnUdp2kTxtOgNsEJSIHqVs1v3LV7RT83fU8HPS2SknVp9piDgY5Md5DSm2dYePkJa8OkHGXc28Gx0419DgEOG4aFtHtUb+Ou5+dPaVbKBfywc3uX+mnFTcAxUWwAe7CfUbUf2kXcygORj9Q0szFhfe7fKlmFYYzvAHnF3HqprXoa8hfTiqBIhNsKqkuDYEAoTV/iH6paDPf+ROAi9zm3xwGtLr89IEIrUgGmGTPQNADhZqx9rxQvzgmER136tuXeptvjsAeBG8Ve1INIteSTLAVvMZUIA8+2VaJ34D5N39IIg8uo0XiUXp9si4Q983hl9XnjkUz1gus7EJRqihRtvCmINGCMUv2ea9FKNyRVH9qXKpQLL6/iMzLIK+n8/rMeApKpUXEyzewR6v9h6SNKgfXZal/5/k3UIw4Se+vTTCPVoSta/xXHYp8Psuyri+SEzgmXzJbU06hsgWTVvfT74POijRqthHRH4ahISZx07a+/CQ1gvc25eKLzMSwIUx1dQf3bc2nlMc= 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:(13230025)(4636009)(366004)(396003)(136003)(346002)(376002)(39860400002)(451199018)(4326008)(8676002)(66556008)(66946007)(31696002)(6506007)(83380400001)(86362001)(2616005)(38100700002)(186003)(36756003)(316002)(6666004)(53546011)(66476007)(26005)(478600001)(6512007)(6486002)(44832011)(4744005)(8936002)(5660300002)(2906002)(31686004)(41300700001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WjR5MUNnbkNrVU5EQlczaDZlN1ZHR1hZTmp4RnFZbEhDczk0K3U0M0d3VE5o?= =?utf-8?B?VFpTUHhDdnkzeW14VUYyalpZUkp6eVVwUnU4dzR2VHFyU3QzZkxNeDY4WDhZ?= =?utf-8?B?L2hoOGdtQk11N0Z4aGFZQ3IrRzUyNER1MXFtbEF6NnJOY0tjZFJCUTI5dFMw?= =?utf-8?B?UGxYK2dpem8ybk45Zm1sVDcwYTQvK2Y5d2czcXIxKzVxSWR4NUQzUGhlUStp?= =?utf-8?B?ejk1a1FBeFJRcU02UG5veGJw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i?= =?utf-8?B?VG1Bd0Z3dVlBS0llWlpac3BTemgrdFk0aG9IYXN3ZXBhQVdLTVdqaEVpeFl6?= =?utf-8?Q?WTseTM8UqV8NJWZ+YEBa4kX5r?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a3b0fdb-1c94-4f4d-2b89-08db1becb3c3 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2023 13:39:24.7700 (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: 6GSYoLJj03X8LdCpHu61jpIYysFPZODKG0iV8ltOVw0FNlTHCdwlSdwLSOURAopY X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7470 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 3/3/2023 11:31 AM, Ankur Dwivedi wrote: > The first patch in this series adds fix for bug and coverity. > The second patch makes change to pass structure pointer instead of the > structure value, to avoid 64 bytes copy in function call stack for > rte_eth_trace_xstats_get_names. > > v2: > - Removed null pointer reference in rte_eth_trace_read_clock and > rte_flow_trace_create. > - Added Ack by Ferruh in patch (2/2). > > Ankur Dwivedi (2): > ethdev: fix null pointer dereference > ethdev: pass structure pointer Series applied to dpdk-next-net/main, thanks.