From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0AB29A0350; Tue, 30 Jun 2020 10:32:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C3D51BEDC; Tue, 30 Jun 2020 10:32:28 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id B0ED01BEB1 for ; Tue, 30 Jun 2020 10:32:26 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05U8VRWT007504; Tue, 30 Jun 2020 01:32:25 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0818; bh=X3rw9NIE6D8Lpj1XA7uAo5AMF5E6cUX5RmBDLtfO8sA=; b=BNSfhgbcDY+vCkpbT5H/hHrTCJNeP1mZIqPyuecCd5vBMPaQdIb1boCjX77EAPFwJDhV EgkS7fJz5QnBoWtgjIq7zVsVeKBfee9zdM7e8XtK2zPaQldw2uAg2VKGiTjfnRVeFZe9 7iPlkRjDvDNT8U/zE+/k2tfzIqwr6RxU+ZFf+mnayhflhli18j81xtlmXDEuMTTStgu5 xSj/H0OBCVjrPOigk++bknV6WNyGzei/ELbvNDmAtxyS2PXMTslwab8q1eSvTHipyqhW 6iw1uVgbtcfHevl9H+DudgptjZgaBWnFT1F8TQQkO8CJ1NnFuoHOM0y1xvZFpVbJ28Mb mg== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 31y0wrxtxn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 30 Jun 2020 01:32:25 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 30 Jun 2020 01:32:23 -0700 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.2 via Frontend Transport; Tue, 30 Jun 2020 01:32:24 -0700 Received: from irv1user08.caveonetworks.com (unknown [10.104.116.105]) by maili.marvell.com (Postfix) with ESMTP id C664C3F703F; Tue, 30 Jun 2020 01:32:23 -0700 (PDT) Received: (from rmody@localhost) by irv1user08.caveonetworks.com (8.14.4/8.14.4/Submit) id 05U8WNkr013186; Tue, 30 Jun 2020 01:32:23 -0700 X-Authentication-Warning: irv1user08.caveonetworks.com: rmody set sender to rmody@marvell.com using -f From: Rasesh Mody To: , CC: Rasesh Mody , , Date: Tue, 30 Jun 2020 01:32:11 -0700 Message-ID: <20200630083215.13108-1-rmody@marvell.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200628055850.5275-1-rmody@marvell.com> References: <20200628055850.5275-1-rmody@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-06-30_02:2020-06-30, 2020-06-29 signatures=0 Subject: [dpdk-dev] [PATCH v2 0/4] net/qede: add FW debug data collection support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi Jerin, Ferruh, This patch-set adds an ability to collect FW and HW Debug Data/Dump (referred to as FW/HW Dump) to QEDE PMD. The dump is collected either when PMD detects an error or when a DPDK application asks PMD to collect it upon detection of application error. This FW/HW Dump needs to be saved to a file and sent to Marvell for analysis. Please apply to dpdk-next-net-mrvl and dpdk-next-net trees. v2: Addressed checkpatch issues and updated supported features. Thanks! -Rasesh Rasesh Mody (4): net/qede/base: re-arrange few structures for DDC net/qede/base: add changes for debug data collection net/qede: add infrastructure for debug data collection net/qede: add support for get register operation doc/guides/nics/features/qede.ini | 1 + drivers/net/qede/Makefile | 5 +- drivers/net/qede/base/bcm_osal.c | 31 + drivers/net/qede/base/bcm_osal.h | 18 +- drivers/net/qede/base/common_hsi.h | 1 + drivers/net/qede/base/ecore.h | 54 +- drivers/net/qede/base/ecore_cxt.c | 200 +- drivers/net/qede/base/ecore_cxt.h | 140 +- drivers/net/qede/base/ecore_dev.c | 13 + drivers/net/qede/base/ecore_hsi_common.h | 184 +- drivers/net/qede/base/ecore_hsi_debug_tools.h | 2 +- drivers/net/qede/base/ecore_hsi_func_common.h | 17 + drivers/net/qede/base/ecore_init_fw_funcs.h | 7 - drivers/net/qede/base/ecore_mcp.c | 211 + drivers/net/qede/base/ecore_mcp_api.h | 37 + drivers/net/qede/base/ecore_status.h | 2 + drivers/net/qede/base/reg_addr.h | 846 ++ drivers/net/qede/qede_debug.c | 8120 +++++++++++++++++ drivers/net/qede/qede_debug.h | 759 ++ drivers/net/qede/qede_ethdev.c | 2 +- drivers/net/qede/qede_ethdev.h | 25 + drivers/net/qede/qede_if.h | 45 + drivers/net/qede/qede_main.c | 42 +- drivers/net/qede/qede_regs.c | 271 + 24 files changed, 10874 insertions(+), 159 deletions(-) create mode 100644 drivers/net/qede/base/ecore_hsi_func_common.h create mode 100644 drivers/net/qede/qede_debug.c create mode 100644 drivers/net/qede/qede_debug.h create mode 100644 drivers/net/qede/qede_regs.c -- 2.18.0