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 F2F2942B1C; Tue, 16 May 2023 07:43:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2A7A40C35; Tue, 16 May 2023 07:43:55 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2051.outbound.protection.outlook.com [40.107.243.51]) by mails.dpdk.org (Postfix) with ESMTP id 2D6E040A7A for ; Tue, 16 May 2023 07:43:55 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FodtzU7Q/l2X/O61txfD3L4R9Erce+s+dWXka/26pcwhZJcjhqe+1RDxe33HHXutCiwU2dG88PC22wA9Zb2zLl/ELrwt7XEHzXNLOPpmIiOkea9H1iwvRTQ6fBmVO+Tzom+oxXmdmE5bRjZTjxqclyZ1Qk/Mb3l6V8tzRRBAqYuqxcbfqlP+jOrEqZvXAcIvDmF8+w3L49P49iCn0zQpeOxzBGv+AhYK59b0xyyn7iERaLqQoF1j+QXlF+lFb+Lr6OmawECG45bTimPjRI/MJLon6goCHovB56PxxtID+VasWWanEdWj1tYXq9F4/xF9bK+yJvGh1A9GJy6ECJmzxg== 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=9Ou1MYypzIB7wGhAvDNKaxz3rqqFVcr/xbnszWEAwSQ=; b=meqVs67tlyJHniYvc4IM69KRKihMY0X2SqM7ErYv3Tc50O4MwCZZ+IbxoFN99C0iNxMP6cHy5XrXitYyv/MvexMDI1rg+SQ8WyVFWNHLIZr9G+Uk8H9SaS+zi+7ZvUdl+qPthdU8gdVwolgfSonha9QjRVqgSTS9IkPNVxmqrsx14+SCaLhsznTuMsTLDlYELeRwbmKDneC5CGIEWtZ4l6xYbrsQ53a04WtysZRyIbxt2D1qI9RByfNfNW8kVHC6GG1ZUK/ES3dg5/QLp9rjMPJmPUHKb/6Ss4KcfFzb0cDVzbFfhERURjpV8E9DdGSkhd3kVXWDMiZhgIoAEYs5DA== 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=9Ou1MYypzIB7wGhAvDNKaxz3rqqFVcr/xbnszWEAwSQ=; b=dl/Q8pGQDYKt+PqdNthxRKKVzrzi5QWirk69nanL/auYgQfYnjvvVBj+b3D+xoc1TdgPUs+Ld33eq0xiFUD6EC0cZZhJw2pcG4Rdu7WpUkzt76Y/kNAEmez1xPSsdJ0LwfVi91lEuMx66F/hmRZHcaVUpNG3c76M9YsSEWYLLIPrKWYiXHG5HOhKJjF2qlrJ3CEhS9j+kX1elyKuoUlMOdHw3QgKPrlqBPNcpJe++LPt5LYlYmMxYbl6aualdd4wWpDwmvdgTSZ6JNGCAPSipZEj5p2oiWKphssNPAzJsAxy0NW1MM3vSfPoE9LF3mkUNKUQImUVQwuIKk6Oh655hg== Received: from DM5PR07CA0076.namprd07.prod.outlook.com (2603:10b6:4:ad::41) by DM4PR12MB7598.namprd12.prod.outlook.com (2603:10b6:8:10a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Tue, 16 May 2023 05:43:53 +0000 Received: from DM6NAM11FT094.eop-nam11.prod.protection.outlook.com (2603:10b6:4:ad:cafe::de) by DM5PR07CA0076.outlook.office365.com (2603:10b6:4:ad::41) 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:43:53 +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 DM6NAM11FT094.mail.protection.outlook.com (10.13.172.195) 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:43:52 +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:43:43 -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:43:41 -0700 From: Rongwei Liu To: , , , , Subject: [PATCH v1 0/2] disallow duplicated tag index Date: Tue, 16 May 2023 08:43:27 +0300 Message-ID: <20230516054329.1397016-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: DM6NAM11FT094:EE_|DM4PR12MB7598:EE_ X-MS-Office365-Filtering-Correlation-Id: 0522e09e-5f86-437b-05a1-08db55d0882e 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: ALUcuW+HmIsVxW400fdhe7RLsSeBdEsOJmKBgJRKYaH28iT0AgZCqrZ92SRYR0mAPu7Zwj4otB37IUx59leu0PQ/1wqb+7TnAXTMSGgx8ZAdlL7WTNPDVULtaOVubg66rQ7vFvhPWSOMJlsH/EGM6wH5Q0Z2vcwvUrQzZEkFd9X9noNVxE2bv95adx3wEAxei5KucaWkdG0vz1UE2qfqkmUpDDVqASWFFNZtkmxl0+ANXjxIZw/VZLtND3iDFu2BtU7cv/FTKekMO7rqsbkF1Jgnk7YhGab1tN6CU7eBfOmpa52nrRb9DVk78+VkHTn2hKulqcdINyTP72Rxp+Uo3/+qNtE57itlHFpQ6Ws5tElqKEWjwLpSAoTmOThFjJjaSlSUWbRSS5rEhJaHi2Apw4K0AZCFwT28NZzwsBmsNGH3S2BJy/DIG/hQbdQF8RxQdwswVLTxoKA3pgSiaOVb0TgjOk75RiZQHpzNkQoo1NTDkShjPkz8UUUmDOyWsGfg3Y2AyrWUmKmry8mXzxn+35kqiXEDHQ6cOqPXNdRvzDsBYoceDu8LOKcD+hyzvAgp3BuAGBzjTkxpc1Mbai1hstgE8Vryb0xWTXTk1jHoJtsAvSKgQEddvjXBGpCLZFPM5jATcLaJqpDnfzU089MxBiZnu/rn/3+IgH6rkskYcxmzszmukPp3duTOp9L6V2CoJP07q6t6ctQCFN95cGnpDuF/IoyYuKM7QO0jrI7NVxmJkviAKbZi92x5XJkIlF1N 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)(376002)(136003)(39860400002)(346002)(396003)(451199021)(46966006)(36840700001)(40470700004)(83380400001)(55016003)(40460700003)(6286002)(2616005)(426003)(36860700001)(2906002)(7696005)(70586007)(6666004)(4744005)(70206006)(110136005)(478600001)(8936002)(8676002)(316002)(16526019)(1076003)(26005)(336012)(41300700001)(186003)(5660300002)(40480700001)(47076005)(82740400003)(82310400005)(86362001)(356005)(7636003)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2023 05:43:52.6989 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0522e09e-5f86-437b-05a1-08db55d0882e 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: DM6NAM11FT094.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB7598 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 Doesn't allow duplicated tag index matching. Rongwei Liu (2): net/mlx5: disallow duplicated tag index in pattern template net/mlx5: fix sws duplicated tag index matching drivers/net/mlx5/mlx5_flow_dv.c | 21 +++++++++++++++++++-- drivers/net/mlx5/mlx5_flow_hw.c | 25 +++++++++++++++++++++---- 2 files changed, 40 insertions(+), 6 deletions(-) -- 2.27.0