Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/5953/?format=api
http://patches.dpdk.org/api/patches/5953/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1435652668-3380-3-git-send-email-mukawa@igel.co.jp/", "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": "<1435652668-3380-3-git-send-email-mukawa@igel.co.jp>", "list_archive_url": "https://inbox.dpdk.org/dev/1435652668-3380-3-git-send-email-mukawa@igel.co.jp", "date": "2015-06-30T08:24:18", "name": "[dpdk-dev,v7,02/12] eal: Close file descriptor of uio configuration", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "af4c3fbfab5303431b7ad6344a33228a548ee128", "submitter": { "id": 64, "url": "http://patches.dpdk.org/api/people/64/?format=api", "name": "Tetsuya Mukawa", "email": "mukawa@igel.co.jp" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1435652668-3380-3-git-send-email-mukawa@igel.co.jp/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/5953/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/5953/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 1C56DC448;\n\tTue, 30 Jun 2015 10:25:16 +0200 (CEST)", "from mail-pa0-f41.google.com (mail-pa0-f41.google.com\n\t[209.85.220.41]) by dpdk.org (Postfix) with ESMTP id D7EDBC438\n\tfor <dev@dpdk.org>; Tue, 30 Jun 2015 10:25:11 +0200 (CEST)", "by pactm7 with SMTP id tm7so1894300pac.2\n\tfor <dev@dpdk.org>; Tue, 30 Jun 2015 01:25:11 -0700 (PDT)", "from localhost.localdomain (napt.igel.co.jp. [219.106.231.132])\n\tby mx.google.com with ESMTPSA id\n\tk9sm44733339pdp.60.2015.06.30.01.25.09\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 30 Jun 2015 01:25:10 -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=OUmZspLyrnO4MRaQwnFukyVB3N2SaVhNnkh/YXFlPfU=;\n\tb=YmmY43CzO3XUmTohjXP/Dz9QcSTezu2XDDwoixXGYPr4h14wpkQ1U6yC16nVGG7bJ2\n\tLk0jiBiBt/8wDIe55Iq5LhEhLbmaqodIT1CCjqSkte0rs9WWauy+powWvGxVcf9czEhz\n\tTfyUPLLfJaj50wae21LiSGxNXbBVnkZ3b6TEk4uh2eZqms7nC49HiJq6llXz7ocq+Sx8\n\t7Y5rbsB99GwrDlIDbxiuv4Q3BWkFXUNWLdr17yG6MEH2f/YwITxqRewUV6cJ6liICBZ/\n\t0sFPvx5xupkM7m8sW/rXIk67zxO++57J5RN61ZsRnXlagud/COYBMKCgSyZHwx/Y+xTY\n\tY2Hg==", "X-Gm-Message-State": "ALoCoQkiIumFA+ZLbPEx2S2KQsl266pRgI6HFZ3feLYrHiaQnn7x7Eq6UZ1t8jcdwUpqbTmnQdSV", "X-Received": "by 10.68.65.16 with SMTP id t16mr6236912pbs.47.1435652711295;\n\tTue, 30 Jun 2015 01:25:11 -0700 (PDT)", "From": "Tetsuya Mukawa <mukawa@igel.co.jp>", "To": "dev@dpdk.org", "Date": "Tue, 30 Jun 2015 17:24:18 +0900", "Message-Id": "<1435652668-3380-3-git-send-email-mukawa@igel.co.jp>", "X-Mailer": "git-send-email 2.1.4", "In-Reply-To": "<1435652668-3380-1-git-send-email-mukawa@igel.co.jp>", "References": "<1435306705-11645-4-git-send-email-mukawa@igel.co.jp>\n\t<1435652668-3380-1-git-send-email-mukawa@igel.co.jp>", "Subject": "[dpdk-dev] [PATCH v7 02/12] eal: Close file descriptor of uio\n\tconfiguration", "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\nWhen pci_uio_unmap_resource() is called, a file descriptor that is used\nfor uio configuration should be closed.\n\nSigned-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>\nAcked-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\nindex 5d3354d..34316b6 100644\n--- a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\n+++ b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\n@@ -464,8 +464,12 @@ pci_uio_unmap_resource(struct rte_pci_device *dev)\n \n \t/* close fd if in primary process */\n \tclose(dev->intr_handle.fd);\n-\n \tdev->intr_handle.fd = -1;\n+\n+\t/* close cfg_fd if in primary process */\n+\tclose(dev->intr_handle.uio_cfg_fd);\n+\tdev->intr_handle.uio_cfg_fd = -1;\n+\n \tdev->intr_handle.type = RTE_INTR_HANDLE_UNKNOWN;\n }\n #endif /* RTE_LIBRTE_EAL_HOTPLUG */\n", "prefixes": [ "dpdk-dev", "v7", "02/12" ] }{ "id": 5953, "url": "