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 3EBBAA0543 for ; Tue, 21 Jun 2022 10:06:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A67C4280C; Tue, 21 Jun 2022 10:06:26 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2072.outbound.protection.outlook.com [40.107.243.72]) by mails.dpdk.org (Postfix) with ESMTP id 7D7A6427F4 for ; Tue, 21 Jun 2022 10:06:24 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dUuyr4HryHUcXQzG3ZiuW4Zp0hIYS2x/C0H9R1R2HD3BMIEs/n2sBZRypxKLb2jOCPoAgfsVaoHrPcMH2qifMllzgLMmNZuyymR8sbMRrb3DvVkX5qZ7n8BHiEPONEV+VxkEHQOZxvrPI6xM247s3HMgJuyIMlbjpPpBQlx9JSYZDzpIY/BuzDv11yFonBGkMVpp0gwIOBGewx51GvumQwXH9gAWsU9T+QmVMKJwPyJZqGCAyCHwGGCvf22DxIPdWnZTJQA2S+ufFj0C2CeCQsBg3PhEilyD0hkeT94IsZF+t0z6qc0Dwn9fdhZsqWs7HIH1K7aI00tpdEpH3JL5bw== 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=2qvqLkxdGKgktXjBPdsLSmKhkncDqiNH016mMaPd+6Y=; b=XGTYno64W3BKPawfkOYT2tXZs+/Q5m4SBo1aXatKLqPH32wF22Ka684FHTQ4kWxkl3BI30/fMFrtQBfE0ouBGJ0NQZXpyuzlhI5CbLbJ+ze7b0pVop4yWIIho7hQdBWT366SYK3vWhwG2owmRzEXII+E0dRzVdXBX+d4RH3ORzPYTYMGfGFYFDs8Tk7PncjxUTlX3vR0DjTZNroFGTEt5fYoMWti8ZkEoAmLc8cTJgIIHBbSwx472c7e2zKBMxw7ByykG8B7ccRNxzrra1RrLLVr0Et82VSK32WWdh5FrmMBZfhS+R+9BX8aU8AaR52qSDpqJf1udr3W2L85I9uLvQ== 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=2qvqLkxdGKgktXjBPdsLSmKhkncDqiNH016mMaPd+6Y=; b=Eow8lJEzPKAKLJ+luwB4Vad2l1AWH6Bw9PxMqAH6BSQg7Kjl1x95xiQPlVZ3PMpz3XoILX1bt1UHjH7GxE2JhTNY26q0HeSejaj0h7ACSZ/3ZC6glARMNMfNDIp7+heh/CCcIAgNitkcSg6h5CsMSI5P13zw2AiYMAoZdW+RCmjmL6dJyeZyXpEP9TfUbM+kyNF+xFP28izjwZnTx5pjWOMRXnMlbmHgetiB8Gdrz7ymZ87ldDS+qP7xAB7+iwG/GMPOvUTWOIH0JBACSl81Z27/TbfZGOcM2kYChmfuikfn2j2clP5Dnra4gqYar01webEOv7q+TJBYiC2We8JStQ== Received: from BN9PR03CA0966.namprd03.prod.outlook.com (2603:10b6:408:109::11) by BN6PR12MB1169.namprd12.prod.outlook.com (2603:10b6:404:19::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14; Tue, 21 Jun 2022 08:06:22 +0000 Received: from BN8NAM11FT068.eop-nam11.prod.protection.outlook.com (2603:10b6:408:109:cafe::e5) by BN9PR03CA0966.outlook.office365.com (2603:10b6:408:109::11) 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:06:22 +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 BN8NAM11FT068.mail.protection.outlook.com (10.13.177.69) 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:06:22 +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:06:21 +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:06:20 -0700 From: Xueming Li To: Huisong Li CC: Min Hu , dpdk stable Subject: patch 'net/hns3: fix RSS disable' has been queued to stable release 20.11.6 Date: Tue, 21 Jun 2022 11:01:43 +0300 Message-ID: <20220621080301.2315720-38-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: 6fb006c5-4c2b-4b77-f4e5-08da535cee61 X-MS-TrafficTypeDiagnostic: BN6PR12MB1169: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: L+aGRDCGgaiwDoe6VKJum9XppcFY8V2uhY1PCjfBD+/nLuYVnvy94jgUaSX4a61wHWFTt/buoMqElceRVMMaVzLy7x73bsX6I0Iue42XDGtU1TlS/YsfehtZn1t1MFlRE7kSLWfN9WK9X0YbTzFn4A1IRUgZ60iWnQ9I+/HrWhbnPUu5ntvgCRugFJoIjTQDqTKCMtXQ7/UpufRU1yL3BWJ253JNMobPJKdfEIH9gkIZPh0vSvT9u7u2/hAvXUUNaAjOw26WPI8BH7Igep0R9KvaOjRG5hkMn4zVWh/6xVA6/Xw01qzAahZbj7xWsB0h5bJsH4SaePSzL/fLGahXlNPLm5UZpdxllS+SGwVQFUMHJsj0FBJtutpKwrQDlHVrGswEDjl0lk31W3EKLVk667N95pRv1wdbwCTEUyzhwfkCU57d2S0P4i1/KnVTkWBnNvw+p0Aw9I3PNMnXVzvF+azvjcz81VOzHP4mUpD6uCwcgUlIjSfDIGFiZm3h64aq6CjfIXcHw8yUyNOwIibsFNNYUzEeS7bsNcsd0ksHP9qnsegphKY0Jda3RZi8oFSDHorMNeyZqpjUZO6hPfBmW9lpO4YL1pCSk0MxtA9V2v5Bjq/Xm1zGqNf6MrgX/UTV2Mq/v0t9tGi53jujzIOsfBMCwdBghaxlL6k0CAuN742x7jXs9h9m4J9yQBUYL1R4iOJHIavZmK/W+LT5FJkVkrSk7Bs9qlNm4vXFi3wNCrt/n5yMWwKP0lTZDwp5TeiYzQPfk0F80VOH5mauMcPlmzmYwW4MKg13bQk5eU4d5eVX08kdNhkiCLhR16vl0jdPhYWEJug0z6DgA9F1j1rsORAKZiWjPQflJURyq7Altl8= 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)(136003)(346002)(396003)(39860400002)(376002)(46966006)(36840700001)(40470700004)(41300700001)(82740400003)(6286002)(86362001)(82310400005)(356005)(26005)(2616005)(47076005)(54906003)(83380400001)(426003)(81166007)(186003)(1076003)(36860700001)(336012)(53546011)(16526019)(70206006)(40460700003)(55016003)(5660300002)(40480700001)(4326008)(70586007)(8936002)(7696005)(2906002)(966005)(36756003)(8676002)(6916009)(6666004)(316002)(478600001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:06:22.5496 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6fb006c5-4c2b-4b77-f4e5-08da535cee61 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: BN8NAM11FT068.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1169 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/9bf4eb4b1a35e9d6874359f2d33b8b7e443f567a Thanks. Xueming Li --- >From 9bf4eb4b1a35e9d6874359f2d33b8b7e443f567a Mon Sep 17 00:00:00 2001 From: Huisong Li Date: Thu, 5 May 2022 20:27:05 +0800 Subject: [PATCH] net/hns3: fix RSS disable Cc: Xueming Li [ upstream commit 75ccc3f3d7fa06901d5b768448be4dc9f31f550a ] Currently, hns3 PMD disable RSS by resetting redirection table when user set rss_hf to 0 so as to all packets go to queue 0. The implementation may cause following problems: 1) the same type packet may go to different queue on the case of disabling all tuples and partial tuples. The problem is determined by hardware design. 2) affect the configuration of redirection table and user experience. For hns3 hardware, the packets with RSS disabled are always go to the queue corresponding to first entry of the redirection table. Generally, disable RSS should be implemented by disabling all tuples, This patch fix the implementation. Fixes: c37ca66f2b27 ("net/hns3: support RSS") Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_ethdev.c | 1 - drivers/net/hns3/hns3_flow.c | 6 +-- drivers/net/hns3/hns3_rss.c | 93 +++++++--------------------------- 3 files changed, 18 insertions(+), 82 deletions(-) diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index b2ff59ef62..8a19a77f81 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -2391,7 +2391,6 @@ hns3_dev_configure(struct rte_eth_dev *dev) goto cfg_err; } - /* When RSS is not configured, redirect the packet queue 0 */ if ((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG) { conf->rxmode.offloads |= DEV_RX_OFFLOAD_RSS_HASH; rss_conf = conf->rx_adv_conf.rss_conf; diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c index 8d9c2ef530..703e96e6fa 100644 --- a/drivers/net/hns3/hns3_flow.c +++ b/drivers/net/hns3/hns3_flow.c @@ -1413,13 +1413,9 @@ hns3_disable_rss(struct hns3_hw *hw) { int ret; - /* Redirected the redirection table to queue 0 */ - ret = hns3_rss_reset_indir_table(hw); + ret = hns3_set_rss_tuple_by_rss_hf(hw, &hw->rss_info.rss_tuple_sets, 0); if (ret) return ret; - - /* Disable RSS */ - hw->rss_info.conf.types = 0; hw->rss_dis_flag = true; return 0; diff --git a/drivers/net/hns3/hns3_rss.c b/drivers/net/hns3/hns3_rss.c index 2e9ac328c1..7d104d59d5 100644 --- a/drivers/net/hns3/hns3_rss.c +++ b/drivers/net/hns3/hns3_rss.c @@ -237,31 +237,6 @@ hns3_set_rss_algo_key(struct hns3_hw *hw, const uint8_t *key) return 0; } -/* - * Used to configure the tuple selection for RSS hash input. - */ -static int -hns3_set_rss_input_tuple(struct hns3_hw *hw) -{ - struct hns3_rss_conf *rss_config = &hw->rss_info; - struct hns3_rss_input_tuple_cmd *req; - struct hns3_cmd_desc desc_tuple; - int ret; - - hns3_cmd_setup_basic_desc(&desc_tuple, HNS3_OPC_RSS_INPUT_TUPLE, false); - - req = (struct hns3_rss_input_tuple_cmd *)desc_tuple.data; - - req->tuple_field = - rte_cpu_to_le_64(rss_config->rss_tuple_sets.rss_tuple_fields); - - ret = hns3_cmd_send(hw, &desc_tuple, 1); - if (ret) - hns3_err(hw, "Configure RSS input tuple mode failed %d", ret); - - return ret; -} - /* * rss_indirection_table command function, opcode:0x0D07. * Used to configure the indirection table of rss. @@ -382,6 +357,8 @@ hns3_set_rss_tuple_by_rss_hf(struct hns3_hw *hw, } tuple->rss_tuple_fields = rte_le_to_cpu_64(req->tuple_field); + /* Update supported flow types when set tuple success */ + hw->rss_info.conf.types = rss_hf; return 0; } @@ -402,7 +379,6 @@ hns3_dev_rss_hash_update(struct rte_eth_dev *dev, struct hns3_adapter *hns = dev->data->dev_private; struct hns3_hw *hw = &hns->hw; struct hns3_rss_tuple_cfg *tuple = &hw->rss_info.rss_tuple_sets; - struct hns3_rss_conf *rss_cfg = &hw->rss_info; uint8_t key_len = rss_conf->rss_key_len; uint64_t rss_hf = rss_conf->rss_hf; uint8_t *key = rss_conf->rss_key; @@ -416,22 +392,6 @@ hns3_dev_rss_hash_update(struct rte_eth_dev *dev, if (ret) goto conf_err; - if (rss_cfg->conf.types && rss_hf == 0) { - /* Disable RSS, reset indirection table by local variable */ - ret = hns3_rss_reset_indir_table(hw); - if (ret) - goto conf_err; - } else if (rss_hf && rss_cfg->conf.types == 0) { - /* Enable RSS, restore indirection table by hw's config */ - ret = hns3_set_rss_indir_table(hw, rss_cfg->rss_indirection_tbl, - hw->rss_ind_tbl_size); - if (ret) - goto conf_err; - } - - /* Update supported flow types when set tuple success */ - rss_cfg->conf.types = rss_hf; - if (key) { if (key_len != HNS3_RSS_KEY_SIZE) { hns3_err(hw, "The hash key len(%u) is invalid", @@ -702,7 +662,8 @@ hns3_config_rss(struct hns3_adapter *hns) struct hns3_hw *hw = &hns->hw; struct hns3_rss_conf *rss_cfg = &hw->rss_info; uint8_t *hash_key = rss_cfg->key; - int ret, ret1; + uint64_t rss_hf; + int ret; enum rte_eth_rx_mq_mode mq_mode = hw->data->dev_conf.rxmode.mq_mode; @@ -718,51 +679,31 @@ hns3_config_rss(struct hns3_adapter *hns) break; } - /* When RSS is off, redirect the packet queue 0 */ - if (((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG) == 0) - hns3_rss_uninit(hns); - /* Configure RSS hash algorithm and hash key offset */ ret = hns3_set_rss_algo_key(hw, hash_key); if (ret) return ret; - /* Configure the tuple selection for RSS hash input */ - ret = hns3_set_rss_input_tuple(hw); + ret = hns3_set_rss_indir_table(hw, rss_cfg->rss_indirection_tbl, + hw->rss_ind_tbl_size); if (ret) return ret; - /* - * When RSS is off, it doesn't need to configure rss redirection table - * to hardware. - */ - if (((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG)) { - ret = hns3_set_rss_indir_table(hw, rss_cfg->rss_indirection_tbl, - hw->rss_ind_tbl_size); - if (ret) - goto rss_tuple_uninit; - } - ret = hns3_set_rss_tc_mode(hw); if (ret) - goto rss_indir_table_uninit; - - return ret; - -rss_indir_table_uninit: - if (((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG)) { - ret1 = hns3_rss_reset_indir_table(hw); - if (ret1 != 0) - return ret; - } - -rss_tuple_uninit: - hns3_rss_tuple_uninit(hw); + return ret; - /* Disable RSS */ - hw->rss_info.conf.types = 0; + /* + * When muli-queue RSS mode flag is not set or unsupported tuples are + * set, disable all tuples. + */ + rss_hf = hw->rss_info.conf.types; + if (!((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG) || + !(rss_hf & HNS3_ETH_RSS_SUPPORT)) + rss_hf = 0; - return ret; + return hns3_set_rss_tuple_by_rss_hf(hw, &hw->rss_info.rss_tuple_sets, + rss_hf); } /* -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:51.000637451 +0800 +++ 0037-net-hns3-fix-RSS-disable.patch 2022-06-21 15:37:49.021117859 +0800 @@ -1 +1 @@ -From 75ccc3f3d7fa06901d5b768448be4dc9f31f550a Mon Sep 17 00:00:00 2001 +From 9bf4eb4b1a35e9d6874359f2d33b8b7e443f567a Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 75ccc3f3d7fa06901d5b768448be4dc9f31f550a ] @@ -20 +22,0 @@ -Cc: stable@dpdk.org @@ -31 +33 @@ -index 1d9b19d83e..4d5a595aab 100644 +index b2ff59ef62..8a19a77f81 100644 @@ -34 +36 @@ -@@ -2015,7 +2015,6 @@ hns3_dev_configure(struct rte_eth_dev *dev) +@@ -2391,7 +2391,6 @@ hns3_dev_configure(struct rte_eth_dev *dev) @@ -39,2 +41,2 @@ - if ((uint32_t)mq_mode & RTE_ETH_MQ_RX_RSS_FLAG) { - conf->rxmode.offloads |= RTE_ETH_RX_OFFLOAD_RSS_HASH; + if ((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG) { + conf->rxmode.offloads |= DEV_RX_OFFLOAD_RSS_HASH; @@ -43 +45 @@ -index aba07aaa6f..feabac9f41 100644 +index 8d9c2ef530..703e96e6fa 100644 @@ -46 +48 @@ -@@ -1446,13 +1446,9 @@ hns3_disable_rss(struct hns3_hw *hw) +@@ -1413,13 +1413,9 @@ hns3_disable_rss(struct hns3_hw *hw) @@ -62 +64 @@ -index 1493b10f96..1c703952b9 100644 +index 2e9ac328c1..7d104d59d5 100644 @@ -65 +67 @@ -@@ -237,31 +237,6 @@ hns3_rss_set_algo_key(struct hns3_hw *hw, const uint8_t *key) +@@ -237,31 +237,6 @@ hns3_set_rss_algo_key(struct hns3_hw *hw, const uint8_t *key) @@ -73 +75 @@ --hns3_rss_set_input_tuple(struct hns3_hw *hw) +-hns3_set_rss_input_tuple(struct hns3_hw *hw) @@ -137 +139 @@ -@@ -697,7 +657,8 @@ hns3_config_rss(struct hns3_adapter *hns) +@@ -702,7 +662,8 @@ hns3_config_rss(struct hns3_adapter *hns) @@ -147 +149 @@ -@@ -713,51 +674,31 @@ hns3_config_rss(struct hns3_adapter *hns) +@@ -718,51 +679,31 @@ hns3_config_rss(struct hns3_adapter *hns) @@ -152 +154 @@ -- if (((uint32_t)mq_mode & RTE_ETH_MQ_RX_RSS_FLAG) == 0) +- if (((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG) == 0) @@ -156 +158 @@ - ret = hns3_rss_set_algo_key(hw, hash_key); + ret = hns3_set_rss_algo_key(hw, hash_key); @@ -161 +163 @@ -- ret = hns3_rss_set_input_tuple(hw); +- ret = hns3_set_rss_input_tuple(hw); @@ -171 +173 @@ -- if (((uint32_t)mq_mode & RTE_ETH_MQ_RX_RSS_FLAG)) { +- if (((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG)) { @@ -185 +187 @@ -- if (((uint32_t)mq_mode & RTE_ETH_MQ_RX_RSS_FLAG)) { +- if (((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG)) { @@ -202 +204 @@ -+ if (!((uint32_t)mq_mode & RTE_ETH_MQ_RX_RSS_FLAG) || ++ if (!((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG) ||