Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2486/?format=api
https://patches.dpdk.org/api/patches/2486/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421939108-28666-1-git-send-email-cian.ferriter@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": "<1421939108-28666-1-git-send-email-cian.ferriter@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1421939108-28666-1-git-send-email-cian.ferriter@intel.com", "date": "2015-01-22T15:05:08", "name": "[dpdk-dev] lib/librte_ether: change socket_id passed to rte_memzone_reserve", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "a31295d9e8829dee26a9c0f3112ba128ad3d8246", "submitter": { "id": 152, "url": "https://patches.dpdk.org/api/people/152/?format=api", "name": "Cian Ferriter", "email": "cian.ferriter@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421939108-28666-1-git-send-email-cian.ferriter@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/2486/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/2486/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 6CBF15A8E;\n\tThu, 22 Jan 2015 16:05:55 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 3754D5A15\n\tfor <dev@dpdk.org>; Thu, 22 Jan 2015 16:05:51 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga103.fm.intel.com with ESMTP; 22 Jan 2015 06:59:27 -0800", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga001.fm.intel.com with ESMTP; 22 Jan 2015 07:05:12 -0800", "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\tt0MF5Blf028528; Thu, 22 Jan 2015 15:05:11 GMT", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id t0MF5Api028715;\n\tThu, 22 Jan 2015 15:05:10 GMT", "(from cferrite@localhost)\n\tby sivswdev01.ir.intel.com with id t0MF5A7e028711;\n\tThu, 22 Jan 2015 15:05:10 GMT" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.09,449,1418112000\"; d=\"scan'208\";a=\"654936203\"", "From": "Cian Ferriter <cian.ferriter@intel.com>", "To": "dev@dpdk.org", "Date": "Thu, 22 Jan 2015 15:05:08 +0000", "Message-Id": "<1421939108-28666-1-git-send-email-cian.ferriter@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "Subject": "[dpdk-dev] [PATCH] lib/librte_ether: change socket_id passed to\n\trte_memzone_reserve", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://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": "<http://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": "Removes the dependency that this memzone reserve has on the\nsocket currently running on. Following the socket of the master\ncore will yield more predictable results when calling this\nfunction after initialisation.\n\nSigned-off-by: Cian Ferriter <cian.ferriter@intel.com>\nReviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>\nReviewed-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_ether/rte_ethdev.c | 2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n mode change 100644 => 100755 lib/librte_ether/rte_ethdev.c", "diff": "diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c\nold mode 100644\nnew mode 100755\nindex ea3a1fb..088bffc\n--- a/lib/librte_ether/rte_ethdev.c\n+++ b/lib/librte_ether/rte_ethdev.c\n@@ -184,7 +184,7 @@ rte_eth_dev_data_alloc(void)\n \tif (rte_eal_process_type() == RTE_PROC_PRIMARY){\n \t\tmz = rte_memzone_reserve(MZ_RTE_ETH_DEV_DATA,\n \t\t\t\tRTE_MAX_ETHPORTS * sizeof(*rte_eth_dev_data),\n-\t\t\t\trte_socket_id(), flags);\n+\t\t\t\trte_lcore_to_socket_id(rte_get_master_lcore()), flags);\n \t} else\n \t\tmz = rte_memzone_lookup(MZ_RTE_ETH_DEV_DATA);\n \tif (mz == NULL)\n", "prefixes": [ "dpdk-dev" ] }{ "id": 2486, "url": "