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 BEB7342B1C; Tue, 16 May 2023 07:41:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 997AE40C35; Tue, 16 May 2023 07:41:22 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2040.outbound.protection.outlook.com [40.107.93.40]) by mails.dpdk.org (Postfix) with ESMTP id EC07F40A7A for ; Tue, 16 May 2023 07:41:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RDFc8aExB1YIRzEJtQcz/0pxLBolEpvlH8oCxQwBkqqu+k3SiKqZG28BbATbpIYyQrU0fM/ATcdWg0sLev71Q4Mfv855p9DYU/1Tf001a1d6MxG5oqXjHFTk55fh7OkRC/xF2V3C6jVicvBMkZpaugwIJwiAVMxjEW/oawSHf9KbPe4WYP2BTRm6CGRTDRV0qgj9ZFFoKY9KXt2vGLU8bCX5vmY2F+MKYr/zAf/oZuU+Mfpsigl7zON3cUkZjRZU/dwlRMaZfLbouN+BOT/PNVQEmjQ6F8fbD+445xwyenSgAy7ZEu4+6GrJ4gE/3BRGEm0NHRZ1z1r6sHYivRZqdg== 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=t9Y5Dg9WrOJHAFLJYkjfPO2bzPdQbK916peHK4R/DzY=; b=enGPCBH7IsDafAdjynGZoC5Sg/K7lfl2qVWJYce3XZvsgHjYbyf5EH91E+0ExnSMkdG/DfkdwomDsUj9oDUhP1uwktXLIRyzifONgKBsSaVkMlXrdfSLZs65X+r6+AWY5vwOKgoF5uyhPxEKPGwtJKZeUBm7cbqjUMFOK1rWJ1Glu9AY/Q6xjKF8dm2NRzuLJ4K556ERfebak8qE44O1QFMaPf0y5pu13WGHTiJ7/iy/mZJB4f61WH75hR1u3QKlg3MsQyMSMzwEXSAYrYJOBvmxiRaAKIAtQh/90o0AHBcSiyXWdWmRmwtsENqM/zAxmJRryTAfQs55E6vhwZ2YlA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=t9Y5Dg9WrOJHAFLJYkjfPO2bzPdQbK916peHK4R/DzY=; b=HLso0B2/wYekVzztOn1/WP3wlY1gadUtUClrdbseOwVtoD3zQhdS8uQZyksyQuAlIGUs+nZRxKStzSlJYwfqu0s3vS2ov3YLbzNSowInStohHjk37MAgfolX73Bv9YohLhP/MSVbMsX/hzaBDCtChwL7yfIrCFKrokoxjUfrArl3FLXRG0selkUJQxEKMO5ieFqHRY3GrGTjMJ311aSy52h3sFIePdVDnKP9VipEYgaiapvzo1NhVb580zbx+LCUQ2nBlc3EXBmbAh92DrkogIOsIUq0Tv58AxZEoZxX+rt6JHFJk1NxLsIdcDlwizqfgZgvJ/Iv04PR+3ArKleoGg== Received: from DM6PR04CA0002.namprd04.prod.outlook.com (2603:10b6:5:334::7) by MN2PR12MB4391.namprd12.prod.outlook.com (2603:10b6:208:269::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.33; Tue, 16 May 2023 05:41:18 +0000 Received: from DM6NAM11FT081.eop-nam11.prod.protection.outlook.com (2603:10b6:5:334:cafe::42) by DM6PR04CA0002.outlook.office365.com (2603:10b6:5:334::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.33 via Frontend Transport; Tue, 16 May 2023 05:41:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DM6NAM11FT081.mail.protection.outlook.com (10.13.172.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.15 via Frontend Transport; Tue, 16 May 2023 05:41:17 +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.5; Mon, 15 May 2023 22:41:07 -0700 Received: from nvidia.com (10.126.230.37) 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.37; Mon, 15 May 2023 22:41:05 -0700 From: Rongwei Liu To: , , , , Subject: [PATCH v1 0/2] Fix VXLAN matching Date: Tue, 16 May 2023 08:40:51 +0300 Message-ID: <20230516054053.1396711-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT081:EE_|MN2PR12MB4391:EE_ X-MS-Office365-Filtering-Correlation-Id: 08410d25-10d3-4cdf-c277-08db55d02ba5 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MHuaJDHoTiq7JZtZz+Lz/Wk9JxPkjg3PA7pvOQGCOVPI/3ZAZVoqj+y315SrMKd8NSvsUGKantWoWpHpTY/acOeh09Zqr4bNxYmXnUue2yeGwakQqmeL7q1YoYDX5AvkFxQeIOXNmQk9s/6QZXB+73i6V+b+cb3mAEQ/747poMtTKcB2B80wPS8BqL0LrkstryGPHkJctVgdRpF2GIIYPTiEswxMKw8eeKYcNWEln5YHyiNMg1xbZyLByWBQu6FmYRwFTuaPHhnDjsi8AxwXTaPfY3I4cyvZkpGOt35jQ3DEaNXt71FMIMd/Ul6j6GFBpjICTebv2g1e2vLkYk84sTXgvLYpnIqN03SvzSZyJtoKg/GF9H1NVhhhLlK0EjP1qfdT4gxAwfUoUmjR4UexeymwgWnHI8YWlrhkh8WwqZ6PPehfRS7hO1s423UBmQaxSAwyOxjFpX8o2b7Hz2t1xPRW8rqXrEF4RBxwACilBG2ImZRMqyjCgES6Qm4MjEGpL5dffWQTaHbhpivdIJSVl3pwRgTEmzXagwgu/qX6VQBhgFc8E7IQCG2e42u1KgGA/GHuA9Jpo9MQaecDTRG5/IVh+C8SuuoCJkntGle48BVjo9E5WXr45CEstfH2V80VAG1TBLYXn/fqTjzPlReS7IKobkNN72wc5BhBjMFj11zoWb2HDgE4fQHXMmkc4tCT1eN18wREM47hDKULcKYlvr14weHc3RhaYv6H1pBbpRAx7Z+3b5zkKqR1FcC+BbRe 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:(13230028)(4636009)(396003)(346002)(136003)(376002)(39860400002)(451199021)(46966006)(36840700001)(40470700004)(36756003)(4744005)(2906002)(336012)(426003)(5660300002)(8676002)(8936002)(86362001)(40460700003)(41300700001)(40480700001)(316002)(70206006)(70586007)(478600001)(55016003)(110136005)(6666004)(7696005)(6286002)(16526019)(186003)(82740400003)(356005)(7636003)(26005)(1076003)(36860700001)(47076005)(82310400005)(2616005)(83380400001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2023 05:41:17.4243 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 08410d25-10d3-4cdf-c277-08db55d02ba5 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: DM6NAM11FT081.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4391 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 Fix VXLAN matching with zero value and mis5 layout size calculation. Rongwei Liu (2): net/mlx5: fix matcher layout size calculation net/mlx5: fix VXLAN matching with zero value drivers/net/mlx5/mlx5_flow_dv.c | 37 ++++++++++----------------------- 1 file changed, 11 insertions(+), 26 deletions(-) -- 2.27.0