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 47DEDA0543 for ; Tue, 21 Jun 2022 10:05:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4238140151; Tue, 21 Jun 2022 10:05:29 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2083.outbound.protection.outlook.com [40.107.223.83]) by mails.dpdk.org (Postfix) with ESMTP id 30BA740151 for ; Tue, 21 Jun 2022 10:05:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=El7AbPPrIYJsZkpcRyQAqmf7AXdB2bMtJHdh4C9GnoWcpdLeILZXUILKkmuVEgRHbBHWlyCpV9oAqC4/yAhHHPTHXi6dVAoiQxYDVURAEFMG4Z4YuDwKydr9W0HZtCYrG/Z4HQWqp5QiMaZcCAggMzfs18iRLSUBUSlfbxKhiHNwqAcZDJ9dOhMHAiTG9o+9mXC701uz9JwA/YU821G7tulXDMFKC20dFnSKC5zzEpK8oiCeMpdagTwC8yMLjVsHY3ORli5cnJNB9Z+F6gwYml2s+u0iyjPCOwFcVPCbhChk1EWfDxTfUaDcp9rq7WCN/gA/hw9yqNjpPVtpOZ6wDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=oJcExVVRZNqV+zwGtoixPe+Yj1gZflF/Uj+PSY6UnZc=; b=QlAvjxKbclBeKHMviOUzmCROv1oimcD8jDMGnftWubtpHEHvohIZ6fqqBz7pYEBLpq5AFmYn6k/Sze+MJmIKI+qzl2kE6tdYvC/28+KQNAfl4TAcUBJkghMyLyDPcUtb7oEjOJX7DGIB8MWFqOBX/dvHVxAFg7Gp7N0DUO0wWUDV8V8Twyk3XrhATR/VOPGGagOlIY6zF4aAHL2b7cp8tV3fg7eCIq9Hh6NHq/NBjx9p6Dh/MpsBOvxOWgOsuvQFIuEq0vXG+aUpSfakrGMg2xjGSsAEZLXEFQF8jalIPB1Htx2I+diNWw3VR+VFHkO6vnb+RXfQ3y75KBdtLrVvVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oJcExVVRZNqV+zwGtoixPe+Yj1gZflF/Uj+PSY6UnZc=; b=orlA8n8l6Yvj4yp53UQxGYi6exnPYvX84tVOTdUPLCEg0KrYsM0M7FdjD7QhQX+FemIJY6wpRetBXOXgcSo1AU8q4PGjWybtvd37fgc3RcT2z7anVBCQrkl1cYqur67U8e532lLQEESrimpmoOwdqWfgrdoRUxUK5t/Fddw41yepaTDt0jJG6pPEfTfxBfEMZ8GZhOtdX+eCFSgXoUX29W6iTsayd1fpLubXpkwedQz3LLOtnkQb2v08phEo2/yA8aIt/MtnsWxpFTFNmgjTq0551aNvNcXoghKQorXYMrvU5ENcT08wh3s1VoHRA4cyKDKXAxKDIDL9HqAXb2y/hQ== Received: from DS7PR05CA0033.namprd05.prod.outlook.com (2603:10b6:8:2f::20) by DS7PR12MB5717.namprd12.prod.outlook.com (2603:10b6:8:70::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.17; Tue, 21 Jun 2022 08:05:27 +0000 Received: from DM6NAM11FT034.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2f:cafe::e7) by DS7PR05CA0033.outlook.office365.com (2603:10b6:8:2f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.10 via Frontend Transport; Tue, 21 Jun 2022 08:05:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.236) by DM6NAM11FT034.mail.protection.outlook.com (10.13.173.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5353.14 via Frontend Transport; Tue, 21 Jun 2022 08:05:26 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 21 Jun 2022 08:05:26 +0000 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 21 Jun 2022 01:05:24 -0700 From: Xueming Li To: Rahul Lakkireddy CC: dpdk stable Subject: patch 'net/cxgbe: fix port ID in Rx mbuf' has been queued to stable release 20.11.6 Date: Tue, 21 Jun 2022 11:01:31 +0300 Message-ID: <20220621080301.2315720-26-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220621080301.2315720-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e3d5b2c9-58cc-487e-f0ff-08da535ccd13 X-MS-TrafficTypeDiagnostic: DS7PR12MB5717:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9ty1Cf88KtK+/nxjZcAn5PQs3Bbo6MuEnwQdbjyRNU7Z1oLnRDKHtaSsCgVU58K/Ge/+yaB2p6mDA4WudeKM4zdeg2Zb7bW3H/oZjOrznekOxn4hpNimKemnWctglFjtti8iCEa0FymGNYXBcpmihA6h18I80zfiC62voXt4GiZTdaQriNu09Rr0rS4cZTiV4QFH6B9nQL5BQjWVywihSLlelHJgX8cabgJDZkS8c6n/xBfV/9JnnQJ7TDQGgzAm1BwfJj8zzKITeh7JAnT6xXqEyTTN1Po7a/aWyWz4fbJVsl4m/G5XqBFScrK6VNhyWuuZ+iNu74AeuIaSigth3EWfsXKWT+iZPSBlMWyO+Xd+LPXNEO/9aknzDGZNOycmkRDAxHiMsgDY7PzS5inSJuJdm4CquFc3wsuvFNIXWesYO+GCU+q2fs8wUm1Qr5S3Pq8AB6ZUtuEcRE6GCxudO2DgGcEJQ+lKxLYZj1pY5g/GA1wD60V60opXfxOGRQKttxCSPUTw1rpQo4KK0u70QsbqSms0dGYgIBJ/5XPVTm3trUqzBgD14Nsqfu8U7e536JRUZ5xCB1LQEnyIS+P2/bJUG8jPv/v26Mkp1mluCpnrC4uUueb7V2FZk3dfVGV7pbH7U4i6/g5gykzNhQg8Cdwx1O0V1RVzzewp2BAO0YtZw08wn2bUC4KHjBBMfx1mWZmhfyNBSvlXhPktpLjo1o04ZVxaAuiQBl6yH3jSAlHEdK7yjAWCtWnbUytCx8p1Qbv4buu80R4DZXEakhF3vvKyTE3hQ4W1EQ060Fx+mau/MjFlJXBFEwMWiUcegnyMCrbQyTwTV1jLrDPFi6phDDw1OQFgjMhSOQ3UHnn3ep4= X-Forefront-Antispam-Report: CIP:12.22.5.236; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(396003)(136003)(39860400002)(36840700001)(46966006)(40470700004)(6286002)(6666004)(36756003)(40480700001)(82740400003)(8936002)(16526019)(40460700003)(86362001)(36860700001)(47076005)(336012)(356005)(426003)(5660300002)(1076003)(478600001)(8676002)(186003)(53546011)(55016003)(2616005)(4326008)(7696005)(2906002)(26005)(6916009)(70586007)(70206006)(83380400001)(966005)(19627235002)(81166007)(41300700001)(316002)(82310400005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:05:26.7985 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3d5b2c9-58cc-487e-f0ff-08da535ccd13 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.236]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT034.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5717 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.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/23/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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/063ce7b91c245bf132d4d4f86c3175724e37fde6 Thanks. Xueming Li --- >From 063ce7b91c245bf132d4d4f86c3175724e37fde6 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 Cc: Xueming Li [ 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 e76e5a97f0..c18ea7c248 100644 --- a/drivers/net/cxgbe/sge.c +++ b/drivers/net/cxgbe/sge.c @@ -1913,7 +1913,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.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:50.479105778 +0800 +++ 0025-net-cxgbe-fix-port-ID-in-Rx-mbuf.patch 2022-06-21 15:37:49.001117789 +0800 @@ -1 +1 @@ -From 86b4d566467d06c66dd5ed2474e12bb17d8861f2 Mon Sep 17 00:00:00 2001 +From 063ce7b91c245bf132d4d4f86c3175724e37fde6 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 86b4d566467d06c66dd5ed2474e12bb17d8861f2 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -18 +20 @@ -index 1c76b8e4d0..5c176004f9 100644 +index e76e5a97f0..c18ea7c248 100644 @@ -21 +23 @@ -@@ -1910,7 +1910,7 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq, +@@ -1913,7 +1913,7 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq,