Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/91835/?format=api
https://patches.dpdk.org/api/patches/91835/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1618909266-17584-7-git-send-email-lihuisong@huawei.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": "<1618909266-17584-7-git-send-email-lihuisong@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1618909266-17584-7-git-send-email-lihuisong@huawei.com", "date": "2021-04-20T09:01:05", "name": "[V3,6/7] app/testpmd: add forwarding config in start port", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "bb26a756b1171d7ec273b5c41c63da40daef57b8", "submitter": { "id": 2085, "url": "https://patches.dpdk.org/api/people/2085/?format=api", "name": "lihuisong (C)", "email": "lihuisong@huawei.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/1618909266-17584-7-git-send-email-lihuisong@huawei.com/mbox/", "series": [ { "id": 16517, "url": "https://patches.dpdk.org/api/series/16517/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16517", "date": "2021-04-20T09:00:59", "name": "modifications about DCB forwarding configuration", "version": 3, "mbox": "https://patches.dpdk.org/series/16517/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/91835/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/91835/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 1B8F1A0579;\n\tTue, 20 Apr 2021 11:01:09 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 02B7C41660;\n\tTue, 20 Apr 2021 11:01:05 +0200 (CEST)", "from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32])\n by mails.dpdk.org (Postfix) with ESMTP id B6FA641638\n for <dev@dpdk.org>; Tue, 20 Apr 2021 11:01:02 +0200 (CEST)", "from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58])\n by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FPd096c6LzjZtF;\n Tue, 20 Apr 2021 16:59:05 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id\n 14.3.498.0; Tue, 20 Apr 2021 17:00:55 +0800" ], "From": "Huisong Li <lihuisong@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>, <xiaoyun.li@intel.com>,\n <linuxarm@openeuler.org>, <lihuisong@huawei.com>", "Date": "Tue, 20 Apr 2021 17:01:05 +0800", "Message-ID": "<1618909266-17584-7-git-send-email-lihuisong@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1618909266-17584-1-git-send-email-lihuisong@huawei.com>", "References": "<1614939741-63927-1-git-send-email-oulijun@huawei.com>\n <1618909266-17584-1-git-send-email-lihuisong@huawei.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.69.192.56]", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH V3 6/7] app/testpmd: add forwarding config in\n start port", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Most operations in testpmd that need to update the forwarding streams\nin testpmd call fwd_config_setup(). In some scenarios, eg, dev_configure\nis called again, the forwarding streams may not be updated. As a result,\nthe actual forwarding streams cannot be queried by \"show config fwd\" cmd.\n\nThe procedure is as follows:\nset nbcore 4\nport stop all\nport config 0 dcb vt off 4 pfc on\nport start all\nshow config fwd\n\nSigned-off-by: Huisong Li <lihuisong@huawei.com>\nSigned-off-by: Lijun Ou <oulijun@huawei.com>\n---\n app/test-pmd/testpmd.c | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex abcbdaa..f8052b6 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -2678,6 +2678,12 @@ start_port(portid_t pid)\n \t\t\t}\n \t\t}\n \t}\n+\t/*\n+\t * In some scenarios, eg, dev_configure is called again, the forwarding\n+\t * streams may not be updated. As a result, the actual forwarding\n+\t * streams cannot be queried by \"show config fwd\" command.\n+\t */\n+\tfwd_config_setup();\n \n \tprintf(\"Done\\n\");\n \treturn 0;\n", "prefixes": [ "V3", "6/7" ] }{ "id": 91835, "url": "