get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 106011,
    "url": "https://patches.dpdk.org/api/patches/106011/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220118025921.437-1-yuwenjun@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": "<20220118025921.437-1-yuwenjun@cmss.chinamobile.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220118025921.437-1-yuwenjun@cmss.chinamobile.com",
    "date": "2022-01-18T02:59:21",
    "name": "net/bonding: fix RSS not work for bonding",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c9e9dfc37a248d711a60c30659d9de7efc6f79e3",
    "submitter": {
        "id": 2488,
        "url": "https://patches.dpdk.org/api/people/2488/?format=api",
        "name": "Yu Wenjun",
        "email": "yuwenjun@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/20220118025921.437-1-yuwenjun@cmss.chinamobile.com/mbox/",
    "series": [
        {
            "id": 21229,
            "url": "https://patches.dpdk.org/api/series/21229/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21229",
            "date": "2022-01-18T02:59:21",
            "name": "net/bonding: fix RSS not work for bonding",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/21229/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/106011/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/106011/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 80C57A00C3;\n\tTue, 18 Jan 2022 09:48:59 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0F59D42717;\n\tTue, 18 Jan 2022 09:48:42 +0100 (CET)",
            "from cmccmta1.chinamobile.com (cmccmta1.chinamobile.com\n [221.176.66.79])\n by mails.dpdk.org (Postfix) with ESMTP id 837A440140;\n Tue, 18 Jan 2022 04:00:35 +0100 (CET)",
            "from spf.mail.chinamobile.com (unknown[172.16.121.5]) by\n rmmx-syy-dmz-app03-12003 (RichMail) with SMTP id 2ee361e62d51422-fab33;\n Tue, 18 Jan 2022 11:00:33 +0800 (CST)",
            "from localhost.localdomain (unknown[223.112.105.130])\n by rmsmtp-syy-appsvr03-12003 (RichMail) with SMTP id 2ee361e62d42a8b-a4bcd;\n Tue, 18 Jan 2022 11:00:33 +0800 (CST)"
        ],
        "X-RM-TRANSID": [
            "2ee361e62d51422-fab33",
            "2ee361e62d42a8b-a4bcd"
        ],
        "X-RM-TagInfo": "emlType=0                                       ",
        "X-RM-SPAM-FLAG": "00000000",
        "From": "Yu Wenjun <yuwenjun@cmss.chinamobile.com>",
        "To": "ferruh.yigit@intel.com,\n\thumin29@huawei.com,\n\ttangchengchang@huawei.com",
        "Cc": "dev@dpdk.org, stable@dpdk.org, Yu Wenjun <yuwenjun@cmss.chinamobile.com>",
        "Subject": "[PATCH] net/bonding: fix RSS not work for bonding",
        "Date": "Tue, 18 Jan 2022 10:59:21 +0800",
        "Message-Id": "<20220118025921.437-1-yuwenjun@cmss.chinamobile.com>",
        "X-Mailer": "git-send-email 2.32.0.windows.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "RSS don't work when bond_ethdev_configure called before \nrte_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 <yuwenjun@cmss.chinamobile.com>\nAcked-by: Min Hu (Connor) <humin29@huawei.com>\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": []
}