Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/37567/?format=api
https://patches.dpdk.org/api/patches/37567/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/eb330200d10173c3cab036f7f74cef3ec09dfeda.1523218215.git.anatoly.burakov@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": "<eb330200d10173c3cab036f7f74cef3ec09dfeda.1523218215.git.anatoly.burakov@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/eb330200d10173c3cab036f7f74cef3ec09dfeda.1523218215.git.anatoly.burakov@intel.com", "date": "2018-04-08T20:17:56", "name": "[dpdk-dev,v4,23/70] net/vmxnet3: use contiguous allocation for DMA memory", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "0ef73f0b26aa0bdab58f598b5e566dcd7de8969c", "submitter": { "id": 4, "url": "https://patches.dpdk.org/api/people/4/?format=api", "name": "Burakov, Anatoly", "email": "anatoly.burakov@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/eb330200d10173c3cab036f7f74cef3ec09dfeda.1523218215.git.anatoly.burakov@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/37567/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/37567/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 BC4F11B72A;\n\tSun, 8 Apr 2018 22:20:18 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 9263C1B694\n\tfor <dev@dpdk.org>; Sun, 8 Apr 2018 22:18:54 +0200 (CEST)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t08 Apr 2018 13:18:52 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga005.fm.intel.com with ESMTP; 08 Apr 2018 13:18:49 -0700", "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw38KImoR021136; Sun, 8 Apr 2018 21:18:48 +0100", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id w38KImtD011045;\n\tSun, 8 Apr 2018 21:18:48 +0100", "(from aburakov@localhost)\n\tby sivswdev01.ir.intel.com with LOCAL id w38KImwh011041;\n\tSun, 8 Apr 2018 21:18:48 +0100" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.48,424,1517904000\"; d=\"scan'208\";a=\"218751416\"", "From": "Anatoly Burakov <anatoly.burakov@intel.com>", "To": "dev@dpdk.org", "Cc": "Shrikrishna Khare <skhare@vmware.com>, keith.wiles@intel.com,\n\tjianfeng.tan@intel.com, andras.kovacs@ericsson.com,\n\tlaszlo.vadkeri@ericsson.com, benjamin.walker@intel.com,\n\tbruce.richardson@intel.com, thomas@monjalon.net,\n\tkonstantin.ananyev@intel.com, kuralamudhan.ramakrishnan@intel.com,\n\tlouise.m.daly@intel.com, nelio.laranjeiro@6wind.com,\n\tyskoh@mellanox.com, pepperjo@japf.ch, jerin.jacob@caviumnetworks.com, \n\themant.agrawal@nxp.com, olivier.matz@6wind.com, shreyansh.jain@nxp.com,\n\tgowrishankar.m@linux.vnet.ibm.com", "Date": "Sun, 8 Apr 2018 21:17:56 +0100", "Message-Id": "<eb330200d10173c3cab036f7f74cef3ec09dfeda.1523218215.git.anatoly.burakov@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "In-Reply-To": [ "<cover.1523218215.git.anatoly.burakov@intel.com>", "<cover.1523218215.git.anatoly.burakov@intel.com>" ], "References": [ "<cover.1523218215.git.anatoly.burakov@intel.com>", "<cover.1522797505.git.anatoly.burakov@intel.com>\n\t<cover.1523218215.git.anatoly.burakov@intel.com>" ], "Subject": "[dpdk-dev] [PATCH v4 23/70] net/vmxnet3: use contiguous allocation\n\tfor DMA memory", "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "All hardware drivers should allocate IOVA-contiguous\nmemzones for their hardware resources.\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n\nNotes:\n v4:\n - Use new memzone flag instead of new API\n - Remove experimental API from build files\n \n v3:\n - Add experimental API to build files\n \n v3:\n - Moved patch earlier in the patchset\n - Allowed experimental API in Makefile\n\n drivers/net/vmxnet3/vmxnet3_ethdev.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c\nindex 4260087..104664a 100644\n--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c\n+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c\n@@ -150,13 +150,14 @@ gpa_zone_reserve(struct rte_eth_dev *dev, uint32_t size,\n \t\tif (mz)\n \t\t\trte_memzone_free(mz);\n \t\treturn rte_memzone_reserve_aligned(z_name, size, socket_id,\n-\t\t\t\t\t\t 0, align);\n+\t\t\t\tRTE_MEMZONE_IOVA_CONTIG, align);\n \t}\n \n \tif (mz)\n \t\treturn mz;\n \n-\treturn rte_memzone_reserve_aligned(z_name, size, socket_id, 0, align);\n+\treturn rte_memzone_reserve_aligned(z_name, size, socket_id,\n+\t\t\tRTE_MEMZONE_IOVA_CONTIG, align);\n }\n \n /*\n", "prefixes": [ "dpdk-dev", "v4", "23/70" ] }{ "id": 37567, "url": "