Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97471/?format=api
http://patchwork.dpdk.org/api/patches/97471/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210827172048.558704-2-kevin.laatz@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20210827172048.558704-2-kevin.laatz@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210827172048.558704-2-kevin.laatz@intel.com", "date": "2021-08-27T17:20:36", "name": "[01/13] raw/ioat: only build if dmadev not present", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d9ca15270833bebfd695a0e7a722d0b1ec427227", "submitter": { "id": 921, "url": "http://patchwork.dpdk.org/api/people/921/?format=api", "name": "Kevin Laatz", "email": "kevin.laatz@intel.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210827172048.558704-2-kevin.laatz@intel.com/mbox/", "series": [ { "id": 18500, "url": "http://patchwork.dpdk.org/api/series/18500/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18500", "date": "2021-08-27T17:20:35", "name": "add dmadev driver for idxd devices", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18500/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/97471/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/97471/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 202E0A0548;\n\tFri, 27 Aug 2021 19:21:18 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 425E541134;\n\tFri, 27 Aug 2021 19:21:13 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 3D0F840150\n for <dev@dpdk.org>; Fri, 27 Aug 2021 19:21:10 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Aug 2021 10:21:09 -0700", "from silpixa00401122.ir.intel.com ([10.55.128.10])\n by orsmga002.jf.intel.com with ESMTP; 27 Aug 2021 10:21:08 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10089\"; a=\"198235889\"", "E=Sophos;i=\"5.84,357,1620716400\"; d=\"scan'208\";a=\"198235889\"", "E=Sophos;i=\"5.84,357,1620716400\"; d=\"scan'208\";a=\"445009358\"" ], "X-ExtLoop1": "1", "From": "Kevin Laatz <kevin.laatz@intel.com>", "To": "dev@dpdk.org", "Cc": "bruce.richardson@intel.com, fengchengwen@huawei.com, jerinj@marvell.com,\n conor.walsh@intel.com", "Date": "Fri, 27 Aug 2021 17:20:36 +0000", "Message-Id": "<20210827172048.558704-2-kevin.laatz@intel.com>", "X-Mailer": "git-send-email 2.30.2", "In-Reply-To": "<20210827172048.558704-1-kevin.laatz@intel.com>", "References": "<20210827172048.558704-1-kevin.laatz@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 01/13] raw/ioat: only build if dmadev not present", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "From: Bruce Richardson <bruce.richardson@intel.com>\n\nOnly build the rawdev IDXD/IOAT drivers if the dmadev drivers are not\npresent.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/raw/ioat/meson.build | 23 ++++++++++++++++++++---\n 1 file changed, 20 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/raw/ioat/meson.build b/drivers/raw/ioat/meson.build\nindex 0e81cb5951..7bd9ac912b 100644\n--- a/drivers/raw/ioat/meson.build\n+++ b/drivers/raw/ioat/meson.build\n@@ -2,14 +2,31 @@\n # Copyright 2019 Intel Corporation\n \n build = dpdk_conf.has('RTE_ARCH_X86')\n+# only use ioat rawdev driver if we don't have the equivalent dmadev ones\n+if not dpdk_conf.has('RTE_DMA_IDXD') and not dpdk_conf.has('RTE_DMA_IOAT')\n+ build = false\n+ subdir_done()\n+endif\n+\n reason = 'only supported on x86'\n sources = files(\n- 'idxd_bus.c',\n- 'idxd_pci.c',\n 'ioat_common.c',\n- 'ioat_rawdev.c',\n 'ioat_rawdev_test.c',\n )\n+\n+if not dpdk_conf.has('RTE_DMA_IDXD')\n+ sources += files(\n+ 'idxd_bus.c',\n+ 'idxd_pci.c',\n+ )\n+endif\n+\n+if not dpdk_conf.has('RTE_DMA_IOAT')\n+ sources += files (\n+ 'ioat_rawdev.c',\n+ )\n+endif\n+\n deps += ['bus_pci', 'mbuf', 'rawdev']\n headers = files(\n 'rte_ioat_rawdev.h',\n", "prefixes": [ "01/13" ] }{ "id": 97471, "url": "