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 D94E1A0543 for ; Tue, 21 Jun 2022 10:12:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE3D242BA3; Tue, 21 Jun 2022 10:11:43 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2076.outbound.protection.outlook.com [40.107.92.76]) by mails.dpdk.org (Postfix) with ESMTP id 1689942BA3 for ; Tue, 21 Jun 2022 10:11:41 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KMMAZPda+FuA8lnHneJNtN064WtDCz3+v0j1hkBoahBi/oTETxexJ10+6r4cUEtDQQn4xFV0VJOe4KnW+wYK3Ftcz090Eji5eMw+qMKMkKE8j29NISUl36arItyW2lJScu8xPwCxtgwJy3IjxQLqj5OczNnUuIz4tyoBGoqJKzuYvG5lOZXvIpzQC0632Czcl1vAkJRnePM20LlQtMkoyZrhnOAk6IJhkLYADAoUmk1qC+D9jDXm2YuQPrd3KhvKtbmsr6s3DDtHSJQJdD+KN0JcSIXZ41vavKI26KddqoZH340IwB2SxX+ratvswhali3AHLV3U/aP9kcVuxbElaw== 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=A6DXMSGyw/I7vPRjjvqAwNrkUVt0sXSNrB2Y1LiMQsM=; b=JyaG+8t+dlzJO+Y/oSL9LjZDkpdrmcM045+07eU5PJW7AlWgXB8OWr+r3Db5PaSAhULTUmBWUlsnNza7mAQiFubCE72d4UqutZ0+8DUw2jnYgB/J8i7PTgUhTScylD+iEM5qwpuw+09kjSfwhuFlRO7mz9rQj1kI64g1yMKcbpMvIrakyTwtikSVnMK53tHWZcSOjweUIhvtuTAMe7NPLbJUp43ePEMeMiyd+3HggMH0Z0P5+tyGv8yxiTJWf6KwCEZOKGESfNkQGzWkmveX5dEIg4K/f8/HDGjJxYq4/I5mfw99Frtk+zvxORoL9dmXXkz5Pee91oSHbaxa8Hj7DQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) 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=A6DXMSGyw/I7vPRjjvqAwNrkUVt0sXSNrB2Y1LiMQsM=; b=K8iKqVPW+wQH/XXAlTNyh0uRLknrr1RUVi5TGW+maNQ1FR402MJdh7QXuwXlQBYgq3BB//qPy91qfMxlQUmr4/z0fisAFOUmXpR0CpnuY3kqrw4O1wZ5UZ+ObNhNUGAnHakIrUdI7nuXuf2N16nQ8zcCN732SfncSOfc+LsrqiClI8TNn0WDzg0TRTc5yQZimKDMmathpRRh3r94q2WEZ7rVp93Qji93WD9v38z8IL8vzhcGFuJTTaLQQQJ8fdRs8K9YscXbFRKvjujt994DEl5/o0pEczITf8k5QOjFIKVcw1H7Aj3rzu5zu2/N/Z6X06ZhhP3d5Cyx4sCQIPjUQA== Received: from BN9P220CA0027.NAMP220.PROD.OUTLOOK.COM (2603:10b6:408:13e::32) by CY4PR1201MB0264.namprd12.prod.outlook.com (2603:10b6:910:1e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.18; Tue, 21 Jun 2022 08:11:39 +0000 Received: from BN8NAM11FT056.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13e:cafe::4d) by BN9P220CA0027.outlook.office365.com (2603:10b6:408:13e::32) 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:11:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) 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.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT056.mail.protection.outlook.com (10.13.177.26) 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:11:38 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 21 Jun 2022 08:11:38 +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:11:36 -0700 From: Xueming Li To: Kevin Liu CC: Qi Zhang , dpdk stable Subject: patch 'net/ice: fix MTU info for DCF' has been queued to stable release 20.11.6 Date: Tue, 21 Jun 2022 11:02:42 +0300 Message-ID: <20220621080301.2315720-97-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: dee9965e-7323-4ea3-71bd-08da535daaec X-MS-TrafficTypeDiagnostic: CY4PR1201MB0264: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: mZ95Ex9s+Hm0WDlkosbJz3HhriQSr7MDOiSKHAXG5NW4+n2XNMtIB0lfxZ9vQBFeVP0XpTvUSjzAtZOrbOqY82AAnExBKvWkaT2aLrf5cmxyPaTpWpffjuFg6sHvuMyyIo9MJlifZa9UNnFzeyGyF6wxlggmvXp6W+QIkFRJcVmO54ZrGcsKCm5DfTdPb1a0pFrPbvABEnsyTzsaBXWKYKNAH5xVZzUlNQqdZuBfT6CHtuXhKKOD5KyaOyNtbWWczBbb0/e1EXPPPgl5NonS9vQQktll3Arx2CDRUbavq8LMkFHn/Of3SCyEAUic/WX+Ldl0lLMUgA0hvkfEw33lef/Vlpe60Z7paWWqPlYjEGuajAGO1GdUZv4VaExf7jUsBFLw9ewa8POGqp4TjM2qrx/mNd7P3SMtYSDNBqpX5XlpvVczXthdBJAx2fR6N42jn/MULZdO/JwQbgXjr2Bc8r9qdB8qyACCKdaw/+V3btJPwMFlZ4ZNLbQXZv099fx7MwlrLjtrghQydx4Y8aC/efZpZih8GcgJVQQZXtIByE6eXzWjIW0gbfeK2KMXoMdSh+LVOOJBL/lv7k1C79b4iTXLZQgeLZq7KtXSBmOk4+NQfLO1j4K6aGfrpGsN0ajoJFVxmTOmxXLB8TI+4Ai58u0f302165pSFi7jMBRIr/wUKsvbiz7lB8fXpYz2y8x2loDWgIR4oVsR8PF5VWzMm/0bfl3LVvGfm1fUsH6yimLvP9vI8Y5Op56/Btf53Ut1tN3lB532jc2nQG+9r2y4tm8MNY6NqG43p4rWaQ9jj8KTJbEs27vTmKCiIi/WGA4VpT3SLUVywdQGcSiwssV8PvR+3pIgD7W9uGYbn/QfIZ0= X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(346002)(39860400002)(136003)(376002)(396003)(36840700001)(46966006)(40470700004)(2616005)(16526019)(40480700001)(55016003)(426003)(8676002)(336012)(186003)(1076003)(19627235002)(82310400005)(41300700001)(316002)(47076005)(70206006)(70586007)(36756003)(4326008)(54906003)(86362001)(40460700003)(6286002)(26005)(7696005)(478600001)(5660300002)(8936002)(81166007)(53546011)(36860700001)(356005)(2906002)(6666004)(82740400003)(6916009)(966005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:11:38.9157 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dee9965e-7323-4ea3-71bd-08da535daaec 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.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT056.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0264 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/d731c37a84ee13a4d0f40fda6506c86e756988d4 Thanks. Xueming Li --- >From d731c37a84ee13a4d0f40fda6506c86e756988d4 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Fri, 8 Apr 2022 01:43:08 +0000 Subject: [PATCH] net/ice: fix MTU info for DCF Cc: Xueming Li [ upstream commit 24e6e0363e1704d7471eacafea80c182d4016739 ] In the DCF module, Missing maximum and minimum MTU value settings. This patch adds the settings of the maximum and minimum MTU to correctly calculate the MTU value. Fixes: bf89db4409bb ("net/ice: complete device info get in DCF") Signed-off-by: Kevin Liu Acked-by: Qi Zhang --- drivers/net/ice/ice_dcf_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c index 1793d8cbd3..429057a862 100644 --- a/drivers/net/ice/ice_dcf_ethdev.c +++ b/drivers/net/ice/ice_dcf_ethdev.c @@ -652,6 +652,8 @@ ice_dcf_dev_info_get(struct rte_eth_dev *dev, dev_info->hash_key_size = hw->vf_res->rss_key_size; dev_info->reta_size = hw->vf_res->rss_lut_size; dev_info->flow_type_rss_offloads = ICE_RSS_OFFLOAD_ALL; + dev_info->max_mtu = dev_info->max_rx_pktlen - ICE_ETH_OVERHEAD; + dev_info->min_mtu = RTE_ETHER_MIN_MTU; dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP | -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:53.533733985 +0800 +++ 0096-net-ice-fix-MTU-info-for-DCF.patch 2022-06-21 15:37:49.201118498 +0800 @@ -1 +1 @@ -From 24e6e0363e1704d7471eacafea80c182d4016739 Mon Sep 17 00:00:00 2001 +From d731c37a84ee13a4d0f40fda6506c86e756988d4 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 24e6e0363e1704d7471eacafea80c182d4016739 ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index 8005eb2ab8..0da267db1f 100644 +index 1793d8cbd3..429057a862 100644 @@ -25 +27,2 @@ -@@ -713,6 +713,8 @@ ice_dcf_dev_info_get(struct rte_eth_dev *dev, +@@ -652,6 +652,8 @@ ice_dcf_dev_info_get(struct rte_eth_dev *dev, + dev_info->hash_key_size = hw->vf_res->rss_key_size; @@ -28 +30,0 @@ - dev_info->dev_capa &= ~RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP; @@ -33 +35 @@ - RTE_ETH_RX_OFFLOAD_VLAN_STRIP | + DEV_RX_OFFLOAD_VLAN_STRIP |