From patchwork Fri Nov 24 03:12:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 134599 X-Patchwork-Delegate: thomas@monjalon.net 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 70F07433B2; Fri, 24 Nov 2023 04:12:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B50343246; Fri, 24 Nov 2023 04:12:25 +0100 (CET) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id EA3CF40A6E for ; Fri, 24 Nov 2023 04:12:18 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Sc0LQ37xXz1P8nP; Fri, 24 Nov 2023 11:08:46 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by kwepemm000004.china.huawei.com (7.193.23.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 24 Nov 2023 11:12:16 +0800 From: Huisong Li To: , , , Ray Kinsella , Ajit Khaparde , =?utf-8?q?Morten_Br=C3=B8rup?= , Ferruh Yigit , "Min Hu (Connor)" CC: , Subject: [PATCH 5/6] doc/features: add dump device private information feature Date: Fri, 24 Nov 2023 11:12:17 +0800 Message-ID: <20231124031218.46664-6-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231124031218.46664-1-lihuisong@huawei.com> References: <20231123135916.33315-1-lihuisong@huawei.com> <20231124031218.46664-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm000004.china.huawei.com (7.193.23.18) 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 Add dump device private information feature. Fixes: edcf22c6d389 ("ethdev: introduce dump API") Cc: stable@dpdk.org Signed-off-by: Huisong Li --- doc/guides/nics/features.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index ef061759c7..c5c4dbf745 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -832,6 +832,18 @@ registers and register size). * **[related] API**: ``rte_eth_dev_get_reg_info()``. +.. _nic_features_device_private_info_dump: + +Device private information dump +------------------------------- + +Supports retrieving device private information to a file. Provided data and +the order depends on PMD. + +* **[implements] eth_dev_ops**: ``eth_dev_priv_dump``. +* **[related] API**: ``rte_eth_dev_priv_dump()``. + + .. _nic_features_led: LED