Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/25992/?format=api
http://patches.dpdk.org/api/patches/25992/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1498748282-69914-5-git-send-email-wei.dai@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": "<1498748282-69914-5-git-send-email-wei.dai@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1498748282-69914-5-git-send-email-wei.dai@intel.com", "date": "2017-06-29T14:58:01", "name": "[dpdk-dev,v4,4/5] app/testpmd: display PCI address in port info", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c023a023c412bcf54209a31d5c4015db64981141", "submitter": { "id": 490, "url": "http://patches.dpdk.org/api/people/490/?format=api", "name": "Wei Dai", "email": "wei.dai@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1498748282-69914-5-git-send-email-wei.dai@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/25992/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/25992/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id C4F1D58F6;\n\tThu, 29 Jun 2017 17:08:29 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 837E65587\n\tfor <dev@dpdk.org>; Thu, 29 Jun 2017 17:08:20 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Jun 2017 08:08:20 -0700", "from dpdk6.bj.intel.com ([172.16.182.81])\n\tby fmsmga002.fm.intel.com with ESMTP; 29 Jun 2017 08:08:18 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos; i=\"5.40,281,1496127600\"; d=\"scan'208\";\n\ta=\"1188552300\"", "From": "Wei Dai <wei.dai@intel.com>", "To": "thomas@monjalon.net, wenzhuo.lu@intel.com,\n\tkonstantin.ananyev@intel.com, helin.zhang@intel.com,\n\tjingjing.wu@intel.com, yuan.pntel.com@dpdk.org", "Cc": "dev@dpdk.org,\n\tWei Dai <wei.dai@intel.com>", "Date": "Thu, 29 Jun 2017 22:58:01 +0800", "Message-Id": "<1498748282-69914-5-git-send-email-wei.dai@intel.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1498748282-69914-1-git-send-email-wei.dai@intel.com>", "References": "<20170629083404.1271-1-wei.dai@intel.com>\n\t<1498748282-69914-1-git-send-email-wei.dai@intel.com>", "Subject": "[dpdk-dev] [PATCH v4 4/5] app/testpmd: display PCI address in port\n\tinfo", "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": "Add the PCI address when running \"show port info port_id\".\n\nSigned-off-by: Wei Dai <wei.dai@intel.com>\n---\n app/test-pmd/config.c | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex b0b340e..c2d5c03 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -438,6 +438,11 @@ port_infos_display(portid_t port_id)\n \trte_eth_dev_info_get(port_id, &dev_info);\n \tprintf(\"\\n%s Infos for port %-2d %s\\n\",\n \t info_border, port_id, info_border);\n+\tprintf(\"PCI Address: \" PCI_PRI_FMT \"\\n\",\n+\t\tdev_info.pci_dev->addr.domain,\n+\t\tdev_info.pci_dev->addr.bus,\n+\t\tdev_info.pci_dev->addr.devid,\n+\t\tdev_info.pci_dev->addr.function);\n \trte_eth_macaddr_get(port_id, &mac_addr);\n \tprint_ethaddr(\"MAC address: \", &mac_addr);\n \tprintf(\"\\nDriver name: %s\", dev_info.driver_name);\n", "prefixes": [ "dpdk-dev", "v4", "4/5" ] }{ "id": 25992, "url": "