get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/133070/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 133070,
    "url": "http://patches.dpdk.org/api/patches/133070/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231020100746.31520-5-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": "<20231020100746.31520-5-fengchengwen@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231020100746.31520-5-fengchengwen@huawei.com",
    "date": "2023-10-20T10:07:43",
    "name": "[v2,4/7] net/bnxt: use fp ops setup function",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e347bcb2542dc320f9dabe25b92911688a7fe45f",
    "submitter": {
        "id": 2146,
        "url": "http://patches.dpdk.org/api/people/2146/?format=api",
        "name": "fengchengwen",
        "email": "fengchengwen@huawei.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231020100746.31520-5-fengchengwen@huawei.com/mbox/",
    "series": [
        {
            "id": 29929,
            "url": "http://patches.dpdk.org/api/series/29929/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29929",
            "date": "2023-10-20T10:07:42",
            "name": "fix race-condition of proactive error handling mode",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/29929/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/133070/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/133070/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 56C0D431BB;\n\tFri, 20 Oct 2023 12:11:16 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 54AC940EE7;\n\tFri, 20 Oct 2023 12:11:02 +0200 (CEST)",
            "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 1A8E34069D\n for <dev@dpdk.org>; Fri, 20 Oct 2023 12:10:57 +0200 (CEST)",
            "from dggpeml100024.china.huawei.com (unknown [172.30.72.56])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SBgHN24qmzVlm8;\n Fri, 20 Oct 2023 18:07:12 +0800 (CST)",
            "from localhost.localdomain (10.50.163.32) by\n dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2507.31; Fri, 20 Oct 2023 18:10:55 +0800"
        ],
        "From": "Chengwen Feng <fengchengwen@huawei.com>",
        "To": "<thomas@monjalon.net>, <ferruh.yigit@amd.com>,\n <konstantin.ananyev@huawei.com>, <ajit.khaparde@broadcom.com>, Somnath Kotur\n <somnath.kotur@broadcom.com>",
        "CC": "<dev@dpdk.org>, <andrew.rybchenko@oktetlabs.ru>,\n <kalesh-anakkur.purayil@broadcom.com>, <Honnappa.Nagarahalli@arm.com>",
        "Subject": "[PATCH v2 4/7] net/bnxt: use fp ops setup function",
        "Date": "Fri, 20 Oct 2023 10:07:43 +0000",
        "Message-ID": "<20231020100746.31520-5-fengchengwen@huawei.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20231020100746.31520-1-fengchengwen@huawei.com>",
        "References": "<20230301030610.49468-1-fengchengwen@huawei.com>\n <20231020100746.31520-1-fengchengwen@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.50.163.32]",
        "X-ClientProxiedBy": "dggems705-chm.china.huawei.com (10.3.19.182) To\n dggpeml100024.china.huawei.com (7.185.36.115)",
        "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": "Use rte_eth_fp_ops_setup() instead of directly manipulating\nrte_eth_fp_ops variable.\n\nCc: stable@dpdk.org\n\nSigned-off-by: Chengwen Feng <fengchengwen@huawei.com>\n---\n drivers/net/bnxt/bnxt_cpr.c    | 5 +----\n drivers/net/bnxt/bnxt_ethdev.c | 5 +----\n 2 files changed, 2 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/drivers/net/bnxt/bnxt_cpr.c b/drivers/net/bnxt/bnxt_cpr.c\nindex d8947d5b5f..3a08028331 100644\n--- a/drivers/net/bnxt/bnxt_cpr.c\n+++ b/drivers/net/bnxt/bnxt_cpr.c\n@@ -416,10 +416,7 @@ void bnxt_stop_rxtx(struct rte_eth_dev *eth_dev)\n \teth_dev->rx_pkt_burst = rte_eth_pkt_burst_dummy;\n \teth_dev->tx_pkt_burst = rte_eth_pkt_burst_dummy;\n \n-\trte_eth_fp_ops[eth_dev->data->port_id].rx_pkt_burst =\n-\t\teth_dev->rx_pkt_burst;\n-\trte_eth_fp_ops[eth_dev->data->port_id].tx_pkt_burst =\n-\t\teth_dev->tx_pkt_burst;\n+\trte_eth_fp_ops_setup(eth_dev);\n \trte_mb();\n \n \t/* Allow time for threads to exit the real burst functions. */\ndiff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c\nindex 003a6eec11..9d9b9ae8cf 100644\n--- a/drivers/net/bnxt/bnxt_ethdev.c\n+++ b/drivers/net/bnxt/bnxt_ethdev.c\n@@ -4428,10 +4428,7 @@ static void bnxt_dev_recover(void *arg)\n \tif (rc)\n \t\tgoto err_start;\n \n-\trte_eth_fp_ops[bp->eth_dev->data->port_id].rx_pkt_burst =\n-\t\tbp->eth_dev->rx_pkt_burst;\n-\trte_eth_fp_ops[bp->eth_dev->data->port_id].tx_pkt_burst =\n-\t\tbp->eth_dev->tx_pkt_burst;\n+\trte_eth_fp_ops_setup(bp->eth_dev);\n \trte_mb();\n \n \tPMD_DRV_LOG(INFO, \"Port: %u Recovered from FW reset\\n\",\n",
    "prefixes": [
        "v2",
        "4/7"
    ]
}