Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/82921/?format=api
https://patches.dpdk.org/api/patches/82921/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1604055169-47580-1-git-send-email-hariprasad.govindharajan@intel.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": "<1604055169-47580-1-git-send-email-hariprasad.govindharajan@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1604055169-47580-1-git-send-email-hariprasad.govindharajan@intel.com", "date": "2020-10-30T10:52:48", "name": "[dpdk-kmods,v8,1/2] linux/igb_uio: remove DPDK dependency for building igb_uio", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "eb0a99237365425c1a71edde6e465af9dd4b56c1", "submitter": { "id": 1311, "url": "https://patches.dpdk.org/api/people/1311/?format=api", "name": "Hariprasad Govindharajan", "email": "hariprasad.govindharajan@intel.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1604055169-47580-1-git-send-email-hariprasad.govindharajan@intel.com/mbox/", "series": [ { "id": 13497, "url": "https://patches.dpdk.org/api/series/13497/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13497", "date": "2020-10-30T10:52:48", "name": "[dpdk-kmods,v8,1/2] linux/igb_uio: remove DPDK dependency for building igb_uio", "version": 8, "mbox": "https://patches.dpdk.org/series/13497/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/82921/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/82921/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A9899A04B5;\n\tFri, 30 Oct 2020 11:53:01 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 86D93C7F4;\n\tFri, 30 Oct 2020 11:53:00 +0100 (CET)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 47918C7F0\n for <dev@dpdk.org>; Fri, 30 Oct 2020 11:52:57 +0100 (CET)", "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Oct 2020 03:52:56 -0700", "from silpixa00393944.ir.intel.com ([10.237.213.150])\n by orsmga004.jf.intel.com with ESMTP; 30 Oct 2020 03:52:54 -0700" ], "IronPort-SDR": [ "\n Z9wEvtmShRPlz6I9QDSOre1tNBLrYcS/jG5D53eakB+4OcjVK0tqRK0MZ35Jm70eifxZZQLtrk\n kBFhP9e2Q5vw==", "\n g+YVCbJgxsk3CNnMmfTGN93spQYqD0HbG29fKAtkcrO0LxmtWxOm5wYScDXbRjqh1l+6E7d7PP\n lYhLti6ZtORA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9789\"; a=\"166004356\"", "E=Sophos;i=\"5.77,432,1596524400\"; d=\"scan'208\";a=\"166004356\"", "E=Sophos;i=\"5.77,432,1596524400\"; d=\"scan'208\";a=\"469489663\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Hariprasad Govindharajan <hariprasad.govindharajan@intel.com>", "To": "dev@dpdk.org", "Cc": "ferruh.yigit@intel.com, anatoly.burakov@intel.com, bluca@debian.org,\n thomas@monjalon.net, david.marchand@redhat.com,\n Hariprasad Govindharajan <hariprasad.govindharajan@intel.com>", "Date": "Fri, 30 Oct 2020 10:52:48 +0000", "Message-Id": "\n <1604055169-47580-1-git-send-email-hariprasad.govindharajan@intel.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "\n <1601909255-26251-1-git-send-email-hariprasad.govindharajan@intel.com>", "References": "\n <1601909255-26251-1-git-send-email-hariprasad.govindharajan@intel.com>", "Subject": "[dpdk-dev] [PATCH dpdk-kmods v8 1/2] linux/igb_uio: remove DPDK\n\tdependency for building igb_uio", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The igb_uio source code requires interrupt modes defined as\nmacros and enums in the header file rte_pci_dev_features.h.\nNow, the definitions are moved to the igb_uio.c file so that\nthis module can be built without building DPDK\n\nSigned-off-by: Hariprasad Govindharajan <hariprasad.govindharajan@intel.com>\n---\n linux/igb_uio/igb_uio.c | 16 +++++++++++++++-\n 1 file changed, 15 insertions(+), 1 deletion(-)", "diff": "diff --git a/linux/igb_uio/igb_uio.c b/linux/igb_uio/igb_uio.c\nindex 3cf394b..fe7039c 100644\n--- a/linux/igb_uio/igb_uio.c\n+++ b/linux/igb_uio/igb_uio.c\n@@ -15,7 +15,21 @@\n #include <linux/version.h>\n #include <linux/slab.h>\n \n-#include <rte_pci_dev_features.h>\n+/**\n+ * These enum and macro definitions are copied from the\n+ * file rte_pci_dev_features.h\n+ */\n+enum rte_intr_mode {\n+\tRTE_INTR_MODE_NONE = 0,\n+\tRTE_INTR_MODE_LEGACY,\n+\tRTE_INTR_MODE_MSI,\n+\tRTE_INTR_MODE_MSIX\n+};\n+#define RTE_INTR_MODE_NONE_NAME \"none\"\n+#define RTE_INTR_MODE_LEGACY_NAME \"legacy\"\n+#define RTE_INTR_MODE_MSI_NAME \"msi\"\n+#define RTE_INTR_MODE_MSIX_NAME \"msix\"\n+\n \n #include \"compat.h\"\n \n", "prefixes": [ "dpdk-kmods", "v8", "1/2" ] }{ "id": 82921, "url": "