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 01469A0A0E for ; Mon, 10 May 2021 18:14:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EBAD840140; Mon, 10 May 2021 18:14:30 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2058.outbound.protection.outlook.com [40.107.244.58]) by mails.dpdk.org (Postfix) with ESMTP id CE0B341104 for ; Mon, 10 May 2021 18:14:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f56CbgjYN5V4YH5Mu7df48ohJwNnJrp79cgq3UtvRl71wtIDEpiAzDoBnKWo1FA6kuzohiKeE4CUX5ODPYmRILuOz6zEfWQyZc7Ckp/AFZxW3Rfub/4MJAe1XRXYQJw8x/sEA7j7fEqEMHo+0sleWVJ237y6sizUoGn4mgnNEF/b6/+PK4bdP5CMLI0OoPEumX+CRwGX2C/YHgE5f0i5tCHk3uxGUgljMGxzCsXTeiWJ1+1XBIO445SzCMrUCkKBhBqaxykFWLXMtWqchNqe13eDaJN5PxX5jVXRtyJVwXPvD2Wus53S/Zd6I9/qdze1tmEIUciKhpTbJFm8DJ1chA== 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=XPOc/YQ4KazVpldeDQI1Hni7uF8zQhXiZKfdgZsYJ10=; b=SG7CUcqCKJcWN24t4rcCWHXTAXEPLlBRNB3HiD5ElTtVihmwC/m2oDeF+IKyB5+uSngqF1jaFOQPKKhP1LIc9eToub39wbt5UqWyURx+u2neznSTSlFI68h8SbVQhu5hm2yF1LSZd6z2ODqIiraAhRBNo/Ip6UWVfGjcCDJH7M5A/9F4APhoaY7s1f/6piR7g7Xy9OKxQIvS4n3VTIU3yDpMKXh87asjt0wI5FxFHmPxfwDsfe5epHHFaPfqMYiGpwKseAJv9lHirxSyCn2KGUxlz460hDpEACtKAiEGfakXecSjSMSaKCKDJ8EBZPeHh12LRNAuXk6mpV+rXo4FDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com 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=XPOc/YQ4KazVpldeDQI1Hni7uF8zQhXiZKfdgZsYJ10=; b=Eb7/UnxiHyeDpRw5olVWr6851AK8y3ZV/upSqxcUga6zpXBsRE+Ph48RnQM6SaqPtmcbO01Kxq7hJDVMbMt0voFC4XKR3eIcS9IzkKsp1r8qR/8AXmoril97dJtP1RqKP3NFW/KmmtIvo4NLc5e17d/1fhtGACqQsOdcCYjSOo1xrBbbTq2Xprc1BZ+5PfZh6bNaMsh347xhXyjvIKa8XAAgZJKv2nyQQTicaUmjIXo4GGDi5r2+Tz8awJGyfnl+sK8cewvRaIWqZD013EGyrHzDun1GU7FOUPRk1fFv3x5cjW0BBPYTEJf7DHqbEmpiX4kvI+OKt5QpZx0BI1lHcg== Received: from MWHPR1201CA0019.namprd12.prod.outlook.com (2603:10b6:301:4a::29) by DM5PR12MB1564.namprd12.prod.outlook.com (2603:10b6:4:f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24; Mon, 10 May 2021 16:14:28 +0000 Received: from CO1NAM11FT041.eop-nam11.prod.protection.outlook.com (2603:10b6:301:4a:cafe::cc) by MWHPR1201CA0019.outlook.office365.com (2603:10b6:301:4a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:14:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; 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 CO1NAM11FT041.mail.protection.outlook.com (10.13.174.217) 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:14:27 +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:14:25 +0000 From: Xueming Li To: Alvin Zhang CC: Luca Boccassi , Haiyue Wang , dpdk stable Date: Tue, 11 May 2021 00:01:04 +0800 Message-ID: <20210510160258.30982-115-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: 9ebbad3e-9681-49ec-4fb3-08d913ceaf86 X-MS-TrafficTypeDiagnostic: DM5PR12MB1564: 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: sglJ6hh0XnGwtclvm48TFlSHXkPjqS94mJq87sinAoG5PtMOOWhZG7CK9QJ2n89oyVgYwGA3ASb2wO39s3N+OhZfKtNHZ6vWHabTOvdY+avvUNRyVOT/ziGhsyYo9PaE9pRBZOVHiOgKKWDbsieA50THhwIfH4uIGNKC78PnwZZ5EM7JgbnIFzfsXK7LAloT91DCcKSRuXQ2z2O164PC4AUcvl1bX2qdzw7qVbGzlLEQtR56n5HmpkRvQU3QSHkB/+msSDfn2vZYAHH+Gs+cafPajeyj8pDnCdhBemqfhrpnLSAxmquQxdGbBvQv3DtdT5I/HWorhhSB/92BcmRkGFVm++UNe5Gfm+4GaWfqlaolKRo0BGQ9B07oz9NeY2yQwgRFuu2NXTJB9ZHwoE2XPWMLCYOtVsQ1aCLKLNyKRNPBO6144XDWwxStV/xw19WYF28MY65Zul4vNnyOKCl7BR5cKauSxMs7Fq5KqfrlT5zq17TgnQn8JCFkZ5pe8omVnS9ZgBcdeBOR6TudEiHRy2jbzkA4kH47ib4HFhAknL10GN4kWgZQuxgjec36OJD3onebGaEn35CmqATwZR61XaawAidSilWFKIxvY7EW7F00nPjjrr85u8WYRK7DYpoxgB4hkh1LumL4VFVJZkHuEbb20LVrxuI5BrS9oElWvn4m6nUTbBi7kCUGVlQ2W/XVX8cwD1wVWUV6uH2EXQtDRLZEWTgRLArDHyAhHU97Z579RdSvsILHbYCgJ5v8Po4sOpPk/LpGsQ+6zC5Fi/muTA== 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)(396003)(346002)(376002)(136003)(39860400002)(36840700001)(46966006)(6666004)(55016002)(16526019)(36756003)(478600001)(186003)(6286002)(4326008)(70206006)(5660300002)(36860700001)(36906005)(316002)(966005)(7696005)(2906002)(70586007)(54906003)(8936002)(1076003)(336012)(6916009)(7636003)(426003)(26005)(83380400001)(47076005)(82740400003)(53546011)(2616005)(356005)(8676002)(86362001)(82310400003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:14:27.7532 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ebbad3e-9681-49ec-4fb3-08d913ceaf86 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: CO1NAM11FT041.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1564 Subject: [dpdk-stable] patch 'net/igc: fix Rx RSS hash offload capability' 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/eefc6b16bcd4d801b51b62678cb8a94a64d56f61 Thanks. Xueming Li --- >From eefc6b16bcd4d801b51b62678cb8a94a64d56f61 Mon Sep 17 00:00:00 2001 From: Alvin Zhang Date: Thu, 25 Mar 2021 09:51:50 +0800 Subject: [PATCH] net/igc: fix Rx RSS hash offload capability Cc: Luca Boccassi [ upstream commit 47319fb41b067ecda53c256b43d8490957d30dd0 ] Add DEV_RX_OFFLOAD_RSS_HASH flag to the PMD's Rx offload capabilities for it supports RSS hash delivery. Fixes: 4f09bc55ac3d ("net/igc: implement device base operations") Signed-off-by: Alvin Zhang Acked-by: Haiyue Wang --- drivers/net/igc/igc_ethdev.c | 3 +++ drivers/net/igc/igc_ethdev.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/igc/igc_ethdev.c b/drivers/net/igc/igc_ethdev.c index 75e114b9ca..2d9bbb835d 100644 --- a/drivers/net/igc/igc_ethdev.c +++ b/drivers/net/igc/igc_ethdev.c @@ -341,6 +341,9 @@ eth_igc_configure(struct rte_eth_dev *dev) PMD_INIT_FUNC_TRACE(); + if (dev->data->dev_conf.rxmode.mq_mode & ETH_MQ_RX_RSS_FLAG) + dev->data->dev_conf.rxmode.offloads |= DEV_RX_OFFLOAD_RSS_HASH; + ret = igc_check_mq_mode(dev); if (ret != 0) return ret; diff --git a/drivers/net/igc/igc_ethdev.h b/drivers/net/igc/igc_ethdev.h index a09debfb40..6f658a0e83 100644 --- a/drivers/net/igc/igc_ethdev.h +++ b/drivers/net/igc/igc_ethdev.h @@ -67,7 +67,8 @@ extern "C" { DEV_RX_OFFLOAD_SCTP_CKSUM | \ DEV_RX_OFFLOAD_JUMBO_FRAME | \ DEV_RX_OFFLOAD_KEEP_CRC | \ - DEV_RX_OFFLOAD_SCATTER) + DEV_RX_OFFLOAD_SCATTER | \ + DEV_RX_OFFLOAD_RSS_HASH) #define IGC_TX_OFFLOAD_ALL ( \ DEV_TX_OFFLOAD_VLAN_INSERT | \ -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:29.598248000 +0800 +++ 0116-net-igc-fix-Rx-RSS-hash-offload-capability.patch 2021-05-10 23:59:26.510000000 +0800 @@ -1 +1 @@ -From 47319fb41b067ecda53c256b43d8490957d30dd0 Mon Sep 17 00:00:00 2001 +From eefc6b16bcd4d801b51b62678cb8a94a64d56f61 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 47319fb41b067ecda53c256b43d8490957d30dd0 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 56d1024af6..17dd8bf8c6 100644 +index 75e114b9ca..2d9bbb835d 100644