Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/118158/?format=api
http://patches.dpdk.org/api/patches/118158/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221013124227.40123-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": "<20221013124227.40123-1-fengchengwen@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221013124227.40123-1-fengchengwen@huawei.com", "date": "2022-10-13T12:42:22", "name": "[v13,0/5] support error handling mode", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 2146, "url": "http://patches.dpdk.org/api/people/2146/?format=api", "name": "fengchengwen", "email": "fengchengwen@huawei.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221013124227.40123-1-fengchengwen@huawei.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/118158/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/118158/checks/", "tags": {}, "related": [], "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 5ACD9A0093;\n\tThu, 13 Oct 2022 14:48:25 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 09A2242F7C;\n\tThu, 13 Oct 2022 14:48:17 +0200 (CEST)", "from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255])\n by mails.dpdk.org (Postfix) with ESMTP id 7E59C42F3A\n for <dev@dpdk.org>; Thu, 13 Oct 2022 14:48:13 +0200 (CEST)", "from dggpeml500024.china.huawei.com (unknown [172.30.72.53])\n by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Mp8MV4HYTz1P7KQ;\n Thu, 13 Oct 2022 20:43:34 +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, 13 Oct 2022 20:48:10 +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 v13 0/5] support error handling mode", "Date": "Thu, 13 Oct 2022 12:42:22 +0000", "Message-ID": "<20221013124227.40123-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": "dggems703-chm.china.huawei.com (10.3.19.180) 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:\n\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: add error handling mode to device info\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---\nv13: Address comments from Andrew (rework part of rst).\nv12: Address comments from Andrew.\nv11: Fix clang-static fail due wrong experimental placement.\nv10: Accurately describe the recovery success scenario so that\n addressed comments from Ferruh.\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 | 15 +++++\n app/test-pmd/parameters.c | 10 +++-\n app/test-pmd/testpmd.c | 8 ++-\n doc/guides/prog_guide/poll_mode_drv.rst | 41 +++++++++++++\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 | 77 +++++++++++++++++++++++++\n 15 files changed, 212 insertions(+), 4 deletions(-)", "diff": null, "prefixes": [ "v13", "0/5" ] }{ "id": 118158, "url": "