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 2D45743CAD for ; Thu, 14 Mar 2024 01:10:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E5BF40297; Thu, 14 Mar 2024 01:10:35 +0100 (CET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id DADB44021E for ; Thu, 14 Mar 2024 01:10:33 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4132600824bso2345995e9.2 for ; Wed, 13 Mar 2024 17:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710375033; x=1710979833; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gj6NhMCmQ2DIouCVwXxoNEC7whXYL528cPSP6tLDoLg=; b=LscIPl8oXDgt0Ok4EEbV9A5WFFwWAhgcbc9SRxQodGzUlX19JaxA5MBpwkyTq6XHfv 5MiFcWQ/EsxfKQlTI22etmbpzUraIfJdqfukN4+5wKMawVq+43g7VM8EjWQontTb1KxR abcbr+VAKSspPPj+YkXDM/Uj2ZbibWetJNWLt2UgI88Kf311xUuN7G8khlAY3tinZw7/ WcWnBOWZRdGkaCnzRdgVecFiQxRAf6JFOl6G+Y7qYI0rP5gqgDQTpzAwxFezGDWZk9r7 odJ+iIqM7hXVPe+EEJHo2mq6hRU3AjWcBTadvJcakM9jYS8u2un46ccfK7FLFh7PSuAj HUOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710375033; x=1710979833; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gj6NhMCmQ2DIouCVwXxoNEC7whXYL528cPSP6tLDoLg=; b=qgvboFHPI6p/+KFAyLBilfeN9nKzFE5YTvKZGwFjMIsG1TGOT+nQBSSZDRpkUmrhC+ Dw+GRX1bfw/hbmrOHFOmfoonnziBqqx60quT4ZH9n3QcgS9C7ZQzy/vkFADjvrhSQAL/ RXICU9KKlF5dfbgdvzzvbK0h4LSGEiCS/HhE/oIv46aiZpZ68ZRjJuoYLDGhaswow2o8 Zgn27g3jsMZipI4SFeESOv/XWY4bCWIy/W8oLhPNQCwkhqnErys/3B/mg0EejiwtqIeM DDEKap0nqtVGR/w/4Z9Z/Ljis91xE383ywepeUpTXTYh9WjDIPTyzaemKsFC1IHdwHid HECQ== X-Forwarded-Encrypted: i=1; AJvYcCW8LjZq8GxJbz+PxIx7wAqoQ54sobti/QADvw7io2EO++YxYJzguSzWnjVuPmG9ANbRrIDpE7lUcbM4zOZzlPA= X-Gm-Message-State: AOJu0Yz7Dg2fOWPFrnrLSXQluVj7BOvK6p6RdaGyfGPwjm/GFqMmx5SH Xt/LqEw7awJxxTcsUGIgnUOqcAsdqAnezDZrvw2enDwY20ocZ3fI X-Google-Smtp-Source: AGHT+IFgKeVqGuvbpxR9L8ivwLxDNSaxDaFDGQDVMYnOgwM9EEzuBPejf6erkfH5qN+1REImaFzDWw== X-Received: by 2002:a05:600c:3ac6:b0:413:2cc2:6f93 with SMTP id d6-20020a05600c3ac600b004132cc26f93mr217065wms.13.1710375033543; Wed, 13 Mar 2024 17:10:33 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:7aef:1aaa:3dff:d546]) by smtp.gmail.com with ESMTPSA id v4-20020a5d4a44000000b0033e7b433498sm275864wrs.111.2024.03.13.17.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 17:10:32 -0700 (PDT) From: luca.boccassi@gmail.com To: Suanming Mou Cc: Akhil Goyal , dpdk stable Subject: patch 'app/crypto-perf: fix out-of-place mbuf size' has been queued to stable release 22.11.5 Date: Thu, 14 Mar 2024 00:09:07 +0000 Message-Id: <20240314000957.2810803-11-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240314000957.2810803-1-luca.boccassi@gmail.com> References: <20240307013159.1735343-102-luca.boccassi@gmail.com> <20240314000957.2810803-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 22.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/16/24. 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/211da2b3c89abcb2361a2d3220a2d7e5cea6ef13 Thanks. Luca Boccassi --- >From 211da2b3c89abcb2361a2d3220a2d7e5cea6ef13 Mon Sep 17 00:00:00 2001 From: Suanming Mou Date: Wed, 3 Jan 2024 12:00:24 +0800 Subject: [PATCH] app/crypto-perf: fix out-of-place mbuf size [ upstream commit 24515c93197091437e32f35bba3f467c01633c1d ] If crypto device requires headroom and tailroom, the mbuf of dst in out-of-place should reserve the headroom and tailroom as well, otherwise there will be no enough room for dst mbuf. Fixes: bf9d6702eca9 ("app/crypto-perf: use single mempool") Signed-off-by: Suanming Mou Acked-by: Akhil Goyal --- app/test-crypto-perf/cperf_test_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c index dbb08588ee..94d39fb177 100644 --- a/app/test-crypto-perf/cperf_test_common.c +++ b/app/test-crypto-perf/cperf_test_common.c @@ -226,7 +226,8 @@ 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 + sizeof(struct rte_mbuf); + obj_size += max_size + sizeof(struct rte_mbuf) + + options->headroom_sz + options->tailroom_sz; } *pool = rte_mempool_create_empty(pool_name, -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-14 00:09:21.299284718 +0000 +++ 0011-app-crypto-perf-fix-out-of-place-mbuf-size.patch 2024-03-14 00:09:20.573614427 +0000 @@ -1 +1 @@ -From 24515c93197091437e32f35bba3f467c01633c1d Mon Sep 17 00:00:00 2001 +From 211da2b3c89abcb2361a2d3220a2d7e5cea6ef13 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 24515c93197091437e32f35bba3f467c01633c1d ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org