From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0BF9BA00BE; Thu, 16 Jun 2022 11:47:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F148A42C10; Thu, 16 Jun 2022 11:47:53 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 596AA4003C for ; Thu, 16 Jun 2022 11:47:52 +0200 (CEST) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LNy4N040NzjXr2; Thu, 16 Jun 2022 17:46:44 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 16 Jun 2022 17:47:50 +0800 From: Chengwen Feng To: , CC: , , , , , Subject: [PATCH v8 0/4] ethdev: support error recovery notification Date: Thu, 16 Jun 2022 17:41:18 +0800 Message-ID: <20220616094122.1909-1-fengchengwen@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220128124830.427-1-kalesh-anakkur.purayil@broadcom.com> References: <20220128124830.427-1-kalesh-anakkur.purayil@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml500024.china.huawei.com (7.185.36.10) 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 patchset support error recovery notification. --- v8: Addressed comments from Thomas and Ferruh. Also introduced RECOVER_FAIL event. Add hns3 driver patch. v7: Addressed comments from Thomas and Andrew. v6: Addressed comments from Asaf Penso. 1. Updated 20.11 release notes with the new events added. 2. updated testpmd parse_event_printing_config function. v5: Addressed comments from Ophir Munk. 1. Renamed the new event name to RTE_ETH_EVENT_ERR_RECOVERING. 2. Fixed testpmd logs. 3. Documented the new recovery events. v4: Addressed comments from Thomas Monjalon 1. Added doxygen comments about new events. V3: Fixed a typo in commit log. V2: Added a new event RTE_ETH_EVENT_RESET instead of using the RTE_ETH_EVENT_INTR_RESET to notify applications about device reset. Chengwen Feng (1): net/hns3: support error recovery notification event Kalesh AP (3): ethdev: support device error recovery notification app/testpmd: handle error recovery notification event net/bnxt: notify applications about device reset/recovery app/test-pmd/parameters.c | 10 ++++++-- app/test-pmd/testpmd.c | 8 ++++++- doc/guides/prog_guide/poll_mode_drv.rst | 32 +++++++++++++++++++++++++ doc/guides/rel_notes/release_22_07.rst | 11 +++++++++ drivers/net/bnxt/bnxt_cpr.c | 4 ++++ drivers/net/bnxt/bnxt_ethdev.c | 11 ++++++++- drivers/net/hns3/hns3_intr.c | 24 +++++++++++++++++++ lib/ethdev/rte_ethdev.h | 6 +++++ 8 files changed, 102 insertions(+), 4 deletions(-) -- 2.33.0