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 0EA2E41DA4; Wed, 1 Mar 2023 04:12:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C225541611; Wed, 1 Mar 2023 04:12:43 +0100 (CET) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id EC05840A8A for ; Wed, 1 Mar 2023 04:12:40 +0100 (CET) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4PRK5q6JBGzrSQ4; Wed, 1 Mar 2023 11:11:59 +0800 (CST) Received: from localhost.localdomain (10.50.163.32) 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.2507.21; Wed, 1 Mar 2023 11:12:38 +0800 From: Chengwen Feng To: , , CC: Subject: [PATCH 0/5] fix race-condition of proactive error handling mode Date: Wed, 1 Mar 2023 03:06:05 +0000 Message-ID: <20230301030610.49468-1-fengchengwen@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.50.163.32] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) 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 patch fixes race-condition of proactive error handling mode, the discussion thread [1]. [1] http://patchwork.dpdk.org/project/dpdk/patch/20230220060839.1267349-2-ashok.k.kaladi@intel.com/ Chengwen Feng (5): ethdev: fix race-condition of proactive error handling mode net/hns3: replace fp ops config function net/bnxt: fix race-condition when report error recovery net/bnxt: use fp ops setup function app/testpmd: add error recovery usage demo app/test-pmd/testpmd.c | 80 +++++++++++++++++++++++++ app/test-pmd/testpmd.h | 4 +- doc/guides/prog_guide/poll_mode_drv.rst | 20 +++---- drivers/net/bnxt/bnxt_cpr.c | 18 +++--- drivers/net/bnxt/bnxt_ethdev.c | 9 +-- drivers/net/hns3/hns3_rxtx.c | 21 +------ lib/ethdev/ethdev_driver.c | 8 +++ lib/ethdev/ethdev_driver.h | 10 ++++ lib/ethdev/rte_ethdev.h | 32 ++++++---- lib/ethdev/version.map | 1 + 10 files changed, 143 insertions(+), 60 deletions(-) -- 2.17.1