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 2FB64A0350; Sun, 28 Jun 2020 07:58:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1188D1BE8A; Sun, 28 Jun 2020 07:58:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id E22751B94F for ; Sun, 28 Jun 2020 07:58:55 +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 05S5uNRs029913; Sat, 27 Jun 2020 22:58:55 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=FyI/nGNb9lUFiZCiIRR5aDWCIfCGiAgEoXCzBRyjAEw=; b=BXbHlxLkFG7zQgTRau01ekMAIzY0KNeZtJHkqXTcUEoZnoHDbrva2AN2SQxT0niMXrT3 Sv6fTVaTqNFr5uFYVdYKgqAzmcBX3mZLCjzKJclxXcIxmwGlXr9xSILKi2mAmrTS0byF j09zAdD1nYh1MgCPWXNhBPcjUy8FzsiD0xloL3H3A3VcphF6Nd4Dhdx7MWP+qLpXWFOr vRc8raxI5AWoM57rTLjRjMg5nvYe+/j+BUf5akC9Fd6VQ17womltDKz+GG1Xh231izzq +H1kXogZQT9tFpgj7OekfyYNWfeLPZWe85vMdIQyXwJwnRvdtiOFictO8WTAEeCilebu Ag== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 31x5mnaeke-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 27 Jun 2020 22:58:54 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 27 Jun 2020 22:58:52 -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; Sat, 27 Jun 2020 22:58:53 -0700 Received: from irv1user08.caveonetworks.com (unknown [10.104.116.105]) by maili.marvell.com (Postfix) with ESMTP id 1ADAA3F703F; Sat, 27 Jun 2020 22:58:53 -0700 (PDT) Received: (from rmody@localhost) by irv1user08.caveonetworks.com (8.14.4/8.14.4/Submit) id 05S5wqs8005341; Sat, 27 Jun 2020 22:58:52 -0700 X-Authentication-Warning: irv1user08.caveonetworks.com: rmody set sender to rmody@marvell.com using -f From: Rasesh Mody To: , CC: Rasesh Mody , , Date: Sat, 27 Jun 2020 22:58:46 -0700 Message-ID: <20200628055850.5275-1-rmody@marvell.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-06-28_01:2020-06-26, 2020-06-28 signatures=0 Subject: [dpdk-dev] [PATCH 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. 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 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 | 8119 +++++++++++++++++ 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 + 23 files changed, 10872 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