Cover Detail
Show a cover letter.
GET /api/covers/116635/?format=api
http://patches.dpdk.org/api/covers/116635/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20220922074151.39450-1-fengchengwen@huawei.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220922074151.39450-1-fengchengwen@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220922074151.39450-1-fengchengwen@huawei.com", "date": "2022-09-22T07:41:46", "name": "[v9,0/5] support error handling mode", "submitter": { "id": 2146, "url": "http://patches.dpdk.org/api/people/2146/?format=api", "name": "fengchengwen", "email": "fengchengwen@huawei.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20220922074151.39450-1-fengchengwen@huawei.com/mbox/", "series": [ { "id": 24773, "url": "http://patches.dpdk.org/api/series/24773/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24773", "date": "2022-09-22T07:41:51", "name": "support error handling mode", "version": 9, "mbox": "http://patches.dpdk.org/series/24773/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/116635/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4F478A0543;\n\tThu, 22 Sep 2022 09:48:14 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5D961410D0;\n\tThu, 22 Sep 2022 09:48:10 +0200 (CEST)", "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 63E6C40E0F\n for <dev@dpdk.org>; Thu, 22 Sep 2022 09:48:07 +0200 (CEST)", "from dggpeml500024.china.huawei.com (unknown [172.30.72.55])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MY6jg4PlPzWgvL;\n Thu, 22 Sep 2022 15:44:07 +0800 (CST)", "from localhost.localdomain (10.67.165.24) by\n dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2375.31; Thu, 22 Sep 2022 15:48:04 +0800" ], "From": "Chengwen Feng <fengchengwen@huawei.com>", "To": "<thomas@monjalon.net>, <ferruh.yigit@xilinx.com>, <ferruh.yigit@amd.com>", "CC": "<dev@dpdk.org>, <kalesh-anakkur.purayil@broadcom.com>,\n <somnath.kotur@broadcom.com>, <ajit.khaparde@broadcom.com>, <mdr@ashroe.eu>,\n <Andrew.Rybchenko@oktetlabs.ru>", "Subject": "[PATCH v9 0/5] support error handling mode", "Date": "Thu, 22 Sep 2022 07:41:46 +0000", "Message-ID": "<20220922074151.39450-1-fengchengwen@huawei.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20220128124831.427-1-kalesh-anakkur.purayil@broadcom.com>", "References": "<20220128124831.427-1-kalesh-anakkur.purayil@broadcom.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.67.165.24]", "X-ClientProxiedBy": "dggems705-chm.china.huawei.com (10.3.19.182) To\n 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 <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "This patchset introduce error handling mode concept, the supported modes \nare as follows:\n1) PASSIVE: passive error handling, after the PMD detect that a reset \nis required, the PMD reports RTE_ETH_EVENT_INTR_RESET event, and\napplication invoke rte_eth_dev_reset to recover the port.\n\n2) PROACTIVE: proactive error handling, after the PMD detect that a reset \nis required, the PMD reports RTE_ETH_EVENT_ERR_RECOVERING event, and do \nrecovery internally, finally, reports the recovery result event.\n\nChengwen Feng (2):\n ethdev: support get port error handling mode\n net/hns3: support proactive error handling mode\n\nKalesh AP (3):\n ethdev: support proactive error handling mode\n app/testpmd: support error handling mode event\n net/bnxt: support proactive error handling mode\n\n---\nv9: Introduce error handling mode concept.\n Addressed comments from Thomas and Ray. \nv8: Addressed comments from Thomas and Ferruh.\n Also introduced RECOVER_FAIL event.\n Add hns3 driver patch.\nv7: Addressed comments from Thomas and Andrew.\nv6: Addressed comments from Asaf Penso.\n 1. Updated 20.11 release notes with the new events added.\n 2. updated testpmd parse_event_printing_config function.\nv5: Addressed comments from Ophir Munk.\n 1. Renamed the new event name to RTE_ETH_EVENT_ERR_RECOVERING.\n 2. Fixed testpmd logs.\n 3. Documented the new recovery events.\nv4: Addressed comments from Thomas Monjalon\n 1. Added doxygen comments about new events.\nV3: Fixed a typo in commit log.\nV2: Added a new event RTE_ETH_EVENT_RESET instead of using the\n RTE_ETH_EVENT_INTR_RESET to notify applications about device reset.\n\n app/test-pmd/config.c | 4 ++\n app/test-pmd/parameters.c | 10 ++++-\n app/test-pmd/testpmd.c | 8 +++-\n doc/guides/prog_guide/poll_mode_drv.rst | 39 +++++++++++++++++++\n doc/guides/rel_notes/release_22_11.rst | 12 ++++++\n drivers/net/bnxt/bnxt_cpr.c | 4 ++\n drivers/net/bnxt/bnxt_ethdev.c | 13 ++++++-\n drivers/net/e1000/igb_ethdev.c | 2 +\n drivers/net/ena/ena_ethdev.c | 2 +\n drivers/net/hns3/hns3_common.c | 2 +\n drivers/net/hns3/hns3_intr.c | 24 ++++++++++++\n drivers/net/iavf/iavf_ethdev.c | 2 +\n drivers/net/ixgbe/ixgbe_ethdev.c | 2 +\n drivers/net/txgbe/txgbe_ethdev_vf.c | 2 +\n lib/ethdev/rte_ethdev.h | 52 ++++++++++++++++++++++++-\n 15 files changed, 173 insertions(+), 5 deletions(-)" }{ "id": 116635, "url": "