Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/17270/?format=api
https://patches.dpdk.org/api/patches/17270/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1480214645-27726-1-git-send-email-wei.zhao1@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": "<1480214645-27726-1-git-send-email-wei.zhao1@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1480214645-27726-1-git-send-email-wei.zhao1@intel.com", "date": "2016-11-27T02:44:05", "name": "[dpdk-dev,v2] mempool: remove a redundant socket_id assignment", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "0243965da0e0f8f2d5ec9cbce8f974e5e854c26b", "submitter": { "id": 495, "url": "https://patches.dpdk.org/api/people/495/?format=api", "name": "Zhao1, Wei", "email": "wei.zhao1@intel.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1480214645-27726-1-git-send-email-wei.zhao1@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/17270/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/17270/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 850F45583;\n\tSun, 27 Nov 2016 03:48:30 +0100 (CET)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id C19782BD8\n\tfor <dev@dpdk.org>; Sun, 27 Nov 2016 03:48:03 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby fmsmga101.fm.intel.com with ESMTP; 26 Nov 2016 18:48:02 -0800", "from dpdk1.bj.intel.com ([172.16.182.84])\n\tby fmsmga005.fm.intel.com with ESMTP; 26 Nov 2016 18:48:01 -0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.31,703,1473145200\"; d=\"scan'208\";a=\"35937699\"", "From": "Wei Zhao <wei.zhao1@intel.com>", "To": "dev@dpdk.org", "Cc": "olivier.matz@6wind.com,\n\tzhao wei <wei.zhao1@intel.com>", "Date": "Sun, 27 Nov 2016 10:44:05 +0800", "Message-Id": "<1480214645-27726-1-git-send-email-wei.zhao1@intel.com>", "X-Mailer": "git-send-email 2.5.5", "Subject": "[dpdk-dev] [PATCH v2] mempool: remove a redundant socket_id\n\tassignment", "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": "From: zhao wei <wei.zhao1@intel.com>\n\nThere is a redundant repetition mempool socket_id assignment in the\nfile rte_mempool.c in function rte_mempool_create_empty.The\nstatement \"mp->socket_id = socket_id;\"appear twice in line 821\nand 824.One of them is redundant, so delete it.\n\nFixes: 85226f9c526b (\"mempool:introduce a function to create an empty pool\")\nSigned-off-by: zhao wei <wei.zhao1@intel.com>\nAcked-by: John McNamara <john.mcnamara@intel.com>\nAcked-by: Olivier Matz <olivier.matz@6wind.com>\n---\n lib/librte_mempool/rte_mempool.c | 1 -\n 1 file changed, 1 deletion(-)", "diff": "diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c\nindex aa513b9..1c2aed8 100644\n--- a/lib/librte_mempool/rte_mempool.c\n+++ b/lib/librte_mempool/rte_mempool.c\n@@ -818,7 +818,6 @@ rte_mempool_create_empty(const char *name, unsigned n, unsigned elt_size,\n \t\tgoto exit_unlock;\n \t}\n \tmp->mz = mz;\n-\tmp->socket_id = socket_id;\n \tmp->size = n;\n \tmp->flags = flags;\n \tmp->socket_id = socket_id;\n", "prefixes": [ "dpdk-dev", "v2" ] }{ "id": 17270, "url": "