Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/34942/?format=api
http://patches.dpdk.org/api/patches/34942/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180205075306.104779-1-yanglong.wu@intel.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": "<20180205075306.104779-1-yanglong.wu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180205075306.104779-1-yanglong.wu@intel.com", "date": "2018-02-05T07:53:06", "name": "[dpdk-dev,v3] app/testpmd: fix port_id alloction issue", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "106ac7826f9832b004fe2e6889af8d63e851e4ba", "submitter": { "id": 879, "url": "http://patches.dpdk.org/api/people/879/?format=api", "name": "Yanglong Wu", "email": "yanglong.wu@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180205075306.104779-1-yanglong.wu@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/34942/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/34942/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DC11C1B32F;\n\tMon, 5 Feb 2018 08:55:23 +0100 (CET)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 121481B327\n\tfor <dev@dpdk.org>; Mon, 5 Feb 2018 08:55:22 +0100 (CET)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t04 Feb 2018 23:55:20 -0800", "from wuyanglong.sh.intel.com ([10.67.110.174])\n\tby fmsmga002.fm.intel.com with ESMTP; 04 Feb 2018 23:55:19 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.46,464,1511856000\"; d=\"scan'208\";a=\"17072599\"", "From": "Yanglong Wu <yanglong.wu@intel.com>", "To": "dev@dpdk.org", "Cc": "shahafs@mellanox.com, wenzhuo.lu@intel.com,\n\tYanglong Wu <yanglong.wu@intel.com>", "Date": "Mon, 5 Feb 2018 15:53:06 +0800", "Message-Id": "<20180205075306.104779-1-yanglong.wu@intel.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20180205023357.104418-1-yanglong.wu@intel.com>", "References": "<20180205023357.104418-1-yanglong.wu@intel.com>", "Subject": "[dpdk-dev] [PATCH v3] app/testpmd: fix port_id alloction issue", "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "In the feature of increasing port_id range from 8 bits to 16 bits,\nvlan port_id allocation function was forget to substitute UINT8 with\nUINT16, so the vlan port_id was allocated as a inccrete number.\n\nFixes:28caa76aea71 (\"app/testpmd: fix port id type\")\n\nSigned-off-by: Yanglong Wu <yanglong.wu@intel.com>\nReviewed-by: Zhiyong Yang <zhiyong.yang@intel.com>\n---\nv2:\nmodified commit message\n---\nv3:\nadd review tag\n---\n app/test-pmd/cmdline.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex f71d96301..8990ebf6b 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -3352,7 +3352,7 @@ cmdline_parse_token_num_t cmd_vlan_tpid_tpid =\n \t\t\t tp_id, UINT16);\n cmdline_parse_token_num_t cmd_vlan_tpid_portid =\n \tTOKEN_NUM_INITIALIZER(struct cmd_vlan_tpid_result,\n-\t\t\t port_id, UINT8);\n+\t\t\t port_id, UINT16);\n \n cmdline_parse_inst_t cmd_vlan_tpid = {\n \t.f = cmd_vlan_tpid_parsed,\n", "prefixes": [ "dpdk-dev", "v3" ] }{ "id": 34942, "url": "