Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/26462/?format=api
https://patches.dpdk.org/api/patches/26462/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/2bddf353ec28094d75e067d2efb1c91347dda041.1499211959.git.gaetan.rivet@6wind.com/", "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": "<2bddf353ec28094d75e067d2efb1c91347dda041.1499211959.git.gaetan.rivet@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/2bddf353ec28094d75e067d2efb1c91347dda041.1499211959.git.gaetan.rivet@6wind.com", "date": "2017-07-04T23:56:39", "name": "[dpdk-dev,v6,09/19] dev: device kernel module is a device attribute", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b43360751cc7d5119b59fdad1e1fe333199f4ce6", "submitter": { "id": 269, "url": "https://patches.dpdk.org/api/people/269/?format=api", "name": "Gaëtan Rivet", "email": "gaetan.rivet@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/2bddf353ec28094d75e067d2efb1c91347dda041.1499211959.git.gaetan.rivet@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/26462/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/26462/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 7E6097CC9;\n\tWed, 5 Jul 2017 01:57:24 +0200 (CEST)", "from mail-wr0-f180.google.com (mail-wr0-f180.google.com\n\t[209.85.128.180]) by dpdk.org (Postfix) with ESMTP id B21727CCE\n\tfor <dev@dpdk.org>; Wed, 5 Jul 2017 01:57:14 +0200 (CEST)", "by mail-wr0-f180.google.com with SMTP id k67so254446420wrc.2\n\tfor <dev@dpdk.org>; Tue, 04 Jul 2017 16:57:14 -0700 (PDT)", "from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\tw197sm27273899wme.20.2017.07.04.16.57.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 04 Jul 2017 16:57:13 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:in-reply-to:references;\n\tbh=3u5FeMQRhykqzmL1l8SlsjISmJE3/0vKDfnQ7Kcr7lI=;\n\tb=wfmpZdbUq0X/r6NOKpcYoiZs4p2NKN0N7hXYkrs4YVNnIQLxSaf7XAR51bT+KGSaGv\n\txutLY056OXp40Hx9vNQcKlQJaPL8hK21mhwMcS1hWOtp6qo8/w5ZGTmisKYAgJcW/6TI\n\tMITzVVJGrwHH+o6suAUzbllhIPYH6XRsO60Dpp69L0184427zDxUtPwizGWXDTdwdkMU\n\tdC9v0Mx7qTitky7KxAYD/mTgTlI0+qC6kYkxoioZI+V7ymu1TlixKd+LNDA3MTNAvwnt\n\t2X/A3Uv+LCpeTzwFhRUxe/aLxzlemova0G4VYU38D4vlnMxEPzUV3VHgWjPWaGkXgnTW\n\tOzAQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:in-reply-to:references;\n\tbh=3u5FeMQRhykqzmL1l8SlsjISmJE3/0vKDfnQ7Kcr7lI=;\n\tb=WHaPuNpYMeognoDNDV8SfPR3tEhxjfGX4keeaWzKgsT2PKTY2PwL+c+iFrFYd7HGIk\n\tcBz9srJYmj6QssKEwFgtOLjRswOUsBKYUauUtuokvvXMqfKxn0CXGTzLE3NBsnwBzafj\n\t70q+SS1irBa5SFs7lzZSPHKqxbYJdpPO4izm6Z+U95nRUJfLhGhon7PArUcn2A5JeZ1t\n\tKjh1e1u33TSoSx2SdowdrMAVeQenk37bbmkqiP75y6Ivp/8bksxP9OhhpsBoYD6r0Uyp\n\tSDd/u5ItHsMhbqhSKGI0E7T9feFzqMo6yvOjW7+XfKeBuR+67e0hM60b6ZY7vaOgRBF9\n\tHkEg==", "X-Gm-Message-State": "AKS2vOwF/KnN9stbgpSuirySSLk2AlpsfJePmP6XITulJu7KwuBPYndq\n\tP3zsecEss2BDeZU7qwE=", "X-Received": "by 10.223.162.219 with SMTP id t27mr34488327wra.68.1499212634091;\n\tTue, 04 Jul 2017 16:57:14 -0700 (PDT)", "From": "Gaetan Rivet <gaetan.rivet@6wind.com>", "To": "dev@dpdk.org", "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>", "Date": "Wed, 5 Jul 2017 01:56:39 +0200", "Message-Id": "<2bddf353ec28094d75e067d2efb1c91347dda041.1499211959.git.gaetan.rivet@6wind.com>", "X-Mailer": "git-send-email 2.1.4", "In-Reply-To": [ "<cover.1499211959.git.gaetan.rivet@6wind.com>", "<cover.1499211959.git.gaetan.rivet@6wind.com>" ], "References": [ "<cover.1498001626.git.gaetan.rivet@6wind.com>\n\t<cover.1499211959.git.gaetan.rivet@6wind.com>", "<cover.1499211959.git.gaetan.rivet@6wind.com>" ], "Subject": "[dpdk-dev] [PATCH v6 09/19] dev: device kernel module is a device\n\tattribute", "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": "It is used in generic device structures and must not be tied to a bus.\n\nSigned-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_eal/common/include/rte_dev.h | 12 ++++++++++++\n lib/librte_eal/common/include/rte_pci.h | 9 ---------\n 2 files changed, 12 insertions(+), 9 deletions(-)", "diff": "diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h\nindex 9f2765d..82c42c7 100644\n--- a/lib/librte_eal/common/include/rte_dev.h\n+++ b/lib/librte_eal/common/include/rte_dev.h\n@@ -115,6 +115,18 @@ rte_pmd_debug_trace(const char *func_name, const char *fmt, ...)\n } while (0)\n \n /**\n+ * Device driver.\n+ */\n+enum rte_kernel_driver {\n+\tRTE_KDRV_UNKNOWN = 0,\n+\tRTE_KDRV_IGB_UIO,\n+\tRTE_KDRV_VFIO,\n+\tRTE_KDRV_UIO_GENERIC,\n+\tRTE_KDRV_NIC_UIO,\n+\tRTE_KDRV_NONE,\n+};\n+\n+/**\n * A generic memory resource representation.\n */\n struct rte_mem_resource {\ndiff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h\nindex 7863f94..884e24c 100644\n--- a/lib/librte_eal/common/include/rte_pci.h\n+++ b/lib/librte_eal/common/include/rte_pci.h\n@@ -117,15 +117,6 @@ struct rte_pci_addr {\n \n struct rte_devargs;\n \n-enum rte_kernel_driver {\n-\tRTE_KDRV_UNKNOWN = 0,\n-\tRTE_KDRV_IGB_UIO,\n-\tRTE_KDRV_VFIO,\n-\tRTE_KDRV_UIO_GENERIC,\n-\tRTE_KDRV_NIC_UIO,\n-\tRTE_KDRV_NONE,\n-};\n-\n /**\n * A structure describing a PCI device.\n */\n", "prefixes": [ "dpdk-dev", "v6", "09/19" ] }{ "id": 26462, "url": "