Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/54888/?format=api
http://patches.dpdk.org/api/patches/54888/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190618021055.12709-6-xiaoyun.li@intel.com/", "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": "<20190618021055.12709-6-xiaoyun.li@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190618021055.12709-6-xiaoyun.li@intel.com", "date": "2019-06-18T02:10:54", "name": "[v6,5/6] usertools/dpdk-devbind.py: add support for ntb", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a8600875edc16f7fb07735318b925bc9993dd765", "submitter": { "id": 798, "url": "http://patches.dpdk.org/api/people/798/?format=api", "name": "Li, Xiaoyun", "email": "xiaoyun.li@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190618021055.12709-6-xiaoyun.li@intel.com/mbox/", "series": [ { "id": 5041, "url": "http://patches.dpdk.org/api/series/5041/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5041", "date": "2019-06-18T02:10:49", "name": "rawdev driver for ntb", "version": 6, "mbox": "http://patches.dpdk.org/series/5041/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/54888/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/54888/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 94FED1C012;\n\tTue, 18 Jun 2019 04:12:04 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id EB9EC1BFEF\n\tfor <dev@dpdk.org>; Tue, 18 Jun 2019 04:11:53 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Jun 2019 19:11:53 -0700", "from dpdk-xiaoyun3.sh.intel.com ([10.67.119.132])\n\tby orsmga005.jf.intel.com with ESMTP; 17 Jun 2019 19:11:52 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Xiaoyun Li <xiaoyun.li@intel.com>", "To": "jingjing.wu@intel.com, keith.wiles@intel.com, cunming.liang@intel.com,\n\tomkar.maslekar@intel.com", "Cc": "dev@dpdk.org,\n\tXiaoyun Li <xiaoyun.li@intel.com>", "Date": "Tue, 18 Jun 2019 10:10:54 +0800", "Message-Id": "<20190618021055.12709-6-xiaoyun.li@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20190618021055.12709-1-xiaoyun.li@intel.com>", "References": "<20190614021940.78631-1-xiaoyun.li@intel.com>\n\t<20190618021055.12709-1-xiaoyun.li@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 5/6] usertools/dpdk-devbind.py: add support\n\tfor ntb", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "In order to allow binding/unbinding of devices for use by the\nntb_rawdev, we need to update the devbind script to add a new class\nof device, and add device ids for the specific HW instances. And\nonly support skx platform right now.\n\nSigned-off-by: Xiaoyun Li <xiaoyun.li@intel.com>\n---\n usertools/dpdk-devbind.py | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py\nindex 9e79f0d28..6e6f64bd3 100755\n--- a/usertools/dpdk-devbind.py\n+++ b/usertools/dpdk-devbind.py\n@@ -36,11 +36,15 @@\n octeontx2_npa = {'Class': '08', 'Vendor': '177d', 'Device': 'a0fb,a0fc',\n 'SVendor': None, 'SDevice': None}\n \n+intel_ntb_skx = {'Class': '06', 'Vendor': '8086', 'Device': '201c',\n+ 'SVendor': None, 'SDevice': None}\n+\n network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]\n crypto_devices = [encryption_class, intel_processor_class]\n eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso]\n mempool_devices = [cavium_fpa, octeontx2_npa]\n compress_devices = [cavium_zip]\n+misc_devices = [intel_ntb_skx]\n \n # global dict ethernet devices present. Dictionary indexed by PCI address.\n # Each device within this is itself a dictionary of device properties\n@@ -595,6 +599,9 @@ def show_status():\n if status_dev == \"compress\" or status_dev == \"all\":\n show_device_status(compress_devices , \"Compress\")\n \n+ if status_dev == \"misc\" or status_dev == \"all\":\n+ show_device_status(misc_devices , \"Misc\")\n+\n \n def parse_args():\n '''Parses the command-line arguments given by the user and takes the\n@@ -670,6 +677,7 @@ def do_arg_actions():\n get_device_details(eventdev_devices)\n get_device_details(mempool_devices)\n get_device_details(compress_devices)\n+ get_device_details(misc_devices)\n show_status()\n \n \n@@ -690,6 +698,7 @@ def main():\n get_device_details(eventdev_devices)\n get_device_details(mempool_devices)\n get_device_details(compress_devices)\n+ get_device_details(misc_devices)\n do_arg_actions()\n \n if __name__ == \"__main__\":\n", "prefixes": [ "v6", "5/6" ] }{ "id": 54888, "url": "