From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5CE5A0597; Wed, 8 Apr 2020 14:28:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D32D41C0BF; Wed, 8 Apr 2020 14:28:15 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 38A551C0BE for ; Wed, 8 Apr 2020 14:28:14 +0200 (CEST) IronPort-SDR: 1URpkaIKhwzQUIzkY3gurI/MbIKbzCrPjEtTses75dSDSI7MqdbIT/yFQ4urFBEIfSCNMiux/W Bpvx3hOO6QCA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2020 05:28:13 -0700 IronPort-SDR: EkE56ZuBSAhXKFTEA8A9bAiuLS6AO3NlNkWaL/YUCVgl8akozXobznRUH+3HGWyWhvDeYQ26pd CuNtoAsc+Law== X-IronPort-AV: E=Sophos;i="5.72,358,1580803200"; d="scan'208";a="297224314" Received: from bricha3-mobl.ger.corp.intel.com ([10.214.218.167]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 08 Apr 2020 05:28:11 -0700 Date: Wed, 8 Apr 2020 13:28:07 +0100 From: Bruce Richardson To: Alex Kiselev Cc: dev@dpdk.org Message-ID: <20200408122807.GA591@bricha3-MOBL.ger.corp.intel.com> References: <114e2ae0-3eb7-45c0-8ec8-d60507a9c862@orsmsx101.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <114e2ae0-3eb7-45c0-8ec8-d60507a9c862@orsmsx101.amr.corp.intel.com> Subject: Re: [dpdk-dev] [PATCH] rte_lpm6: fix incorrect size of tbl8 group X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Apr 07, 2020 at 02:52:57PM +0300, Alex Kiselev wrote: > rte_lpm6: fix incorrect size of tbl8 group > Missing Cc: stable@dpdk.org and fixes line, which I believe should be: Fixes: e480688dce6d ("lpm6: add incremental update on delete") > Signed-off-by: Alex Kiselev > --- > lib/librte_lpm/rte_lpm6.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c > index 1047efa8a..f5979fb15 100644 > --- a/lib/librte_lpm/rte_lpm6.c > +++ b/lib/librte_lpm/rte_lpm6.c > @@ -726,7 +726,8 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl, > tbl8_group_start = tbl8_gindex * > RTE_LPM6_TBL8_GROUP_NUM_ENTRIES; > memset(&lpm->tbl8[tbl8_group_start], 0, > - RTE_LPM6_TBL8_GROUP_NUM_ENTRIES); > + RTE_LPM6_TBL8_GROUP_NUM_ENTRIES * > + sizeof(struct rte_lpm6_tbl_entry)); > > /* init the new table's header: > * save the reference to the owner table With fixes line and Cc of stable: Acked-by: Bruce Richardson