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 141ADA054A; Thu, 20 Oct 2022 11:59:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0620942D19; Thu, 20 Oct 2022 11:59:54 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 0903B42D0E for ; Thu, 20 Oct 2022 11:59:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IRgT8UQZpNYonmD0SiByIMMIXTxh+p8ngOPAlfpmNmy6bp19+QZFR+mBBTzgu74lslV8jnmc8MgHR89S6LkNH9AT9sFbleWGqObJ1GddELbA3U1p5AShmkbINZlbjqVEMISIff9C5V1KFVeK9Fo7FifGmUG6i8JFKFXER6cm8JOIs3GRPqULMo9HLoMC0VbyXVElsLwZSXpuFyZ1MSMxP9NlZJCXXOMdktat815iZlaQ2FOY7JpQ1zu6qGuXy4Crn1S9Qq3Rb/fFDimV/l0/f2x3K0GhTrFtF0okma7+reVNPXbDcFbXajhPjpYVj7UTub9unoEB+ZKsSQvxw9fRww== 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=YYnJ0ktrnfQEh/RhhJ0RIprPGWbv7VfsNDOhwi7e2o4=; b=UFkxj9TSeNi9S+LeKHnrp7KgyV4R1iutVKH8B9Hm3U+i7djzVVKD4ryiD92Rg92hc2qR0J9J8zpejbF1FCopd7smj+6trDxlUvSzE2tY01MWWB6RQNi3DHDdrdwqjxSZNWXsmiJE+unoEklkSOpwSesNrDrNPC2JG6EygG/+Ec7fv+ZZdf40GSQtLvk4YYp8bvayyaGJSGXPVxpWpLW/c8jhNSl8OJFI+wu14K5wHjzXEryl6td7J0pt7EWiemuAgX7KsQfQA+jZDyl+aiy9uqwIXjM7H+N6Uii8QfWpsxbe7OyDB/SZtPh6G7ZtESxCinZgO80TBlQCsp/koUTwYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=fail (p=reject sp=reject pct=100) action=oreject 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=YYnJ0ktrnfQEh/RhhJ0RIprPGWbv7VfsNDOhwi7e2o4=; b=UashvP6ghHSmYp5DXtRZQ2E3Z4PboGFU4QihiQWV/7pcO0HbTBjSysBQPI0eaqCgFIQ1+kcBoYpgFAQwgGRaj9HCotqM6hR3gWZkLHqKT2sP1eDvuBXP1sulwl4IbobL7yr01aCAoEGYwYeIzzivbbGTmRmaxC2Y+3jnmSU0nLUY1wOlWSgjowd17MfwNHuHPkx57S7TYRX3nwMsF44NpwJjrgfDu8SJO9Nrgi+5gPf8I6FAoKffbUqAkhvLRykPZpXJOO32OO9RGZsz6l7kgy6RdyRjAN4Af64llLdfWk+5w1ui+VTe+F88pROivraeyrokQFEMdYok+ZWKpper5A== Received: from BN9PR03CA0039.namprd03.prod.outlook.com (2603:10b6:408:fb::14) by DS7PR12MB6024.namprd12.prod.outlook.com (2603:10b6:8:84::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Thu, 20 Oct 2022 09:59:50 +0000 Received: from BN8NAM11FT098.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fb:cafe::f) by BN9PR03CA0039.outlook.office365.com (2603:10b6:408:fb::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34 via Frontend Transport; Thu, 20 Oct 2022 09:59:50 +0000 X-MS-Exchange-Authentication-Results: spf=none (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=nvidia.com; Received-SPF: None (protection.outlook.com: nvidia.com does not designate permitted sender hosts) Received: from mail.nvidia.com (216.228.117.161) by BN8NAM11FT098.mail.protection.outlook.com (10.13.177.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.16 via Frontend Transport; Thu, 20 Oct 2022 09:59:50 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Thu, 20 Oct 2022 02:59:40 -0700 Received: from nvidia.com (10.126.231.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.29; Thu, 20 Oct 2022 02:59:38 -0700 From: Gregory Etelson To: CC: , , , Viacheslav Ovsiienko , Lior Margalit Subject: [PATCH] net/mlx5: fix RSS expansion buffer size Date: Thu, 20 Oct 2022 12:59:23 +0300 Message-ID: <20221020095923.3454-1-getelson@nvidia.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.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-TrafficTypeDiagnostic: BN8NAM11FT098:EE_|DS7PR12MB6024:EE_ X-MS-Office365-Filtering-Correlation-Id: b4b50cf6-4eeb-4010-842d-08dab281d41c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nB+/VQiIKhIlxE5jFooraoPGctoDq0iRKNhpYdnSA300QL5gN14PhN/gHGVbLmtGMmtUJ7QDJsUQo09cLGDy2ZQvnSMvW7QUtlhf/TkDo7eKhCzKRUBAcIriIcBjD/7i+Zvj41WUnRLTJQforPwTMTu58GFYhr2GUgdsz5fLsCGRd74yHpfLIAAvnth4mcJ/2sQEdpyNK8LUjL/+BHHVmF8btRuksk9XzRKraDon4tEtJJ0NSwzOW0/ezXNo/GlQ6e6BjmTgfcqbGCta4kYaMWJj8yRG+M8qttEJgZYEnaIrX8uh8aQKlZx4U1ivX6FlBEMzXV3Bkb3SC6w3hVRL1mGbYH9r7adqQnt9rkQpr+SzxOY/Rw4wniTOOMqtm1By5TTT5TQqxzBy60CkMGRnoQDoRxFM7rKahpE8zREVSKtGwTXPu0pyCoNkE0hTqhiB3brJCbT25E3TjeJGA0ipdeVMNGiStBzyn8WedfBLdaFBiC8ur6kERJEMZGqj/M5Pk68jg8gG90NN6DSb/YeaLzXLoSkn0whtJIom2tyxTH5/mB334blmXrhwhfojDQHy7TVEsZh6gJplE90lUs8djAuWjuod6DInYN4GLb6n+FcTIzldGKENzpHtTcoLVfDOSmza4oQY7ryKAybdMySAMdoTxHAl4FFrfbn4SfmHVkpoUAccJexZ1d1y3PI+C7c53ZH0sfcThKN5gI/FiSgRvIdM9w8modHQsYlnNpNTcPkLvWd51A4PbPlEP8kxggd0TciJL9ecDRVJbB+ORjEKwA== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230022)(4636009)(396003)(376002)(346002)(136003)(39860400002)(451199015)(46966006)(36840700001)(40470700004)(1076003)(55016003)(8936002)(4326008)(86362001)(70206006)(8676002)(70586007)(5660300002)(41300700001)(2906002)(82740400003)(36756003)(4744005)(356005)(7636003)(40480700001)(7696005)(6286002)(40460700003)(6666004)(36860700001)(186003)(47076005)(426003)(478600001)(16526019)(26005)(2616005)(107886003)(82310400005)(54906003)(336012)(83380400001)(6916009)(316002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2022 09:59:50.3323 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b4b50cf6-4eeb-4010-842d-08dab281d41c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT098.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6024 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Increase expansion buffer size to accumulate more RSS types. Fixes: 3f02c7ff6815 ("net/mlx5: fix RSS expansion for inner tunnel VLAN") Signed-off-by: Gregory Etelson Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 06b465de7a..ec083676c9 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -6819,7 +6819,7 @@ flow_list_create(struct rte_eth_dev *dev, enum mlx5_flow_type type, int indir_actions_n = MLX5_MAX_INDIRECT_ACTIONS; union { struct mlx5_flow_expand_rss buf; - uint8_t buffer[4096]; + uint8_t buffer[8192]; } expand_buffer; union { struct rte_flow_action actions[MLX5_MAX_SPLIT_ACTIONS]; -- 2.34.1