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 687FAA0C47 for ; Tue, 10 Aug 2021 17:42:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6307B4114F; Tue, 10 Aug 2021 17:42:26 +0200 (CEST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by mails.dpdk.org (Postfix) with ESMTP id 963834014F for ; Tue, 10 Aug 2021 17:42:24 +0200 (CEST) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id 7A8553F047 for ; Tue, 10 Aug 2021 15:42:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628610144; bh=AUyqs4mf1bkcH61K/29VIuwn/guHLx3GXmwMEQBBe4w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sGcTDknqE74qYQBdnZ83yF6XEHthUR0g5vxhPEg1bw+QC8/S5aJXDMEwXgUCJ/VFH SeHGtxaaMmzZNAu4nxGsAH4AezJIqgL5Hfb+9cbOIyZmxDdiE0v8OQ+FiaFi4kVkiR 6JtpeuykVh/VPdPjaXQiTyHEtWrtKa8yqzhqLHejvpE/o1ihFrvXkrPQqCDzo/+wbw JBCJquD0VAoxVWoIfsulpEOWLh0nY2x28bklVww1+XAiUYN4p/KKg5v5WfFCCNeWMH E/UtgiiKFIAW+yaNiNbjCmbDReEJaEGq1aoqWtsmRA4gcGRtXNTDMuSaGT18Jmauc+ RogN+fMHA+/ag== Received: by mail-ej1-f69.google.com with SMTP id q19-20020a1709064cd3b02904c5f93c0124so5733890ejt.14 for ; Tue, 10 Aug 2021 08:42:24 -0700 (PDT) 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=AUyqs4mf1bkcH61K/29VIuwn/guHLx3GXmwMEQBBe4w=; b=kkd2/0moZsVrl3ujtBHvbxjNsLP59K4GhVHLAEu3fXXDusisMtEtfX0ZFmJoyePBNu dGygUtQbur1yxv9TgUkMMzXM7+oALRHixrYH9lYvqKN0RKgI9/wTHA/KM7guB2MuxFsq I02fEYQ5SERuNDHGiJsLmp26aLFi+vPpwKbr0y02Y5/XpMOidi4BsRAOlNEeLb619/l8 HwQkYwk/oVMn67clDYwam7aI1CKXcX2QVx/PSyT+xv1Njk/piej0iNXv60/ACvDvpR0y 5jx6xL2+7ZFGmNXfYaArdEZCbD8hfU+yP0H/yclCDS6LrKcb9BnkDMQDYW1+m10Mee+V WFqw== X-Gm-Message-State: AOAM531WH0tWnveBpxRkaV+OOBQmbx32mX1iI2ED0sDAaVGWYMSzMYJA ioZqv75n1iwEvplknWPor7ZVMcbgiHk8k3t3QbVeyJxmk6r4gQYA3ROWWmF9tg+U/k0NGcoQT0J TcF/g/YSn2IHCma5MGmd8tj1b X-Received: by 2002:a05:6402:4312:: with SMTP id m18mr5717563edc.211.1628610144241; Tue, 10 Aug 2021 08:42:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK4VM7NFAEG2qk0J6+mMfG/A4tPqnhSx1s4rbin7RMVIuklmOYmEPjUUw+qejCCmJ11hnbHQ== X-Received: by 2002:a05:6402:4312:: with SMTP id m18mr5717551edc.211.1628610144082; Tue, 10 Aug 2021 08:42:24 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id bs13sm7033615ejb.98.2021.08.10.08.42.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 08:42:23 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Kai Ji Cc: Fan Zhang , Pablo de Lara , dpdk stable Date: Tue, 10 Aug 2021 17:39:17 +0200 Message-Id: <20210810154022.749358-37-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210810154022.749358-1-christian.ehrhardt@canonical.com> References: <20210810154022.749358-1-christian.ehrhardt@canonical.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 19.11.10 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 19.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/12/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/c83dbe298320ae348fab74f302ec3b2389d0d179 Thanks. Christian Ehrhardt --- >From c83dbe298320ae348fab74f302ec3b2389d0d179 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 85603eed5b..b7347ad499 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.32.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-08-10 15:11:14.496173624 +0200 +++ 0037-app-crypto-perf-fix-out-of-place-mempool-allocation.patch 2021-08-10 15:11:12.986637869 +0200 @@ -1 +1 @@ -From c84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2 Mon Sep 17 00:00:00 2001 +From c83dbe298320ae348fab74f302ec3b2389d0d179 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 058e0ba564..12925c7f22 100644 +index 85603eed5b..b7347ad499 100644