Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/42126/?format=api
http://patches.dpdk.org/api/patches/42126/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1530552423-32301-3-git-send-email-alejandro.lucero@netronome.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": "<1530552423-32301-3-git-send-email-alejandro.lucero@netronome.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1530552423-32301-3-git-send-email-alejandro.lucero@netronome.com", "date": "2018-07-02T17:26:59", "name": "[2/6] ethdev: add function for checking IOVAs by a device", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "1d4f4ced862103345006e129bde96bfe4929f235", "submitter": { "id": 270, "url": "http://patches.dpdk.org/api/people/270/?format=api", "name": "Alejandro Lucero", "email": "alejandro.lucero@netronome.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1530552423-32301-3-git-send-email-alejandro.lucero@netronome.com/mbox/", "series": [ { "id": 364, "url": "http://patches.dpdk.org/api/series/364/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=364", "date": "2018-07-02T17:26:58", "name": "Use IOVAs check based on DMA mask", "version": 1, "mbox": "http://patches.dpdk.org/series/364/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/42126/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/42126/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 A2F131B5A6;\n\tMon, 2 Jul 2018 19:27:21 +0200 (CEST)", "from netronome.com (host-79-78-33-110.static.as9105.net\n\t[79.78.33.110]) by dpdk.org (Postfix) with ESMTP id 126411B566;\n\tMon, 2 Jul 2018 19:27:12 +0200 (CEST)", "from netronome.com (localhost [127.0.0.1])\n\tby netronome.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id\n\tw62HR7ZN032352; Mon, 2 Jul 2018 18:27:07 +0100", "(from alucero@localhost)\n\tby netronome.com (8.14.4/8.14.4/Submit) id w62HR7uT032351;\n\tMon, 2 Jul 2018 18:27:07 +0100" ], "From": "Alejandro Lucero <alejandro.lucero@netronome.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org, anatoly.burakov@intel.com, maxime.coquelin@redhat.com", "Date": "Mon, 2 Jul 2018 18:26:59 +0100", "Message-Id": "<1530552423-32301-3-git-send-email-alejandro.lucero@netronome.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1530552423-32301-1-git-send-email-alejandro.lucero@netronome.com>", "References": "<1530552423-32301-1-git-send-email-alejandro.lucero@netronome.com>", "Subject": "[dpdk-dev] [PATCH 2/6] ethdev: add function for checking IOVAs by a\n\tdevice", "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": "A PMD should invoke this function for checking memsegs iovas are within\nthe supported range by the device.\n\nSigned-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>\n---\n lib/librte_ether/rte_ethdev.h | 13 +++++++++++++\n 1 file changed, 13 insertions(+)", "diff": "diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h\nindex eba11ca..e51a432 100644\n--- a/lib/librte_ether/rte_ethdev.h\n+++ b/lib/librte_ether/rte_ethdev.h\n@@ -2799,6 +2799,19 @@ int rte_eth_dev_set_vlan_ether_type(uint16_t port_id,\n int rte_eth_dev_set_vlan_pvid(uint16_t port_id, uint16_t pvid, int on);\n \n /**\n+ * check device dma mask within expected range based on dma mask.\n+ *\n+ * @param maskbits\n+ * mask length in bits\n+ *\n+ */\n+static inline int\n+rte_eth_dev_check_dma_mask(uint8_t maskbits)\n+{\n+\treturn rte_eal_check_dma_mask(maskbits);\n+}\n+\n+/**\n *\n * Retrieve a burst of input packets from a receive queue of an Ethernet\n * device. The retrieved packets are stored in *rte_mbuf* structures whose\n", "prefixes": [ "2/6" ] }{ "id": 42126, "url": "