Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/99183/?format=api
https://patches.dpdk.org/api/patches/99183/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210917140252.2999006-16-kevin.laatz@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": "<20210917140252.2999006-16-kevin.laatz@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210917140252.2999006-16-kevin.laatz@intel.com", "date": "2021-09-17T14:02:51", "name": "[v4,15/16] devbind: add dma device class", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ed87079152f4e16bd530790a340f1e28b579927a", "submitter": { "id": 921, "url": "https://patches.dpdk.org/api/people/921/?format=api", "name": "Kevin Laatz", "email": "kevin.laatz@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210917140252.2999006-16-kevin.laatz@intel.com/mbox/", "series": [ { "id": 19018, "url": "https://patches.dpdk.org/api/series/19018/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19018", "date": "2021-09-17T14:02:36", "name": "add dmadev driver for idxd devices", "version": 4, "mbox": "https://patches.dpdk.org/series/19018/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/99183/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/99183/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 2A6F4A0C46;\n\tFri, 17 Sep 2021 16:05:03 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7710B41195;\n\tFri, 17 Sep 2021 16:03:45 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 274B34118B\n for <dev@dpdk.org>; Fri, 17 Sep 2021 16:03:41 +0200 (CEST)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Sep 2021 07:03:40 -0700", "from silpixa00401122.ir.intel.com ([10.55.128.10])\n by fmsmga006.fm.intel.com with ESMTP; 17 Sep 2021 07:03:39 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10109\"; a=\"219614975\"", "E=Sophos;i=\"5.85,301,1624345200\"; d=\"scan'208\";a=\"219614975\"", "E=Sophos;i=\"5.85,301,1624345200\"; d=\"scan'208\";a=\"699496325\"" ], "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, Kevin Laatz <kevin.laatz@intel.com>", "Date": "Fri, 17 Sep 2021 14:02:51 +0000", "Message-Id": "<20210917140252.2999006-16-kevin.laatz@intel.com>", "X-Mailer": "git-send-email 2.30.2", "In-Reply-To": "<20210917140252.2999006-1-kevin.laatz@intel.com>", "References": "<20210827172048.558704-1-kevin.laatz@intel.com>\n <20210917140252.2999006-1-kevin.laatz@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v4 15/16] devbind: add dma device class", "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": "Add a new class for DMA devices. Devices listed under the DMA class are to\nbe used with the dmadev library.\n\nSigned-off-by: Kevin Laatz <kevin.laatz@intel.com>\nReviewed-by: Conor Walsh <conor.walsh@intel.com>\n---\n usertools/dpdk-devbind.py | 12 +++++++++---\n 1 file changed, 9 insertions(+), 3 deletions(-)", "diff": "diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py\nindex 74d16e4c4b..8bb573f4b0 100755\n--- a/usertools/dpdk-devbind.py\n+++ b/usertools/dpdk-devbind.py\n@@ -69,12 +69,13 @@\n network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]\n baseband_devices = [acceleration_class]\n crypto_devices = [encryption_class, intel_processor_class]\n+dma_devices = []\n eventdev_devices = [cavium_sso, cavium_tim, intel_dlb, octeontx2_sso]\n mempool_devices = [cavium_fpa, octeontx2_npa]\n compress_devices = [cavium_zip]\n regex_devices = [octeontx2_ree]\n-misc_devices = [cnxk_bphy, cnxk_bphy_cgx, intel_ioat_bdw, intel_ioat_skx, intel_ioat_icx, intel_idxd_spr,\n- intel_ntb_skx, intel_ntb_icx,\n+misc_devices = [cnxk_bphy, cnxk_bphy_cgx, intel_ioat_bdw, intel_ioat_skx,\n+ intel_ioat_icx, intel_idxd_spr, intel_ntb_skx, intel_ntb_icx,\n octeontx2_dma]\n \n # global dict ethernet devices present. Dictionary indexed by PCI address.\n@@ -583,6 +584,9 @@ def show_status():\n if status_dev in [\"crypto\", \"all\"]:\n show_device_status(crypto_devices, \"Crypto\")\n \n+ if status_dev in [\"dma\", \"all\"]:\n+ show_device_status(dma_devices, \"DMA\")\n+\n if status_dev in [\"event\", \"all\"]:\n show_device_status(eventdev_devices, \"Eventdev\")\n \n@@ -651,7 +655,7 @@ def parse_args():\n parser.add_argument(\n '--status-dev',\n help=\"Print the status of given device group.\",\n- choices=['baseband', 'compress', 'crypto', 'event',\n+ choices=['baseband', 'compress', 'crypto', 'dma', 'event',\n 'mempool', 'misc', 'net', 'regex'])\n bind_group = parser.add_mutually_exclusive_group()\n bind_group.add_argument(\n@@ -732,6 +736,7 @@ def do_arg_actions():\n get_device_details(network_devices)\n get_device_details(baseband_devices)\n get_device_details(crypto_devices)\n+ get_device_details(dma_devices)\n get_device_details(eventdev_devices)\n get_device_details(mempool_devices)\n get_device_details(compress_devices)\n@@ -754,6 +759,7 @@ def main():\n get_device_details(network_devices)\n get_device_details(baseband_devices)\n get_device_details(crypto_devices)\n+ get_device_details(dma_devices)\n get_device_details(eventdev_devices)\n get_device_details(mempool_devices)\n get_device_details(compress_devices)\n", "prefixes": [ "v4", "15/16" ] }{ "id": 99183, "url": "