Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/8563/?format=api
https://patches.dpdk.org/api/patches/8563/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1446517061-19261-3-git-send-email-nana.nn@alibaba-inc.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": "<1446517061-19261-3-git-send-email-nana.nn@alibaba-inc.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1446517061-19261-3-git-send-email-nana.nn@alibaba-inc.com", "date": "2015-11-03T02:17:41", "name": "[dpdk-dev,v3,2/2] lib/lpm:fix incorrect reuse of already allocated tbl8", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "f773243bf0190d7678d3ecff3f423aec5b6f8a0e", "submitter": { "id": 366, "url": "https://patches.dpdk.org/api/people/366/?format=api", "name": "=?UTF-8?B?6YKj5aicKOaBkuaciCk=?=", "email": "nana.nn@alibaba-inc.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1446517061-19261-3-git-send-email-nana.nn@alibaba-inc.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/8563/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/8563/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 638E78E9D;\n\tTue, 3 Nov 2015 03:17:54 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 95CA38E98\n\tfor <dev@dpdk.org>; Tue, 3 Nov 2015 03:17:52 +0100 (CET)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga103.fm.intel.com with ESMTP; 02 Nov 2015 18:17:51 -0800", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby FMSMGA003.fm.intel.com with ESMTP; 02 Nov 2015 18:17:50 -0800", "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id tA32HoW6006536;\n\tTue, 3 Nov 2015 10:17:50 +0800", "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid tA32Hll0019310; Tue, 3 Nov 2015 10:17:49 +0800", "(from jijiangl@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id tA32HlJb019306; \n\tTue, 3 Nov 2015 10:17:47 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.20,236,1444719600\"; d=\"scan'208\";a=\"592892918\"", "From": "Na Na <nana.nn@alibaba-inc.com>", "To": "dev@dpdk.org", "Date": "Tue, 3 Nov 2015 10:17:41 +0800", "Message-Id": "<1446517061-19261-3-git-send-email-nana.nn@alibaba-inc.com>", "X-Mailer": "git-send-email 1.7.12.2", "In-Reply-To": "<1446517061-19261-1-git-send-email-nana.nn@alibaba-inc.com>", "References": "<1446517061-19261-1-git-send-email-nana.nn@alibaba-inc.com>", "Subject": "[dpdk-dev] [PATCH v3 2/2] lib/lpm:fix incorrect reuse of already\n\tallocated tbl8", "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": "Fixes an initialization issue of 'valid_group' in the delete_depth_small().\n\nWhen adding an entry to a tbl8, the .valid_group field should always be set,\nso that future adds do not accidently find and use this table, thinking it is\ncurrently invalid, i.e. unused, and thereby overwrite existing entries.\n\nSigned-off-by: Na Na <nana.nn@alibaba-inc.com>\n\n---\n lib/librte_lpm/rte_lpm.c | 1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)", "diff": "diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c\nindex 57ec2f0..3981452 100644\n--- a/lib/librte_lpm/rte_lpm.c\n+++ b/lib/librte_lpm/rte_lpm.c\n@@ -769,6 +769,7 @@ delete_depth_small(struct rte_lpm *lpm, uint32_t ip_masked,\n \n \t\tstruct rte_lpm_tbl8_entry new_tbl8_entry = {\n \t\t\t.valid = VALID,\n+\t\t\t.valid_group = VALID,\n \t\t\t.depth = sub_rule_depth,\n \t\t\t.next_hop = lpm->rules_tbl\n \t\t\t[sub_rule_index].next_hop,\n", "prefixes": [ "dpdk-dev", "v3", "2/2" ] }{ "id": 8563, "url": "