From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6441CA0C4C for ; Mon, 12 Jul 2021 15:13:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C88541177; Mon, 12 Jul 2021 15:13:57 +0200 (CEST) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mails.dpdk.org (Postfix) with ESMTP id 1672340685 for ; Mon, 12 Jul 2021 15:13:56 +0200 (CEST) Received: by mail-wm1-f53.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso14423265wmh.4 for ; Mon, 12 Jul 2021 06:13:56 -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=v5OFIunLlAzyVyDh5dz1fEMJH+gQwtt5rg103eJgQHE=; b=flHDazcNAlB7EygkyMDprEbVEzRJmn4CCg9KieXrNWSDPDWBDiYpna1ib0uWoDc5ta tF2qAoqgsEq7ibRNVKa+lbHvM3EfYV7p2Rz2GkwZeNQIr9dgS6/koBFduSUz7P3E5wU/ EJkRPeWZjyVoAL2b522DDnEjZhfqyBmsY6eq5UyiDs4FkK4MZuB5sZ7m3TCwF0b1CEsK 2k9R74WgiZsyA9fOJfaxcYU/et3sf4VKdw4/DGILdf7HXmY4Cur10DnaZzJ7T1JokDZ+ rtiFxfXjDTH2dJwtMIFKEprLJMw2I/I5+mESqWhfXXobi2E9Qfv5n/RtEy31ihgJZYue KU1w== 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=v5OFIunLlAzyVyDh5dz1fEMJH+gQwtt5rg103eJgQHE=; b=GMb/w4lMq74LYplaJpKZL4g6N36SMW927Ps1v/Hq8TPOZDJUgzd1mZlbmaM84p2esc v/aXOfQweTEyRBJU/i39+fEo3817Tpv05gQRdJfQlXuts5W5vsrvGEYxpisvsiSBlGa3 BkAgA+CJNEsylU1BRjf4CbgYb2xn2/2bCnet3xp6oEVR3vFO3kOcamCin5ruPJB/lm0B 0yXXOOiikoitCmgyB01MxcX4ib/oE8AIhnI+bSIzLPn1qraWpBwnI4pdchakRgI1hjW0 R84eIHKk2Rxk7U3p4w0p7Q3KlFjW6gXZOeWeTzJ/ySOqKT8rrAMpvYFA3H6YbsOPYqv9 UAlg== X-Gm-Message-State: AOAM532bpNlvVKY2CdEpPhGom+PLtrsz1vxhXR8RWQhR6LkpWHnZ9hlF LNElnSuihJp2sqeNx3n5RK0= X-Google-Smtp-Source: ABdhPJxuPodhLrMEi7T7w/5lNJE7bpoivq6cHU21jSw1ZigscVWyxcKOD6jDp++MNKKEddVsVW4gSw== X-Received: by 2002:a1c:7c17:: with SMTP id x23mr585228wmc.43.1626095635880; Mon, 12 Jul 2021 06:13:55 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id f7sm7508557wru.11.2021.07.12.06.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 06:13:55 -0700 (PDT) From: luca.boccassi@gmail.com To: Kai Ji Cc: Fan Zhang , Pablo de Lara , dpdk stable Date: Mon, 12 Jul 2021 14:05:08 +0100 Message-Id: <20210712130551.2462159-73-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210712130551.2462159-1-luca.boccassi@gmail.com> References: <20210712130551.2462159-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'app/crypto-perf: fix out-of-place mempool allocation' has been queued to stable release 20.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 20.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 07/14/21. 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. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/36fbf73b6af6e337f8c8bff64aaa0f1d44c11288 Thanks. Luca Boccassi --- >From 36fbf73b6af6e337f8c8bff64aaa0f1d44c11288 Mon Sep 17 00:00:00 2001 From: Kai Ji Date: Mon, 24 May 2021 17:46:27 +0100 Subject: [PATCH] app/crypto-perf: fix out-of-place mempool allocation [ upstream commit c84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2 ] Add missing rte_mbuf size in mempool allocation for out-of-place operation. Fixes: bf9d6702eca9 ("app/crypto-perf: use single mempool") Signed-off-by: Kai Ji Acked-by: Fan Zhang Acked-by: Pablo de Lara --- app/test-crypto-perf/cperf_test_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c index 058e0ba564..12925c7f22 100644 --- a/app/test-crypto-perf/cperf_test_common.c +++ b/app/test-crypto-perf/cperf_test_common.c @@ -194,7 +194,7 @@ cperf_alloc_common_memory(const struct cperf_options *options, (mbuf_size * segments_nb); params.dst_buf_offset = *dst_buf_offset; /* Destination buffer will be one segment only */ - obj_size += max_size; + obj_size += max_size + sizeof(struct rte_mbuf); } *pool = rte_mempool_create_empty(pool_name, -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-07-12 13:41:40.462579094 +0100 +++ 0073-app-crypto-perf-fix-out-of-place-mempool-allocation.patch 2021-07-12 13:41:36.630125527 +0100 @@ -1 +1 @@ -From c84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2 Mon Sep 17 00:00:00 2001 +From 36fbf73b6af6e337f8c8bff64aaa0f1d44c11288 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org