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 2BD04A00C2 for ; Thu, 3 Nov 2022 10:31:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2440541614; Thu, 3 Nov 2022 10:31:07 +0100 (CET) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mails.dpdk.org (Postfix) with ESMTP id 84D9C40693 for ; Thu, 3 Nov 2022 10:31:05 +0100 (CET) Received: by mail-wm1-f52.google.com with SMTP id a11-20020a05600c2d4b00b003cf6f5fd9f1so732918wmg.2 for ; Thu, 03 Nov 2022 02:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=5RWJ0dT9nQyZXLa0MD6FkxywI5NuTuVz9NnJfahxnFE=; b=X/Lb9cHeWR4t+Pvo4pjpux4T4sPapLUG4DytDnHb+ZhXdK22IEmDftmaz8+1vFr7q+ bmv3bm7JHX4/unvH1DiJ9XW8kMgL6GawD/ZFHKrY75mJFEM7W3B8QmJKgVqRHvyllYk7 zO1gM15mAImxhF5eVDqYpIxp+xvwHolEolhD8fi9YsV/ThrBoRs1VQozVdlIpzElLO2a nTedLF6X44nDj1SavWo7jwHaAUFn9NNT5QmN3MkcUgB9FPeveW+SzxTqaTlvLao1pcD4 9zYk+IDybOVwFaZ6SEq13HlF101NMQuWMxnqALB6YFIz59bihBHYtLb/rDus70Fxkqp1 5Few== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=5RWJ0dT9nQyZXLa0MD6FkxywI5NuTuVz9NnJfahxnFE=; b=NeXQCBRYTXQlrp8zrsvGUuHd+7WekzRTiuq3CXE5QnLH2tevaSrDuTi8ciu2sscV4s mqiyI/kGE5LrIqSmzdxFuRMQcyx6sQMNGnGKmf9No/D9FRy2cnb+25WPNVc/fAgYtKBc RXB4owYPQjdao5ndNHPGEBFaLluMCSaeC3iyOgd1InvagBU1fjh/diHMu+C9jIIG79iA xvd0Rp6Lf435WAEvHuORAtd5x0y2QXBk34gSFMify9WYCvjrm5ASUjkfZ7nigrMWX/RC pvVUVax61Fp4Xc4cUELCkBwVsZCTTKd0DpPyVkuRaHP4EmI0RE1Q2vc7tdXDoCS544oO Ojzg== X-Gm-Message-State: ACrzQf3t5In08D+LCqUL1jmmxVbvQwT3U8H5sE87pPHEPRAdWv1iDbkc DPswJGGFHt+WcbqbpMgKN+hF0LEgdz5RLCUD X-Google-Smtp-Source: AMsMyM7G7t2oDehMHo76gpPbD4iCRcdR8FIQaucsuxJNiU5fVXaaftXZi5oMx1X4igaIOhIPWVvHGg== X-Received: by 2002:a05:600c:46c7:b0:3c6:f57a:d385 with SMTP id q7-20020a05600c46c700b003c6f57ad385mr29576165wmo.78.1667467865163; Thu, 03 Nov 2022 02:31:05 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id o21-20020a05600c4fd500b003c71358a42dsm5614570wmq.18.2022.11.03.02.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 02:31:04 -0700 (PDT) From: luca.boccassi@gmail.com To: Ivan Malov Cc: Andrew Rybchenko , dpdk stable Subject: patch 'common/sfc_efx/base: fix maximum Tx data count' has been queued to stable release 20.11.7 Date: Thu, 3 Nov 2022 09:27:13 +0000 Message-Id: <20221103092758.1099402-55-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221103092758.1099402-1-luca.boccassi@gmail.com> References: <20221103092758.1099402-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 20.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/05/22. 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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/0893316e1f61bac357feaa71ae543ce3311d71a4 Thanks. Luca Boccassi --- >From 0893316e1f61bac357feaa71ae543ce3311d71a4 Mon Sep 17 00:00:00 2001 From: Ivan Malov Date: Fri, 12 Aug 2022 15:24:52 +0300 Subject: [PATCH] common/sfc_efx/base: fix maximum Tx data count [ upstream commit 79b0c1926137690d680dec1b96b7a03279674fb9 ] Maximum data count of a Tx descriptor is advertised to users, however, this value is mistakenly derived from the Rx define. Use the Tx one instead. The resulting value will be the same. Fixes: 1e43fe3cb41e ("net/sfc/base: separate limitations on Tx DMA descriptors") Signed-off-by: Ivan Malov Reviewed-by: Andrew Rybchenko --- drivers/common/sfc_efx/base/ef10_nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/sfc_efx/base/ef10_nic.c b/drivers/common/sfc_efx/base/ef10_nic.c index ccce7b7437..8d378449af 100644 --- a/drivers/common/sfc_efx/base/ef10_nic.c +++ b/drivers/common/sfc_efx/base/ef10_nic.c @@ -2117,7 +2117,7 @@ ef10_nic_board_cfg( /* Alignment for WPTR updates */ encp->enc_rx_push_align = EF10_RX_WPTR_ALIGN; - encp->enc_tx_dma_desc_size_max = EFX_MASK32(ESF_DZ_RX_KER_BYTE_CNT); + encp->enc_tx_dma_desc_size_max = EFX_MASK32(ESF_DZ_TX_KER_BYTE_CNT); /* No boundary crossing limits */ encp->enc_tx_dma_desc_boundary = 0; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-03 09:27:28.740618397 +0000 +++ 0055-common-sfc_efx-base-fix-maximum-Tx-data-count.patch 2022-11-03 09:27:25.461424145 +0000 @@ -1 +1 @@ -From 79b0c1926137690d680dec1b96b7a03279674fb9 Mon Sep 17 00:00:00 2001 +From 0893316e1f61bac357feaa71ae543ce3311d71a4 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 79b0c1926137690d680dec1b96b7a03279674fb9 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index b27fc64210..7bda778f8b 100644 +index ccce7b7437..8d378449af 100644 @@ -23 +24 @@ -@@ -2233,7 +2233,7 @@ ef10_nic_board_cfg( +@@ -2117,7 +2117,7 @@ ef10_nic_board_cfg(