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 827D3A0540 for ; Thu, 7 Jul 2022 09:56:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7DB00406B4; Thu, 7 Jul 2022 09:56:18 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 6DE45406B4 for ; Thu, 7 Jul 2022 09:56:17 +0200 (CEST) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (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-internal-1.canonical.com (Postfix) with ESMTPS id 169733F04C for ; Thu, 7 Jul 2022 07:56:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657180577; bh=FL4Z2/FQeAbzIOrTiEI4yMgA3wcd3+Al0epsvhQvhXs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=UWlEXLkUvKh4QKVfNdxmdttE37eLuKB5pILA56GZ+UDmKpgLvcGHKniX9Nf6DD/by 0LdizPp70ZAJofXNae7JyICarYaTlk/w4XVqXAliNjzGxNSOD0Zb+RwrXc5hKPkjJB WmDwHA3oWupW8ymsaS70mWR+hXkOkk/yXfvCQDstKbyynFUjjsTZwDe7NGsUZA4wdz RPVLJYBm57Px5JAFr9lmk/muoPJBZfotS7izTuXpqBFNEOxVIUCP9N5wyroX2Hagwu FyntVFy6nUISb/7TZplCokQhUqxWu1k/dPHm4qWBJN071Spf/kPHyVpp/89YUlhgTc tdZnoa5oIe/Og== Received: by mail-ed1-f71.google.com with SMTP id n8-20020a05640205c800b00434fb0c150cso13223840edx.19 for ; Thu, 07 Jul 2022 00:56:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FL4Z2/FQeAbzIOrTiEI4yMgA3wcd3+Al0epsvhQvhXs=; b=fviBhp/AnqRXoWnmua+gAoHMTypRMP/Ap6NlBtyP0IeARfH7ctq3wAoEyGl2Mk8RwE TJGi19UWdI5DRTCNb+C3NHQez02R9zy0eUncXXjIQLe9a2F+0z8wV+zEsvdynAVctwjo 0pr+/pVu4+0JwAI6xe6X3ZAI5WOG7GLnnWrbXFp0fnusRfQ31hMvISYDFKOHA53XE69/ Zs8mteqLBXjE56vXZg++X0MDTC9A9HkSSMN94jxq0SBBgbKN2ULVCTcUP4cq/2CTzgq1 zd9XHEM0o3pIlW5vgpru6Sum8Tu4S6JkBoDaujPBrKN2VzA1cWB1dTald+AG1LclqcUd DJuw== X-Gm-Message-State: AJIora+H3z4oMEycRvOULHFnqBMCxHy1DM3G9ikOTvAwEcxqpmIxfhLO /vgxe9BDj1Z7/5EvXZhlq0UYjrY7F/lU+W9jKB63oiDGqA78w5iFJT24iRAYjFH+oDtn4hDZXjJ O/Jxf9L4ajkEme6UINHC8cWj3 X-Received: by 2002:a17:907:3da2:b0:718:c108:663c with SMTP id he34-20020a1709073da200b00718c108663cmr42996418ejc.252.1657180576635; Thu, 07 Jul 2022 00:56:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sR5oHjAvrFnyLZRzR7hzZnTvwcw3Kf/YYNBMlRgIL6In47DDQRqH6gMZ+Ksbyb56MG59fHDw== X-Received: by 2002:a17:907:3da2:b0:718:c108:663c with SMTP id he34-20020a1709073da200b00718c108663cmr42996406ejc.252.1657180576436; Thu, 07 Jul 2022 00:56:16 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2a02:6d40:3a4f:7b00:c19b:938e:7c97:afe2]) by smtp.gmail.com with ESMTPSA id jz2-20020a170906bb0200b00726314d0655sm18522363ejb.39.2022.07.07.00.56.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:56:16 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Rahul Lakkireddy Cc: dpdk stable Subject: patch 'net/cxgbe: fix port ID in Rx mbuf' has been queued to stable release 19.11.13 Date: Thu, 7 Jul 2022 09:54:11 +0200 Message-Id: <20220707075522.194223-16-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220707075522.194223-1-christian.ehrhardt@canonical.com> References: <20220707075522.194223-1-christian.ehrhardt@canonical.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 19.11.13 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/09/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/41922761efef1c5fde2ed5ffded60ded85f051d8 Thanks. Christian Ehrhardt --- >From 41922761efef1c5fde2ed5ffded60ded85f051d8 Mon Sep 17 00:00:00 2001 From: Rahul Lakkireddy Date: Tue, 19 Apr 2022 03:54:18 +0530 Subject: [PATCH] net/cxgbe: fix port ID in Rx mbuf [ upstream commit 86b4d566467d06c66dd5ed2474e12bb17d8861f2 ] Fill the correct DPDK ethdev port_id, instead of local adapter physical port_id in mbufs allocated for Rx. Fixes: 78fc1a716ae8 ("cxgbe: improve Rx performance") Signed-off-by: Rahul Lakkireddy --- drivers/net/cxgbe/sge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cxgbe/sge.c b/drivers/net/cxgbe/sge.c index 7587c46aab..61ee218be2 100644 --- a/drivers/net/cxgbe/sge.c +++ b/drivers/net/cxgbe/sge.c @@ -1939,7 +1939,7 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq, iq->stat = (void *)&iq->desc[iq->size * 8]; iq->eth_dev = eth_dev; iq->handler = hnd; - iq->port_id = pi->pidx; + iq->port_id = eth_dev->data->port_id; iq->mb_pool = mp; /* set offset to -1 to distinguish ingress queues without FL */ -- 2.37.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-07 09:54:11.890540169 +0200 +++ 0016-net-cxgbe-fix-port-ID-in-Rx-mbuf.patch 2022-07-07 09:54:10.813823679 +0200 @@ -1 +1 @@ -From 86b4d566467d06c66dd5ed2474e12bb17d8861f2 Mon Sep 17 00:00:00 2001 +From 41922761efef1c5fde2ed5ffded60ded85f051d8 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 86b4d566467d06c66dd5ed2474e12bb17d8861f2 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index 1c76b8e4d0..5c176004f9 100644 +index 7587c46aab..61ee218be2 100644 @@ -21 +22 @@ -@@ -1910,7 +1910,7 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq, +@@ -1939,7 +1939,7 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq,