Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/89964/?format=api
http://patches.dpdk.org/api/patches/89964/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1616830818-3127-2-git-send-email-humin29@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": "<1616830818-3127-2-git-send-email-humin29@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1616830818-3127-2-git-send-email-humin29@huawei.com", "date": "2021-03-27T07:40:16", "name": "[1/3] examples/flow_classify: fix check of port and core", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "af2aad995428fe103eecdafba27618a6421853a4", "submitter": { "id": 1944, "url": "http://patches.dpdk.org/api/people/1944/?format=api", "name": "humin (Q)", "email": "humin29@huawei.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1616830818-3127-2-git-send-email-humin29@huawei.com/mbox/", "series": [ { "id": 15923, "url": "http://patches.dpdk.org/api/series/15923/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=15923", "date": "2021-03-27T07:40:18", "name": "fix check of port and core", "version": 1, "mbox": "http://patches.dpdk.org/series/15923/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/89964/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/89964/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 2A34EA0A02;\n\tSat, 27 Mar 2021 08:40:14 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 15FA3140DD9;\n\tSat, 27 Mar 2021 08:40:01 +0100 (CET)", "from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191])\n by mails.dpdk.org (Postfix) with ESMTP id D2F25140DA0\n for <dev@dpdk.org>; Sat, 27 Mar 2021 08:39:55 +0100 (CET)", "from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59])\n by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F6rKY1kVszyShw\n for <dev@dpdk.org>; Sat, 27 Mar 2021 15:37:53 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id\n 14.3.498.0; Sat, 27 Mar 2021 15:39:51 +0800" ], "From": "\"Min Hu (Connor)\" <humin29@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>, <bernard.iremonger@intel.com>,\n <tomasz.kantecki@intel.com>, <bruce.richardson@intel.com>", "Date": "Sat, 27 Mar 2021 15:40:16 +0800", "Message-ID": "<1616830818-3127-2-git-send-email-humin29@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1616830818-3127-1-git-send-email-humin29@huawei.com>", "References": "<1616830818-3127-1-git-send-email-humin29@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 1/3] examples/flow_classify: fix check of port\n and core", "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": "fix check of port and core in flow_classify example.\n\nFixes: bab16ddaf2c1 (\"examples/flow_classify: add sample application\")\nCc: stable@dpdk.org\n\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\n---\n examples/flow_classify/flow_classify.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/examples/flow_classify/flow_classify.c b/examples/flow_classify/flow_classify.c\nindex 335d7d2..277a2f5 100644\n--- a/examples/flow_classify/flow_classify.c\n+++ b/examples/flow_classify/flow_classify.c\n@@ -284,7 +284,7 @@ lcore_main(struct flow_classifier *cls_app)\n \t * for best performance.\n \t */\n \tRTE_ETH_FOREACH_DEV(port)\n-\t\tif (rte_eth_dev_socket_id(port) > 0 &&\n+\t\tif (rte_eth_dev_socket_id(port) >= 0 &&\n \t\t\trte_eth_dev_socket_id(port) != (int)rte_socket_id()) {\n \t\t\tprintf(\"\\n\\n\");\n \t\t\tprintf(\"WARNING: port %u is on remote NUMA node\\n\",\n", "prefixes": [ "1/3" ] }{ "id": 89964, "url": "