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 433E8A00BE; Tue, 7 Jul 2020 22:19:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 752601DB22; Tue, 7 Jul 2020 22:19:02 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 01F241D9F5 for ; Tue, 7 Jul 2020 22:19:00 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 067K15Jw016842; Tue, 7 Jul 2020 13:19:00 -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=96OSRb/pA9FGez18HTfaXLaFNwS/AL5VNE5+HjpTWsg=; b=qhTWUqt81E43vcyu2N3oZPaYtr+8fFmXFhvOglV+vpOKP7FCB49Cf5qj0wd8NeaIxwt6 8Nj/sFKb3G2T7uwtHksP/pNT8HTxgRGXzCsyvQyZfCkPVcjhg3+L3A/w7ZF9vE2Z5omS 44o/M9uJxzhvhClKmgMNwrDiDjdCRKzdPuJARjodorRW2gkgCuxJCO3Y8i2OeDdJDLr8 3tlIyVLHkiurhtcxicKbsL70cXqHwRnea+w+1Zwpu8JCd9LWGuOtYwLdTZtSm8OJM6d3 j51gas8EJIZWDvB6F/xwxHNS+Ksm1MCd4MbVljsXqklxVDb90Cq6szbll7GEiEPizsbS Kw== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 322s9ncsgc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 07 Jul 2020 13:19:00 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Jul 2020 13:18:58 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 7 Jul 2020 13:18:58 -0700 Received: from irv1user08.caveonetworks.com (unknown [10.104.116.105]) by maili.marvell.com (Postfix) with ESMTP id 588033F703F; Tue, 7 Jul 2020 13:18:58 -0700 (PDT) Received: (from rmody@localhost) by irv1user08.caveonetworks.com (8.14.4/8.14.4/Submit) id 067KIv2Z016241; Tue, 7 Jul 2020 13:18:57 -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, 7 Jul 2020 13:18:40 -0700 Message-ID: <20200707201844.16111-1-rmody@marvell.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200630083215.13108-1-rmody@marvell.com> References: <20200630083215.13108-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-07-07_13:2020-07-07, 2020-07-07 signatures=0 Subject: [dpdk-dev] [PATCH v3 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. v3: Fixed gcc-10 compilation issue. 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 | 26 +- 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, 10883 insertions(+), 163 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