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 EC35DA0543 for ; Tue, 21 Jun 2022 10:10:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 337B842B81; Tue, 21 Jun 2022 10:10:28 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2062.outbound.protection.outlook.com [40.107.244.62]) by mails.dpdk.org (Postfix) with ESMTP id E09A542B8B for ; Tue, 21 Jun 2022 10:10:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fLC6Z+LVG8IYEU3wrNXX6zd660u4LhWNYNL3jypPDugEs3yA5oFbgNoLTfQlutYry765A/LPjNdbJn07f6IysQT62d6iW+TB75qWBIvy5DqXjhyp2uYPXqCEsqjTv93Ufe9UlngC6f+0fS4ZOQjMD3betHHtEAjynMY25hOv/sS4enQ+bIaOAjviSgBR1DY+dv1t/ntL8TQTqI/Y4VxmoYl+eXB+3BDCVwwypU/1M7+mj5bsK5OlTOdqVwyZgDf4s5FDSeEYs0J95AEk8WPDWCh17E7MMk3Rd8/8e5WvBsmV5cye0Hc4ffC/cbqq9/WQ/wfwZeTtpOh3qg+basD/fQ== 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=TbDBTHJ4eLfQaqKZuzA/q1UnhH9MudqxXCMIis+f0cg=; b=YFcR948NHefFY6+btCYc9mmlCp72Nv8dDVVeBd1ghTmBrrnb6j/YSds1RYB3SEmkh1edGVjgBqLCccHK1gvHXq9HPYTlWaRg4l1IjZ3Gz0xF+Ij7KLb4EWfjBXcLIlPOQJfcl0clUOBbj2JaMRe5cGvzoWuJKjQ6i5sIwaL7zCxKpC2PJHn8qnCUUSkem1emjud5itWq0pP3AqNqktMvPUHYD4HCOH+x7uBHLTgJpuxhd3wLJPjPQc52kC/K7cIcRpErqkR/Qt2CwD3rcoJZE1cik+iU9CkxPQYnDSwZC0RnzutPQPg6hPpPm9tOVi8kgFnMty59YSPC9ETuBdj8hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.238) 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=TbDBTHJ4eLfQaqKZuzA/q1UnhH9MudqxXCMIis+f0cg=; b=i2QqBUfg8pN2YcH1HWflakyNuXwo2X6PSrN9Eo1ruH8FNWKZOcj1ZmFjFOAgmmVsD7F99ZxKJkQczGpBkZI9+4Bq1YctsJw7y47+C3PxHmdYpLmZC/0h7SFKcPfJCombqAozzN1SOL+fwrhYobHMxOaf7DBY11OdUDex73cXVudJCT3XHvJuZ7W0CD/SogFTfO4xB3L1n05OamlQGlCcLox0wbn3VE6hc65QG7Igw73GCPemcLPJ/IAs37JNtLA7thI2OskdFnmwNb27sxSvx40+FYYo43jPP3OENE5tqwQSwFZv2n+Sd99GHUWIokAKXlRCE5lzDhOK75R5AyQvww== Received: from MW4PR04CA0155.namprd04.prod.outlook.com (2603:10b6:303:85::10) by DM6PR12MB4153.namprd12.prod.outlook.com (2603:10b6:5:212::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.16; Tue, 21 Jun 2022 08:10:25 +0000 Received: from CO1NAM11FT017.eop-nam11.prod.protection.outlook.com (2603:10b6:303:85:cafe::99) by MW4PR04CA0155.outlook.office365.com (2603:10b6:303:85::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14 via Frontend Transport; Tue, 21 Jun 2022 08:10:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.238) 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.238 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.238; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.238) by CO1NAM11FT017.mail.protection.outlook.com (10.13.175.108) 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:10:24 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL105.nvidia.com (10.27.9.14) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 21 Jun 2022 08:10:24 +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:10:22 -0700 From: Xueming Li To: Jiawen Wu CC: dpdk stable Subject: patch 'net/txgbe: fix max number of queues for SR-IOV' has been queued to stable release 20.11.6 Date: Tue, 21 Jun 2022 11:02:30 +0300 Message-ID: <20220621080301.2315720-85-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: 63d29fd7-76df-430b-04af-08da535d7ebc X-MS-TrafficTypeDiagnostic: DM6PR12MB4153: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: y1czYdT5zcNlpXkBAkKrjlvqtL/clf6VCwFWO5Mny9S+r9ql0k0omjNgFmYNDoQyeSdBnQ7xtCI7JlVZ41+7RmPE3q26qDsNhBkV4gijyZKEhBvPU+1QdXW4qg74wVyhyb6PefrcrYIV3iJS/hJQpD/9dmTTCC4imXfH1rLbhfLBhy9rHpleB1DmQZAiBjc5BIyrnzgvxcGhAnhjqxImntUxwcvrUyWij8NoBlR4gri3mcpIwMTBeyxYa3mqjGZk7Mh+HijhR8IG6/6BoJAEhS+/3WgRmSmE+2BhrVsj1ZJ68U6gfy5bmA70eKSDj9R9tNrvyQEb9/Ti/3pLAGLR9FjCAlLqnKbegWh9OcLWgCXjNPNE1bndMw65j7vi8UJCWq/3SY+HqdfUIzi72snuVBzNerE4x3okTnuCH3HAqQA990+a8OVvFUNomz4zAZQnFHdfuE2QqXr1GRgfdSfA1OyO+bq0bWHO3onlFF//5lWk8C9We1/uz2wq00HSC6/3S9axFAck0tMeumP1HhFVFOXbiBZe0bBOEM99+NLjuei1mUot19bBW0zuyR14Wwvz+fD5oNFs8CV4ja6hZvGwfW9gKXv0JmQGgEPY1K1zb2mk6ftGD9qS7y1gfSx2I+YfdxYdg65dCIQvi5h5Tv/cjybocwo1iJMzMf/6MllvpnnOIfGvTE2V60B9XqTk8+ndvsLuFgJIFzesIdjh0eJmEiYF4AyFqPJWM7urRODeroKcoU+jJ+/Qt3hO3OOcUpc9L11xjDgBa3LtqiPw4+xSzPrdzPpIZCIDRVSYOSrvuGljiZpC0vYbbCLjN+5NbC68hWlHwf57nlykEK31yEtdnxq4jRdwRuZTKA171ZkT4ZA= X-Forefront-Antispam-Report: CIP:12.22.5.238; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(136003)(39860400002)(396003)(376002)(346002)(36840700001)(46966006)(40470700004)(6286002)(2906002)(8936002)(1076003)(40460700003)(316002)(478600001)(26005)(966005)(82310400005)(81166007)(55016003)(36756003)(36860700001)(356005)(6916009)(40480700001)(82740400003)(70586007)(5660300002)(7696005)(83380400001)(53546011)(70206006)(8676002)(2616005)(4326008)(41300700001)(86362001)(6666004)(186003)(47076005)(16526019)(426003)(336012)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:10:24.8411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 63d29fd7-76df-430b-04af-08da535d7ebc 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.238]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT017.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4153 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/ef9b30142146ea6ae21b050ffe1ba8fcd0e85812 Thanks. Xueming Li --- >From ef9b30142146ea6ae21b050ffe1ba8fcd0e85812 Mon Sep 17 00:00:00 2001 From: Jiawen Wu Date: Mon, 30 May 2022 17:30:16 +0800 Subject: [PATCH] net/txgbe: fix max number of queues for SR-IOV Cc: Xueming Li [ upstream commit 09b010da8ec6388edae44ff55e1feab5c08191ab ] Hardware restrictions require a maximum of 4 queues for every pool. Fixes: a6712cd029a4 ("net/txgbe: add PF module init and uninit for SRIOV") Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/txgbe/txgbe_pf.c b/drivers/net/txgbe/txgbe_pf.c index a910f51048..20e19b47d8 100644 --- a/drivers/net/txgbe/txgbe_pf.c +++ b/drivers/net/txgbe/txgbe_pf.c @@ -109,7 +109,7 @@ int txgbe_pf_host_init(struct rte_eth_dev *eth_dev) nb_queue = 4; RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_32_POOLS; } else { - nb_queue = 8; + nb_queue = 4; RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_16_POOLS; } -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:53.046253912 +0800 +++ 0084-net-txgbe-fix-max-number-of-queues-for-SR-IOV.patch 2022-06-21 15:37:49.174451737 +0800 @@ -1 +1 @@ -From 09b010da8ec6388edae44ff55e1feab5c08191ab Mon Sep 17 00:00:00 2001 +From ef9b30142146ea6ae21b050ffe1ba8fcd0e85812 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 09b010da8ec6388edae44ff55e1feab5c08191ab ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -17 +19 @@ -index 67d92bfa56..0b82fb1a88 100644 +index a910f51048..20e19b47d8 100644 @@ -20 +22 @@ -@@ -108,7 +108,7 @@ int txgbe_pf_host_init(struct rte_eth_dev *eth_dev) +@@ -109,7 +109,7 @@ int txgbe_pf_host_init(struct rte_eth_dev *eth_dev) @@ -22 +24 @@ - RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_32_POOLS; + RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_32_POOLS; @@ -26 +28 @@ - RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_16_POOLS; + RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_16_POOLS;