Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/6181/?format=api
https://patches.dpdk.org/api/patches/6181/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1436351693-2349-2-git-send-email-mukawa@igel.co.jp/", "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": "<1436351693-2349-2-git-send-email-mukawa@igel.co.jp>", "list_archive_url": "https://inbox.dpdk.org/dev/1436351693-2349-2-git-send-email-mukawa@igel.co.jp", "date": "2015-07-08T10:34:42", "name": "[dpdk-dev,v9,01/12] eal: Fix coding style of eal_pci.c and eal_pci_uio.c", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "045a885fb10363004eefb78b2957622872aefc56", "submitter": { "id": 64, "url": "https://patches.dpdk.org/api/people/64/?format=api", "name": "Tetsuya Mukawa", "email": "mukawa@igel.co.jp" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1436351693-2349-2-git-send-email-mukawa@igel.co.jp/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/6181/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/6181/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 28BB65A87;\n\tWed, 8 Jul 2015 12:35:38 +0200 (CEST)", "from mail-pa0-f45.google.com (mail-pa0-f45.google.com\n\t[209.85.220.45]) by dpdk.org (Postfix) with ESMTP id E24ED5A7A\n\tfor <dev@dpdk.org>; Wed, 8 Jul 2015 12:35:36 +0200 (CEST)", "by pacws9 with SMTP id ws9so131125622pac.0\n\tfor <dev@dpdk.org>; Wed, 08 Jul 2015 03:35:36 -0700 (PDT)", "from localhost.localdomain (napt.igel.co.jp. [219.106.231.132])\n\tby smtp.gmail.com with ESMTPSA id\n\txf2sm2043139pab.25.2015.07.08.03.35.34\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 08 Jul 2015 03:35:35 -0700 (PDT)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=f67p6n9whuWl8ob+gVM7hfH0ytoNcVh36iUgx6qIwpY=;\n\tb=HSifLUzkH7S2NNK0jJ+LmjnymxdDcij2Od+YMIiJ42CmYK+dr+zp8kngRaLvRJ8d+R\n\tlh1LZZ9ZGNn7esUUj8DaqfiQ5reYi42tQwocYBo9xJi1Ql3LCFHx+awkVOvlVbnhw/UW\n\tcWoZMv79YGzXriY9E7O+MXxnquFkrFRebi9IMgJd3N6wI04YqThwyZNeQd+TbzCHOo8x\n\tSasBzK60KJAK4tACzLV67HxsxQWtU8pL3cCH8gT1y51uHhfffl2Eg8WBsyQOWv8w7FeL\n\txOob8xlu97fpsR7D+kx0a9s7PEoM6ifxMbjcbceDwQGzfMSatUqS0XyrDUUL/9mmHNGw\n\tfG7w==", "X-Gm-Message-State": "ALoCoQkOgVS6CVCaPspkk7BiXm0YCFom2yV7hulj2ooLmuJrAKIAVjLOFn4Sp1b5ZrEWJPFkK5dB", "X-Received": "by 10.66.249.1 with SMTP id yq1mr18716997pac.3.1436351736252;\n\tWed, 08 Jul 2015 03:35:36 -0700 (PDT)", "From": "Tetsuya Mukawa <mukawa@igel.co.jp>", "To": "dev@dpdk.org", "Date": "Wed, 8 Jul 2015 19:34:42 +0900", "Message-Id": "<1436351693-2349-2-git-send-email-mukawa@igel.co.jp>", "X-Mailer": "git-send-email 2.1.4", "In-Reply-To": "<1436351693-2349-1-git-send-email-mukawa@igel.co.jp>", "References": "<1435652668-3380-12-git-send-email-mukawa@igel.co.jp>\n\t<1436351693-2349-1-git-send-email-mukawa@igel.co.jp>", "Subject": "[dpdk-dev] [PATCH v9 01/12] eal: Fix coding style of eal_pci.c and\n\teal_pci_uio.c", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <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": "From: \"Tetsuya.Mukawa\" <mukawa@igel.co.jp>\n\nThis patch fixes coding style of below files in linuxapp and bsdapp.\n - eal_pci.c\n - eal_pci_uio.c\n\nSigned-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>\nAcked-by: Stephen Hemminger <stephen@networkplumber.org>\nAcked-by: David Marchand <david.marchand@6wind.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Bernard Iremonger <bernard.iremonger@intel.com>\n---\n lib/librte_eal/bsdapp/eal/eal_pci.c | 13 ++++++++-----\n lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 13 +++++++++----\n 2 files changed, 17 insertions(+), 9 deletions(-)", "diff": "diff --git a/lib/librte_eal/bsdapp/eal/eal_pci.c b/lib/librte_eal/bsdapp/eal/eal_pci.c\nindex 2df5c1c..a63d450 100644\n--- a/lib/librte_eal/bsdapp/eal/eal_pci.c\n+++ b/lib/librte_eal/bsdapp/eal/eal_pci.c\n@@ -2,6 +2,7 @@\n * BSD LICENSE\n *\n * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\n+ * Copyright(c) 2015 IGEL Co., Ltd.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n@@ -161,9 +162,10 @@ fail:\n static int\n pci_uio_map_secondary(struct rte_pci_device *dev)\n {\n- size_t i;\n- struct uio_resource *uio_res;\n-\tstruct uio_res_list *uio_res_list = RTE_TAILQ_CAST(rte_uio_tailq.head, uio_res_list);\n+\tsize_t i;\n+\tstruct uio_resource *uio_res;\n+\tstruct uio_res_list *uio_res_list =\n+\t\t\tRTE_TAILQ_CAST(rte_uio_tailq.head, uio_res_list);\n \n \tTAILQ_FOREACH(uio_res, uio_res_list, next) {\n \n@@ -201,7 +203,8 @@ pci_uio_map_resource(struct rte_pci_device *dev)\n \tuint64_t pagesz;\n \tstruct rte_pci_addr *loc = &dev->addr;\n \tstruct uio_resource *uio_res;\n-\tstruct uio_res_list *uio_res_list = RTE_TAILQ_CAST(rte_uio_tailq.head, uio_res_list);\n+\tstruct uio_res_list *uio_res_list =\n+\t\t\tRTE_TAILQ_CAST(rte_uio_tailq.head, uio_res_list);\n \tstruct uio_map *maps;\n \n \tdev->intr_handle.fd = -1;\n@@ -311,7 +314,7 @@ pci_scan_one(int dev_pci_fd, struct pci_conf *conf)\n \t/* FreeBSD has no NUMA support (yet) */\n \tdev->numa_node = 0;\n \n-/* parse resources */\n+\t/* parse resources */\n \tswitch (conf->pc_hdr & PCIM_HDRTYPE) {\n \tcase PCIM_HDRTYPE_NORMAL:\n \t\tmax = PCIR_MAX_BAR_0;\ndiff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\nindex b5116a7..5915a84 100644\n--- a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\n+++ b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\n@@ -2,6 +2,7 @@\n * BSD LICENSE\n *\n * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\n+ * Copyright(c) 2015 IGEL Co., Ltd.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n@@ -92,7 +93,8 @@ pci_uio_map_secondary(struct rte_pci_device *dev)\n {\n \tint fd, i;\n \tstruct mapped_pci_resource *uio_res;\n-\tstruct mapped_pci_res_list *uio_res_list = RTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);\n+\tstruct mapped_pci_res_list *uio_res_list =\n+\t\t\tRTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);\n \n \tTAILQ_FOREACH(uio_res, uio_res_list, next) {\n \n@@ -272,7 +274,8 @@ pci_uio_map_resource(struct rte_pci_device *dev)\n \tuint64_t phaddr;\n \tstruct rte_pci_addr *loc = &dev->addr;\n \tstruct mapped_pci_resource *uio_res;\n-\tstruct mapped_pci_res_list *uio_res_list = RTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);\n+\tstruct mapped_pci_res_list *uio_res_list =\n+\t\t\tRTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);\n \tstruct pci_map *maps;\n \n \tdev->intr_handle.fd = -1;\n@@ -417,7 +420,8 @@ static struct mapped_pci_resource *\n pci_uio_find_resource(struct rte_pci_device *dev)\n {\n \tstruct mapped_pci_resource *uio_res;\n-\tstruct mapped_pci_res_list *uio_res_list = RTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);\n+\tstruct mapped_pci_res_list *uio_res_list =\n+\t\t\tRTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);\n \n \tif (dev == NULL)\n \t\treturn NULL;\n@@ -436,7 +440,8 @@ void\n pci_uio_unmap_resource(struct rte_pci_device *dev)\n {\n \tstruct mapped_pci_resource *uio_res;\n-\tstruct mapped_pci_res_list *uio_res_list = RTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);\n+\tstruct mapped_pci_res_list *uio_res_list =\n+\t\t\tRTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);\n \n \tif (dev == NULL)\n \t\treturn;\n", "prefixes": [ "dpdk-dev", "v9", "01/12" ] }{ "id": 6181, "url": "