get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 106008,
    "url": "https://patches.dpdk.org/api/patches/106008/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/2afe61e566ebad1-00019.Richmail.00005001707698381847@cmss.chinamobile.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<2afe61e566ebad1-00019.Richmail.00005001707698381847@cmss.chinamobile.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/2afe61e566ebad1-00019.Richmail.00005001707698381847@cmss.chinamobile.com",
    "date": "2022-01-17T13:27:44",
    "name": "net/bonding: fix RSS not work for bonding in DPDK21.11",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2215db2e19b2c9492ab29f61f59ddff2ea06200c",
    "submitter": {
        "id": 2487,
        "url": "https://patches.dpdk.org/api/people/2487/?format=api",
        "name": "俞文俊_yewu",
        "email": "yuwenjun_yewu@cmss.chinamobile.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/2afe61e566ebad1-00019.Richmail.00005001707698381847@cmss.chinamobile.com/mbox/",
    "series": [
        {
            "id": 21226,
            "url": "https://patches.dpdk.org/api/series/21226/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21226",
            "date": "2022-01-17T13:27:44",
            "name": "net/bonding: fix RSS not work for bonding in DPDK21.11",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/21226/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/106008/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/106008/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 3C8F5A00C3;\n\tTue, 18 Jan 2022 09:48:44 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4A706426F9;\n\tTue, 18 Jan 2022 09:48:39 +0100 (CET)",
            "from cmccmta2.chinamobile.com (cmccmta2.chinamobile.com\n [221.176.66.80])\n by mails.dpdk.org (Postfix) with ESMTP id 3BD0840141;\n Mon, 17 Jan 2022 14:27:49 +0100 (CET)",
            "from spf.mail.chinamobile.com (unknown[172.16.121.11]) by\n rmmx-syy-dmz-app05-12005 (RichMail) with SMTP id 2ee561e56ecd072-f38f0;\n Mon, 17 Jan 2022 21:27:44 +0800 (CST)",
            "from yuwenjun_yewu@cmss.chinamobile.com ( [10.42.68.13] )\n by ajax-webmail-syy-appsvr06-11006 (Richmail) with HTTP;\n Mon, 17 Jan 2022 21:27:44 +0800 (CST)"
        ],
        "X-RM-TRANSID": [
            "2ee561e56ecd072-f38f0",
            "2afe61e566ebad1-00019"
        ],
        "X-RM-SPAM-FLAG": "00000000",
        "Date": "Mon, 17 Jan 2022 21:27:44 +0800 (CST)",
        "From": "=?utf-8?b?5L+e5paH5L+KX3lld3U=?= <yuwenjun_yewu@cmss.chinamobile.com>",
        "To": "\"ferruh.yigit\" <ferruh.yigit@intel.com>, humin29 <humin29@huawei.com>,\n tangchengchang <tangchengchang@huawei.com>",
        "Cc": "dev <dev@dpdk.org>, stable <stable@dpdk.org>",
        "Message-ID": "\n <2afe61e566ebad1-00019.Richmail.00005001707698381847@cmss.chinamobile.com>",
        "Subject": "[PATCH] net/bonding: fix RSS not work for bonding in DPDK21.11",
        "MIME-Version": "1.0",
        "Content-Type": "multipart/alternative;\n boundary=\"----=_Part_37149_816465832.1642426064005\"",
        "X-Priority": "3",
        "X-RM-OA-ENC-TYPE": "0",
        "X-RM-FontColor": "0",
        "X-CLIENT-INFO": "X-TIMING=0&X-MASSSENT=0&X-SENSITIVE=0",
        "X-Mailer": "Richmail_Webapp(V2.3.25)",
        "X-Mailman-Approved-At": "Tue, 18 Jan 2022 09:48:37 +0100",
        "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": "From 85c4ffffe32996fc262dd6f69d0ce272ae8e8350 Mon Sep 17 00:00:00 2001\nFrom: Yu Wenjun \nDate: Wed, 12 Jan 2022 15:01:10 +0800\nSubject: [PATCH] net/bonding: fix RSS not work for bonding\n\nRSS don't work when bond_ethdev_configure called before rte_eth_bond_slave_add in DPDK21.11.\n\ne.g.:\n\ndont't work(examples/bond/main.c):\nrte_eth_bond_create()\nrte_eth_dev_configure()\nrte_eth_bond_slave_add()\nrte_eth_dev_start()\n\nwork(testpmd):\nrte_eth_bond_create()\nrte_eth_bond_slave_add()\nrte_eth_dev_configure()\nrte_eth_dev_start()\n\nSigned-off-by: Yu Wenjun \nAcked-by: Min Hu (Connor) \n---\n drivers/net/bonding/rte_eth_bond_pmd.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c\nindex 84f4900ee5..31bcee15cf 100644\n--- a/drivers/net/bonding/rte_eth_bond_pmd.c\n+++ b/drivers/net/bonding/rte_eth_bond_pmd.c\n@@ -3504,6 +3504,11 @@ bond_ethdev_configure(struct rte_eth_dev *dev)\n \tif (dev->data->dev_conf.rxmode.mq_mode & RTE_ETH_MQ_RX_RSS) {\n \t\tstruct rte_eth_rss_conf *rss_conf =\n \t\t\t&dev->data->dev_conf.rx_adv_conf.rss_conf\n+\n+\t\tif (internals->rss_key_len == 0) {\n+\t\t\tinternals->rss_key_len = sizeof(default_rss_key)\n+\t\t}\n+\n \t\tif (rss_conf->rss_key != NULL) {\n \t\t\tif (internals->rss_key_len > rss_conf->rss_key_len) {\n \t\t\t\tRTE_BOND_LOG(ERR, \"Invalid rss key length(%u)\",\n",
    "prefixes": []
}