Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76816/?format=api
http://patches.dpdk.org/api/patches/76816/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200908021603.44862-2-huwei013@chinasoftinc.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": "<20200908021603.44862-2-huwei013@chinasoftinc.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200908021603.44862-2-huwei013@chinasoftinc.com", "date": "2020-09-08T02:16:02", "name": "[1/2] app/testpmd: update Rx RSS HASH offload when setting MQ RSS", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "078f7e45cd130cc6cd0fa3bcb0325eb1440b0121", "submitter": { "id": 1537, "url": "http://patches.dpdk.org/api/people/1537/?format=api", "name": "Wei Hu (Xavier)", "email": "huwei013@chinasoftinc.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/20200908021603.44862-2-huwei013@chinasoftinc.com/mbox/", "series": [ { "id": 12002, "url": "http://patches.dpdk.org/api/series/12002/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12002", "date": "2020-09-08T02:16:01", "name": "updates for testpmd", "version": 1, "mbox": "http://patches.dpdk.org/series/12002/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76816/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/76816/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 15E12A04AA;\n\tTue, 8 Sep 2020 04:16:42 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BFFC61C12A;\n\tTue, 8 Sep 2020 04:16:36 +0200 (CEST)", "from mail.chinasoftinc.com (unknown [114.113.233.8])\n by dpdk.org (Postfix) with ESMTP id AFD4A1C11B\n for <dev@dpdk.org>; Tue, 8 Sep 2020 04:16:33 +0200 (CEST)", "from localhost.localdomain (65.49.108.226) by INCCAS002.ito.icss\n (10.168.0.60) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Sep 2020\n 10:16:29 +0800" ], "From": "\"Wei Hu (Xavier)\" <huwei013@chinasoftinc.com>", "To": "<dev@dpdk.org>, Wenzhuo Lu <wenzhuo.lu@intel.com>, Beilei Xing\n <beilei.xing@intel.com>, Bernard Iremonger <bernard.iremonger@intel.com>", "CC": "<xavier.huwei@huawei.com>, <lihuisong@huawei.com>,\n <ferruh.yigit@intel.com>", "Date": "Tue, 8 Sep 2020 10:16:02 +0800", "Message-ID": "<20200908021603.44862-2-huwei013@chinasoftinc.com>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20200908021603.44862-1-huwei013@chinasoftinc.com>", "References": "<20200908021603.44862-1-huwei013@chinasoftinc.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[65.49.108.226]", "Subject": "[dpdk-dev] [PATCH 1/2] app/testpmd: update Rx RSS HASH offload when\n\tsetting MQ RSS", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Huisong Li <lihuisong@huawei.com>\n\nCurrently, when starting testpmd application without '--disable-rss' and\nthe number of Rx queue configured is greater than 1, ETH_MQ_RX_RSS flag\nis set in port->dev_conf.rxmode.mq_mode in testpmd application, and\nDEV_RX_OFFLOAD_RSS_HASH flag is set in rx_offloads\n(dev->data->dev_conf.rxmode.offloads) according to the ETH_MQ_RX_RSS\nflag of rxmode.mq_mode in PMD drivers.\n\nHowever, DEV_RX_OFFLOAD_RSS_HASH is not set to rx_offloads maintained\nin testpmd application, this will cause the inconsistent problem that\nrx_offloads is different for testpmd and PMD drivers.\n\nSigned-off-by: Huisong Li <lihuisong@huawei.com>\nSigned-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>\n---\n app/test-pmd/testpmd.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex 7842c3b..73543bb 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -3356,11 +3356,13 @@ init_port_config(void)\n \t\t}\n \n \t\tif (port->dcb_flag == 0) {\n-\t\t\tif( port->dev_conf.rx_adv_conf.rss_conf.rss_hf != 0)\n+\t\t\tif (port->dev_conf.rx_adv_conf.rss_conf.rss_hf != 0) {\n \t\t\t\tport->dev_conf.rxmode.mq_mode =\n \t\t\t\t\t(enum rte_eth_rx_mq_mode)\n \t\t\t\t\t\t(rx_mq_mode & ETH_MQ_RX_RSS);\n-\t\t\telse\n+\t\t\t\tport->dev_conf.rxmode.offloads |=\n+\t\t\t\t\t\t\tDEV_RX_OFFLOAD_RSS_HASH;\n+\t\t\t} else\n \t\t\t\tport->dev_conf.rxmode.mq_mode = ETH_MQ_RX_NONE;\n \t\t}\n \n", "prefixes": [ "1/2" ] }{ "id": 76816, "url": "