From patchwork Fri Feb 11 04:49:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "humin (Q)" X-Patchwork-Id: 107335 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B08D4A00BE; Fri, 11 Feb 2022 05:49:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70C58410E5; Fri, 11 Feb 2022 05:49:32 +0100 (CET) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 7ED8940DF5 for ; Fri, 11 Feb 2022 05:49:30 +0100 (CET) Received: from dggeme756-chm.china.huawei.com (unknown [172.30.72.55]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Jw1J92Qsgz1FCsL for ; Fri, 11 Feb 2022 12:45:13 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by dggeme756-chm.china.huawei.com (10.3.19.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.21; Fri, 11 Feb 2022 12:49:28 +0800 From: "Min Hu (Connor)" To: CC: "Min Hu (Connor)" Subject: [PATCH 0/9] dump device info Date: Fri, 11 Feb 2022 12:49:21 +0800 Message-ID: <20220211044930.2449-1-humin29@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggeme756-chm.china.huawei.com (10.3.19.102) X-CFilter-Loop: Reflected 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 This patch set contains introduce dump API and a set of patches for hns3 dump implementation. Min Hu (Connor) (9): ethdev: introduce dump API net/hns3: dump device basic info net/hns3: dump device feature capability net/hns3: dump device MAC info net/hns3: dump queue info net/hns3: dump VLAN configuration info net/hns3: dump flow director basic info net/hns3: dump TM configuration info net/hns3: dump flow control info doc/guides/rel_notes/release_22_03.rst | 7 + drivers/net/hns3/hns3_ethdev.c | 3 +- drivers/net/hns3/hns3_ethdev.h | 3 + drivers/net/hns3/hns3_ethdev_dump.c | 917 +++++++++++++++++++++++++ drivers/net/hns3/hns3_ethdev_vf.c | 1 + drivers/net/hns3/meson.build | 1 + lib/ethdev/ethdev_driver.h | 22 + lib/ethdev/rte_ethdev.c | 17 + lib/ethdev/rte_ethdev.h | 20 + lib/ethdev/version.map | 1 + 10 files changed, 991 insertions(+), 1 deletion(-) create mode 100644 drivers/net/hns3/hns3_ethdev_dump.c