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 C7D3A41D50; Thu, 23 Feb 2023 13:30:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3745431A0; Thu, 23 Feb 2023 13:30:41 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id A4F354316E for ; Thu, 23 Feb 2023 13:30:40 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31NCMxF6003939 for ; Thu, 23 Feb 2023 04:30:39 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=PwddU6H4wJGs0f/fWdD/5J/YLNc6Oi/QBqnlfiF0fzc=; b=in4W2kHuaEQiAawAdWpeumE7KkAOI1CMFjDvuZ+6vzWSkBZ+RD8b0NtWXaAQpCwumXcC 5msyb2N5YkXbdm7vyChIbQCBLCoCITYnwrVCWrgwc6vOe8dkjDNpSv8ZQ2XNjiDnq7Xj 4rlSzimWB7czjftael/URexc4B5cXbl1l0XbukWpo0Zjt4ReMqSzBq9GEtby79dSrPuP VH7+pHc7HriCZB7eyFtY+/xuY2ygMj1lTXqYiFGQYz9gO7NJi6m362OTsr+E/qFeAAVY N0Ozb2/ssksH3n/7rtImt+xKvDlZZd14xQbP1rdScslPEEIn6ol7RUR37XgZsD++IC3U Fw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3nwy5h1am2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 23 Feb 2023 04:30:38 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 23 Feb 2023 04:30:37 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Thu, 23 Feb 2023 04:30:37 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id EA7423F708C; Thu, 23 Feb 2023 04:30:35 -0800 (PST) From: Ankur Dwivedi To: CC: , Ankur Dwivedi Subject: [PATCH v1 0/2] bug fix in ethdev trace Date: Thu, 23 Feb 2023 18:00:27 +0530 Message-ID: <20230223123029.2117781-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: B6RVZakkhEObZT1KfGxySBnNL507Xp40 X-Proofpoint-ORIG-GUID: B6RVZakkhEObZT1KfGxySBnNL507Xp40 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-23_06,2023-02-23_01,2023-02-09_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 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. Ankur Dwivedi (2): ethdev: fix null pointer dereference ethdev: pass structure pointer lib/ethdev/ethdev_trace.h | 33 +++++++++------------------------ lib/ethdev/rte_ethdev.c | 2 +- 2 files changed, 10 insertions(+), 25 deletions(-) -- 2.25.1