Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/54799/?format=api
http://patches.dpdk.org/api/patches/54799/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1560505157-9769-1-git-send-email-david.marchand@redhat.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": "<1560505157-9769-1-git-send-email-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1560505157-9769-1-git-send-email-david.marchand@redhat.com", "date": "2019-06-14T09:39:14", "name": "[v2,0/3] Improve automatic selection of IOVA mode", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1560505157-9769-1-git-send-email-david.marchand@redhat.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/54799/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/54799/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 692B31D4F6;\n\tFri, 14 Jun 2019 11:39:45 +0200 (CEST)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 3D5B31D4B6\n\tfor <dev@dpdk.org>; Fri, 14 Jun 2019 11:39:44 +0200 (CEST)", "from smtp.corp.redhat.com\n\t(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 77E62307D90D;\n\tFri, 14 Jun 2019 09:39:43 +0000 (UTC)", "from dmarchan.remote.csb (unknown [10.40.205.71])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 74CFF6C357;\n\tFri, 14 Jun 2019 09:39:36 +0000 (UTC)" ], "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "benjamin.walker@intel.com, jerinj@marvell.com, anatoly.burakov@intel.com,\n\tmaxime.coquelin@redhat.com, thomas@monjalon.net", "Date": "Fri, 14 Jun 2019 11:39:14 +0200", "Message-Id": "<1560505157-9769-1-git-send-email-david.marchand@redhat.com>", "In-Reply-To": "<20190530174819.1160221-1-benjamin.walker@intel.com>", "References": "<20190530174819.1160221-1-benjamin.walker@intel.com>", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.11", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.48]); Fri, 14 Jun 2019 09:39:43 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH v2 0/3] Improve automatic selection of IOVA mode", "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 SPDK, not all drivers are registered with DPDK at start up time.\nPreviously, that meant DPDK always chose to set itself up in IOVA_PA\nmode. Instead, when the correct iova choice is unclear based on the\ndevices and drivers known to DPDK at start up time, use other heuristics\n(such as whether /proc/self/pagemap is accessible) to make a better\nchoice.\n\nThis enables SPDK to run as an unprivileged user again without requiring\nusers to explicitly set the iova mode on the command line.\n\n\nChangelog since v1:\n- I took over the series following experiments and discussions with Ben\n and others, squashed Ben patches as two patches focusing on the main\n issues,\n- introduced a fix on KNI,\n- on the EAL bits,\n\n - added log on which IOVA mode has been selected,\n - updated BSD EAL,\n - in Linux EAL, moved KNI special case after IOVA selection,\n - in Linux EAL, added check on forced mode wrt physical addresses\n availability,\n\n- on the PCI bus driver bits,\n\n - enforced the checks in the common code of the PCI bus,\n - added debug logs to track why a iova mode has been chosen per device,\n - added BSD part,\n - in Linux part, checked that VFIO is enabled,\n - in Linux part, defaulted to DC if a driver supports both PA and VA,", "diff": null, "prefixes": [ "v2", "0/3" ] }{ "id": 54799, "url": "