Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/7013/?format=api
https://patches.dpdk.org/api/patches/7013/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1441958551-29313-1-git-send-email-david.marchand@6wind.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": "<1441958551-29313-1-git-send-email-david.marchand@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1441958551-29313-1-git-send-email-david.marchand@6wind.com", "date": "2015-09-11T08:02:30", "name": "[dpdk-dev,1/2] enic: fix allocation when not using first numa node", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "e0998ba42da5ff18239d93a55e0836fd9a6c505a", "submitter": { "id": 3, "url": "https://patches.dpdk.org/api/people/3/?format=api", "name": "David Marchand", "email": "david.marchand@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1441958551-29313-1-git-send-email-david.marchand@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/7013/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/7013/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 61D088DED;\n\tFri, 11 Sep 2015 10:03:12 +0200 (CEST)", "from mail-wi0-f180.google.com (mail-wi0-f180.google.com\n\t[209.85.212.180]) by dpdk.org (Postfix) with ESMTP id B07A637B7\n\tfor <dev@dpdk.org>; Fri, 11 Sep 2015 10:03:10 +0200 (CEST)", "by wicfx3 with SMTP id fx3so54418826wic.1\n\tfor <dev@dpdk.org>; Fri, 11 Sep 2015 01:03:10 -0700 (PDT)", "from gloops.dev.6wind.com (89-158-215-180.rev.numericable.fr.\n\t[89.158.215.180]) by smtp.gmail.com with ESMTPSA id\n\tqq4sm438201wjc.14.2015.09.11.01.02.38\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 11 Sep 2015 01:02:39 -0700 (PDT)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=vChZFbY40VS83lyPkIyLv5S4+JrThx7/nlcYI9mAJDc=;\n\tb=UgMC7IMLFOn8r3oemXU6Rb6VH7wBedzea56JYcU7cZPNkcPLOLGthuxpxIZl3neLaf\n\tOhIqc/7nhWMCmwAPs/pAaYoU5ZgCXhW13u+in1Mtl1BnO5Cl/yGovBgJ5I9h8ixZx2xF\n\tVaG519EZfC+J2WnsbxaIBmx1Ht8wjIHnne4YEP8BMgrwJLe4DgSqbGx9q6HWJ0lf6zTF\n\t2isoX7prNFT9DNmmZqwWfwuE/Y6oYaoFehHNDeqKKwvFisr4/Xih8TK+jMAC0p1Dsqwn\n\tLeU2TBBs5Rli5HD9Pa58nXteD4ih4Pq8PsbmwHPNoU/PC7tgVH9DaEkl6ENEwx0md6YZ\n\tBX8A==", "X-Gm-Message-State": "ALoCoQnKgpvjap6Y1eW+Gb/0+UIYAi1FieFBMIMk5BxhpQmUb8X8vc5dOqwh+kKGxOiMB5F/SqDK", "X-Received": "by 10.180.99.232 with SMTP id et8mr13980637wib.80.1441958559742; \n\tFri, 11 Sep 2015 01:02:39 -0700 (PDT)", "From": "David Marchand <david.marchand@6wind.com>", "To": "dev@dpdk.org", "Date": "Fri, 11 Sep 2015 10:02:30 +0200", "Message-Id": "<1441958551-29313-1-git-send-email-david.marchand@6wind.com>", "X-Mailer": "git-send-email 1.9.1", "Subject": "[dpdk-dev] [PATCH 1/2] enic: fix allocation when not using first\n\tnuma node", "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": "Seen by code review.\n\nIf dpdk is run with memory only available on socket != 0, then enic pmd\nrefuses to initialize ports as this pmd requires some memory on socket 0.\nFix this by setting socket to SOCKET_ID_ANY, so that allocations happen on\nthe caller socket.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n drivers/net/enic/enic_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c\nindex 3b8719f..46a90bd 100644\n--- a/drivers/net/enic/enic_main.c\n+++ b/drivers/net/enic/enic_main.c\n@@ -539,7 +539,7 @@ enic_alloc_consistent(__rte_unused void *priv, size_t size,\n \t*dma_handle = 0;\n \n \trz = rte_memzone_reserve_aligned((const char *)name,\n-\t\tsize, 0, 0, ENIC_ALIGN);\n+\t\t\t\t\t size, SOCKET_ID_ANY, 0, ENIC_ALIGN);\n \tif (!rz) {\n \t\tpr_err(\"%s : Failed to allocate memory requested for %s\",\n \t\t\t__func__, name);\n", "prefixes": [ "dpdk-dev", "1/2" ] }{ "id": 7013, "url": "