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 1AC5BA0093 for ; Tue, 19 May 2020 15:12:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 119D91D727; Tue, 19 May 2020 15:12:07 +0200 (CEST) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id 24DB41D727 for ; Tue, 19 May 2020 15:12:06 +0200 (CEST) Received: by mail-wm1-f66.google.com with SMTP id f134so3023480wmf.1 for ; Tue, 19 May 2020 06:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VlMakJPyKKSbF+osD2o1NtFf0Ta3R1zgaBPGJlghxsY=; b=IbFkGA3pe45JQTAiEwoxt2swWul2lRfAOEfJyRt98BNl+rNlk00BTH1TfYsRmKmcn+ Gn94detT6nS76fInNmm33hZO0CSne6XzZXAHglo1aCkloMN+vI7TS0RBkcPisrUXTQCr AxTQLpfOMuQfNAyZ8coA6bIw7doCDEF4bLoVstmFjx8leFFgQ3Rg9ge0vBkbnqcw015w NoZ8wz5DhTNUGSLaM53nfPAF9DuU4m+GbMrhSjSZO8K7S40itjlhv+9x5wfc6yhwMaSH y/sUHSGo9jzQHum7WMoOEyiFY+ke0uNMPE413HOKGuVdKFnvdGdmK+fAHYgi5KLdscrY oIbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VlMakJPyKKSbF+osD2o1NtFf0Ta3R1zgaBPGJlghxsY=; b=ACQMOWu6SUGcBbXvIqDoHOJDZ9D4uvtOroc5yGT1BBCHyOo4RqyrMAattFGCiwrnXT 7v9YPBUf0eD52QNCCRcCkqjnP5vqF1b7MjHby7cfsJpEtxkKC8B8HL4ELb1dPeLp30K9 NbDKu0iS7qcW16rl5uoXZGJy45bwqV4Va+eXueOnHShTzSeOdZ1YKs1qdL63Yq1HZhUF g8uxhHf16nJ/qEHHMHkYoJsPYhMWcUihVfXUJ5gOHueq9ZNkj7WHaCut7+q2QlFXqZeQ bQhiEChn8B78quVZY0m7g576mlfAltft5nqMcgx/RZV/+TYZdUKSMLt8gNHkdH1RKs58 Ro2w== X-Gm-Message-State: AOAM5327zthtVDLH2TSJWUFo17BuPRo93QQyVu2TYoaFDXGwBkpHPe/7 EX30G7cUyWFgRzts+jcrOGpN+QvdCT6eT2vO X-Google-Smtp-Source: ABdhPJyIZ1qMeDtrgs1UjezBRKdKX92bFFBfwApvynY8VzOxr9moJfloFAUaKvrUHMfKy+lCC6unCg== X-Received: by 2002:a1c:9d50:: with SMTP id g77mr5550637wme.56.1589893925815; Tue, 19 May 2020 06:12:05 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id v126sm4097873wmb.4.2020.05.19.06.12.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:12:05 -0700 (PDT) From: luca.boccassi@gmail.com To: Alex Kiselev Cc: Andrzej Ostruszka , Bruce Richardson , dpdk stable Date: Tue, 19 May 2020 14:04:13 +0100 Message-Id: <20200519130549.112823-118-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519130549.112823-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> <20200519130549.112823-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'lpm6: fix size of tbl8 group' has been queued to stable release 19.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From eee7a4f08927726f70672838571c92687c687ed5 Mon Sep 17 00:00:00 2001 From: Alex Kiselev Date: Wed, 8 Apr 2020 15:07:30 +0200 Subject: [PATCH] lpm6: fix size of tbl8 group [ upstream commit 64c46bacf48550f09ef758a15cee9d3b6f443f59 ] Fixes: e480688dce6d ("lpm6: add incremental update on delete") Signed-off-by: Alex Kiselev Acked-by: Andrzej Ostruszka Acked-by: Bruce Richardson --- 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 b981e40714..2e3efc7186 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 -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:49.281903836 +0100 +++ 0118-lpm6-fix-size-of-tbl8-group.patch 2020-05-19 14:04:44.388651490 +0100 @@ -1,10 +1,11 @@ -From 64c46bacf48550f09ef758a15cee9d3b6f443f59 Mon Sep 17 00:00:00 2001 +From eee7a4f08927726f70672838571c92687c687ed5 Mon Sep 17 00:00:00 2001 From: Alex Kiselev Date: Wed, 8 Apr 2020 15:07:30 +0200 Subject: [PATCH] lpm6: fix size of tbl8 group +[ upstream commit 64c46bacf48550f09ef758a15cee9d3b6f443f59 ] + Fixes: e480688dce6d ("lpm6: add incremental update on delete") -Cc: stable@dpdk.org Signed-off-by: Alex Kiselev Acked-by: Andrzej Ostruszka @@ -14,7 +15,7 @@ 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c -index 1047efa8a5..f5979fb159 100644 +index b981e40714..2e3efc7186 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,