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 E75DFA0A0E for ; Mon, 10 May 2021 18:04:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E29B04003E; Mon, 10 May 2021 18:04:01 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2054.outbound.protection.outlook.com [40.107.244.54]) by mails.dpdk.org (Postfix) with ESMTP id 2BADA4003E for ; Mon, 10 May 2021 18:04:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DTvcPwiPPMNgViKX3XPK3+dnmo+UoOYGuv0q7UQhY6FxiPhsxnCemcLAHoq0ebKlsEh4uoPZ9Ny+wjWVndamD0fTzaW1+vurG+vds6gge/VIEXLO3/4a/7bztQw++IK766cH5z/LCLS+0DlWRfW6pT4gaLfMBVfd0PCuQv5gsAvUIj0IimHwqTsGoRENd4a8sKunyJrFQTbsIfSlS5ZmDdlHB38V5K5jARMSHq/gdwB0xPAk0wjsQecX0ZncFCcKz8mGfW8mBDFt5DimfbUTncF1bUl6+CRPOClR71p2g3ZIglXpgTcXX6u2TGmEU+otUqGarEDh8nW+RcuyngRolA== 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-SenderADCheck; bh=LseaC4ZanhfNAsyGsrxBCi72+7pgl2GcRZhE36XYQ1M=; b=c17kwQ43E4txtYvy76w9zryfL64hd6uGf1wjqQH/nbiMXN2KSjOohK4AN5WyTinAbnxubBfBZJ9LwLo7MymPByeimL0jeESfy6dBnS6ljbyadSK9xe4FnjL0I0gXuPHfbQ5yKxErDfE6EP7x1BU/H5q5dp4BXpCD+5Bh+UqM024YCfryOqBACrTMmDe7GPRAZZYH5Mb1SAPrJ8BEO/0nDeC8ZTNmUyT8efLxlOqIjYe/qPwZJHWJqKF0Yosrg2QLrP1g843NbFGfaUDaqG4atm/Y0fwXXM+E87i7dDujVeuw63RIeHTLWX7FbCW6MbtCmudT5aQ1jXC4MZAC7VRuPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=u256.net smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none 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=LseaC4ZanhfNAsyGsrxBCi72+7pgl2GcRZhE36XYQ1M=; b=N4SWkKaaUSzmIhqdgW+pEUJV+uRGJ5FI6frdJ7mtaiCHicxWliVya+Oj8YFGgOpUFb8kLMyKQfY62dIIYdXmIGwlHoaf18OolgPUDyYIb4gv13xBxb3j/7JYggQxtwvJDLxZfW0UzNMh2VdzBrKyfvtsU2srroe+jtrM9HlMDG790xm52CdrcGVG4rivZiL4ajk1J1F1IpAHyVgCIMkyFvHQ4/1M0EZ+l8YJ/TyYKu1sny4uw+Etg/7gpU3WsbXiUBjCS2pq2Y8EY2FcdCSeMaJozbgSTEev/eMZZkVrajkDdulaoN4vwgV0LL/zcZy9ZtduF26XEW7akGZvsBOG7A== Received: from BN6PR16CA0036.namprd16.prod.outlook.com (2603:10b6:405:14::22) by BL0PR12MB4707.namprd12.prod.outlook.com (2603:10b6:208:8a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Mon, 10 May 2021 16:03:59 +0000 Received: from BN8NAM11FT009.eop-nam11.prod.protection.outlook.com (2603:10b6:405:14:cafe::b) by BN6PR16CA0036.outlook.office365.com (2603:10b6:405:14::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24 via Frontend Transport; Mon, 10 May 2021 16:03:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; u256.net; dkim=none (message not signed) header.d=none;u256.net; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT009.mail.protection.outlook.com (10.13.176.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:03:59 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:03:57 +0000 From: Xueming Li To: Andrew Rybchenko CC: Luca Boccassi , Gaetan Rivet , dpdk stable Date: Mon, 10 May 2021 23:59:15 +0800 Message-ID: <20210510160258.30982-6-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 95d3d89d-a9ab-40a7-98bb-08d913cd3934 X-MS-TrafficTypeDiagnostic: BL0PR12MB4707: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a4F5osZ2rDgYcPYgJEFShPX3HnnoE62UC0UBgng1ECV458ND3h6KYiZ4t60QJKzKBQWpmDhEWuNtstRE+ie36BK0WWvrwU5d32wHPw5FcbpDKy83W40b+L391VA0RzugpApVEx283obPlyIc5DZBPW8cWmER0cPrxhgasbOQzyl84kXyVozlEkUbmGfNrH7a8DzADzSdhIIsz9iRe1nZfvXPhawpWSPKd94KYtooR9E9soOrl4SaNJyj20PMRQN9MImrTU98qyDol27nqzJfDnCtsilC1oBF+XJm9RKYwSe0pT+sYO+ykqTGIJBjBsuw4Pd8NREsxoXRWtDJyd66xc+N192ZOTza9Crb1R6c7YOP8YBIBeAixaptAnRHd07JpPu9ck+OUYUldkt/djUyNoTvv8eggpFIYkHJAQgN6STlgtaU8ByQ9tFTIHgpGJMdj5zte1sys/39NoMDTMPkSFINczlBf9s81ieOxCo0s/OkmCETPzC2E3tDlfA8bl6AXkqYSYKOwvWzgLK/BCeYHlvqKA3TASPOH6wrT63xFZhwT/Vmofy7E2h3Rb42PKPlniowiNbL7+0AcN9gRNTGcY/o5FoLeiW+6DvuwxlyQDW0iHRK4iSBE3y5tLo4TnHH680dA6mTcFA8zjPOQw6d7GzCWrg6uoClPrNLrqWURtmoHD+iG/wuLfV7tijfMlsugI6RD9RXZmyhdacWzadahv3/duil1GegZ1+p+XEuqtgUW9Qx0bAi+0Q2wjIJ51KtXq2cntdxymDVLKxMHtxmHQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(39860400002)(396003)(346002)(376002)(136003)(46966006)(36840700001)(53546011)(356005)(316002)(36906005)(5660300002)(26005)(82310400003)(36860700001)(6666004)(86362001)(6286002)(2906002)(36756003)(83380400001)(55016002)(4326008)(1076003)(8676002)(478600001)(70206006)(966005)(70586007)(2616005)(7636003)(426003)(82740400003)(54906003)(7696005)(6916009)(336012)(186003)(16526019)(8936002)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:03:59.6748 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 95d3d89d-a9ab-40a7-98bb-08d913cd3934 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT009.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4707 Subject: [dpdk-stable] patch 'net/failsafe: fix RSS hash offload reporting' has been queued to stable release 20.11.2 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. 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/9da42b8f936faaa9daec7ad4872785f789b78273 Thanks. Xueming Li --- >From 9da42b8f936faaa9daec7ad4872785f789b78273 Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Tue, 22 Dec 2020 11:00:04 +0300 Subject: [PATCH] net/failsafe: fix RSS hash offload reporting Cc: Luca Boccassi [ upstream commit f971b7d3013d53a5d911b8c5cf51ab55946253b0 ] If sub-devices support RSS hash offload, the offload should be reported by the failsafe device since handling is transparent from failsafe point of view. Fixes: 5d308972954c ("ethdev: add mbuf RSS update as an offload") Signed-off-by: Andrew Rybchenko Acked-by: Gaetan Rivet --- drivers/net/failsafe/failsafe_ops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/failsafe/failsafe_ops.c b/drivers/net/failsafe/failsafe_ops.c index 492047f587..9946b696f3 100644 --- a/drivers/net/failsafe/failsafe_ops.c +++ b/drivers/net/failsafe/failsafe_ops.c @@ -1192,7 +1192,8 @@ fs_dev_infos_get(struct rte_eth_dev *dev, DEV_RX_OFFLOAD_JUMBO_FRAME | DEV_RX_OFFLOAD_SCATTER | DEV_RX_OFFLOAD_TIMESTAMP | - DEV_RX_OFFLOAD_SECURITY; + DEV_RX_OFFLOAD_SECURITY | + DEV_RX_OFFLOAD_RSS_HASH; infos->rx_queue_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP | @@ -1209,7 +1210,8 @@ fs_dev_infos_get(struct rte_eth_dev *dev, DEV_RX_OFFLOAD_JUMBO_FRAME | DEV_RX_OFFLOAD_SCATTER | DEV_RX_OFFLOAD_TIMESTAMP | - DEV_RX_OFFLOAD_SECURITY; + DEV_RX_OFFLOAD_SECURITY | + DEV_RX_OFFLOAD_RSS_HASH; infos->tx_offload_capa = DEV_TX_OFFLOAD_MULTI_SEGS | -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:26.902135100 +0800 +++ 0007-net-failsafe-fix-RSS-hash-offload-reporting.patch 2021-05-10 23:59:26.310000000 +0800 @@ -1 +1 @@ -From f971b7d3013d53a5d911b8c5cf51ab55946253b0 Mon Sep 17 00:00:00 2001 +From 9da42b8f936faaa9daec7ad4872785f789b78273 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit f971b7d3013d53a5d911b8c5cf51ab55946253b0 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 2b6ca9080d..966cfd2dba 100644 +index 492047f587..9946b696f3 100644