Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41608/?format=api
http://patchwork.dpdk.org/api/patches/41608/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1530034653-28299-2-git-send-email-alejandro.lucero@netronome.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": "<1530034653-28299-2-git-send-email-alejandro.lucero@netronome.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1530034653-28299-2-git-send-email-alejandro.lucero@netronome.com", "date": "2018-06-26T17:37:28", "name": "[1/6] eal: add internal dma mask", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "30ac8a16a3bee2048f6fdcceab623f8200056b23", "submitter": { "id": 270, "url": "http://patchwork.dpdk.org/api/people/270/?format=api", "name": "Alejandro Lucero", "email": "alejandro.lucero@netronome.com" }, "delegate": { "id": 319, "url": "http://patchwork.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1530034653-28299-2-git-send-email-alejandro.lucero@netronome.com/mbox/", "series": [ { "id": 250, "url": "http://patchwork.dpdk.org/api/series/250/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=250", "date": "2018-06-26T17:37:28", "name": "[1/6] eal: add internal dma mask", "version": 1, "mbox": "http://patchwork.dpdk.org/series/250/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/41608/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/41608/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 C7C851BE40;\n\tTue, 26 Jun 2018 19:38:06 +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 78AE21BE3C;\n\tTue, 26 Jun 2018 19:38:04 +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\tw5QHbb0r028350; Tue, 26 Jun 2018 18:37:37 +0100", "(from alucero@localhost)\n\tby netronome.com (8.14.4/8.14.4/Submit) id w5QHbbkk028349;\n\tTue, 26 Jun 2018 18:37:37 +0100" ], "From": "Alejandro Lucero <alejandro.lucero@netronome.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org, anatoly.burakov@intel.com", "Date": "Tue, 26 Jun 2018 18:37:28 +0100", "Message-Id": "<1530034653-28299-2-git-send-email-alejandro.lucero@netronome.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1530034653-28299-1-git-send-email-alejandro.lucero@netronome.com>", "References": "<1530034653-28299-1-git-send-email-alejandro.lucero@netronome.com>", "Subject": "[dpdk-dev] [PATCH 1/6] eal: add internal dma mask", "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": "Devices can have addressing limitations and an internal dma mask\nwill track the more restrictive dma mask set by a device.\n\nSigned-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>\n---\n lib/librte_eal/common/eal_common_options.c | 1 +\n lib/librte_eal/common/eal_internal_cfg.h | 1 +\n 2 files changed, 2 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c\nindex 996a034..2d7c839 100644\n--- a/lib/librte_eal/common/eal_common_options.c\n+++ b/lib/librte_eal/common/eal_common_options.c\n@@ -205,6 +205,7 @@ struct device_option {\n \tfor (i = 0; i < MAX_HUGEPAGE_SIZES; i++)\n \t\tinternal_cfg->hugepage_info[i].lock_descriptor = -1;\n \tinternal_cfg->base_virtaddr = 0;\n+\tinternal_cfg->dma_mask = 0;\n \n \tinternal_cfg->syslog_facility = LOG_DAEMON;\n \ndiff --git a/lib/librte_eal/common/eal_internal_cfg.h b/lib/librte_eal/common/eal_internal_cfg.h\nindex fa6ccbe..e1e2944 100644\n--- a/lib/librte_eal/common/eal_internal_cfg.h\n+++ b/lib/librte_eal/common/eal_internal_cfg.h\n@@ -84,6 +84,7 @@ struct internal_config {\n \tconst char *mbuf_pool_ops_name; /**< mbuf pool ops name */\n \tunsigned num_hugepage_sizes; /**< how many sizes on this system */\n \tstruct hugepage_info hugepage_info[MAX_HUGEPAGE_SIZES];\n+\tuint64_t dma_mask;\n };\n extern struct internal_config internal_config; /**< Global EAL configuration. */\n \n", "prefixes": [ "1/6" ] }{ "id": 41608, "url": "