Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/30223/?format=api
http://patches.dpdk.org/api/patches/30223/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20171012093252.53100-5-zhiyong.yang@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": "<20171012093252.53100-5-zhiyong.yang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20171012093252.53100-5-zhiyong.yang@intel.com", "date": "2017-10-12T09:32:50", "name": "[dpdk-dev,4/6] app/pdump: fix port id type", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "5b57f24b6b57399948de2e46daa19a8701b299dd", "submitter": { "id": 540, "url": "http://patches.dpdk.org/api/people/540/?format=api", "name": "Yang, Zhiyong", "email": "zhiyong.yang@intel.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/20171012093252.53100-5-zhiyong.yang@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/30223/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/30223/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 5203E1B204;\n\tThu, 12 Oct 2017 11:33:08 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id DE7061B1EF\n\tfor <dev@dpdk.org>; Thu, 12 Oct 2017 11:33:01 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga105.fm.intel.com with ESMTP; 12 Oct 2017 02:33:01 -0700", "from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.182])\n\tby orsmga004.jf.intel.com with ESMTP; 12 Oct 2017 02:33:00 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.43,365,1503385200\"; d=\"scan'208\";a=\"137746930\"", "From": "Zhiyong Yang <zhiyong.yang@intel.com>", "To": "dev@dpdk.org", "Cc": "ferruh.yigit@intel.com,\n\tZhiyong Yang <zhiyong.yang@intel.com>", "Date": "Thu, 12 Oct 2017 17:32:50 +0800", "Message-Id": "<20171012093252.53100-5-zhiyong.yang@intel.com>", "X-Mailer": "git-send-email 2.13.3", "In-Reply-To": "<20171012093252.53100-1-zhiyong.yang@intel.com>", "References": "<20171012093252.53100-1-zhiyong.yang@intel.com>", "Subject": "[dpdk-dev] [PATCH 4/6] app/pdump: fix port id type", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<http://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": "<http://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": "Increase port id range to 16 bits and remove the unnecessary cast.\n\nFixes: f8244c6399d9 (\"ethdev: increase port id range\")\n\nSigned-off-by: Zhiyong Yang <zhiyong.yang@intel.com>\n---\n app/pdump/main.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/pdump/main.c b/app/pdump/main.c\nindex 090a50cfc..3d8e50273 100644\n--- a/app/pdump/main.c\n+++ b/app/pdump/main.c\n@@ -579,7 +579,7 @@ signal_handler(int sig_num)\n }\n \n static inline int\n-configure_vdev(uint8_t port_id)\n+configure_vdev(uint16_t port_id)\n {\n \tstruct ether_addr addr;\n \tconst uint16_t rxRings = 0, txRings = 1;\n@@ -609,7 +609,7 @@ configure_vdev(uint8_t port_id)\n \trte_eth_macaddr_get(port_id, &addr);\n \tprintf(\"Port %u MAC: %02\"PRIx8\" %02\"PRIx8\" %02\"PRIx8\n \t\t\t\" %02\"PRIx8\" %02\"PRIx8\" %02\"PRIx8\"\\n\",\n-\t\t\t(unsigned)port_id,\n+\t\t\tport_id,\n \t\t\taddr.addr_bytes[0], addr.addr_bytes[1],\n \t\t\taddr.addr_bytes[2], addr.addr_bytes[3],\n \t\t\taddr.addr_bytes[4], addr.addr_bytes[5]);\n", "prefixes": [ "dpdk-dev", "4/6" ] }{ "id": 30223, "url": "