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 61B8D43A3B; Thu, 1 Feb 2024 19:57:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 517DB42E00; Thu, 1 Feb 2024 19:57:23 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2052.outbound.protection.outlook.com [40.107.100.52]) by mails.dpdk.org (Postfix) with ESMTP id 29C8042E00 for ; Thu, 1 Feb 2024 19:57:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aNxeBVCQTnxlbm8oC2g8JUxXe9lpB4j92Y6ekcEgEDqOCNirMZ0lS9EZogoiBIZ24McqeVRhLBVLoRXnQB6ivcq2t8JMnRgG/yfLZqWciD3+fcbmh0DhwTCkCgMwZYkiX+lyiT+3JMuqiEP3W4AVMOsSip8rCaQ0tDtZ9RSZfJkNqgRr4sbt9pzw0UJ6ygq69q0X4iscR59OWy1tcZEgR/ldobhjFZ/Zog/vSULYOqg15XKIddOFHE8zsokGa9UC8aJp6rOTBoyaNno4xuLOddGOei/na0ItpXrCvSpfemJMGXh6OtHzGH10TfRNnwfwkvCFUXhsMPEQjFl9bIyU+g== 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=ii6oPYX+X3kTcBSWBLxZxBjFaNv7KnNPqGAhQIYJt1Q=; b=IVQnFwGd5auHy6cMfPpM0RVfdNGuT7VBKybXCI0n0CT1vPspgzfLQ/Y8l6i81bVoQq7cIbVDYYEtsZjNMV0s20KBsZPkUviRvQT0ygROrtkxiTYF6A/eS0hbLIiwBQ7AeI03nH3pasSECjOy/My7wOGypIknlg1TkqmO575FCJzSyRx6U+dydURejT0abTeDI5V7cdVxtvnUYRRcfAbrUKmweb3zcSAO0Sr4ECm2FZQ73x7Mn5DzxVJG+vRb/mpfh945QHNMFP4tdrFFTzFzEiqo/9fVtNZb8uvdBo0ZQd2GtjkeGlJ4pUfV4nXQhj9AR+2/sBgo+A7gPzkpoJ+oXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ii6oPYX+X3kTcBSWBLxZxBjFaNv7KnNPqGAhQIYJt1Q=; b=TskIwdvGcgkj90723zKlk5gnyciu5RQmjvIAnpzskHhNDavERisvdW6fCty6ujEm7yQeTVwnzECx2Cu7z5+TVLG6wf2/Dgln1f3o81pUwlVX67i0JHlQ0+6xquRuoGYiHMyyZin0voJYfpS6QOQhCJ8Ya/nMx0djWTdHgQPMqFU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SJ2PR12MB7918.namprd12.prod.outlook.com (2603:10b6:a03:4cc::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.11; Thu, 1 Feb 2024 18:57:19 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f%4]) with mapi id 15.20.7270.010; Thu, 1 Feb 2024 18:57:19 +0000 Message-ID: Date: Thu, 1 Feb 2024 18:57:17 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 2/3] ethdev: add compare item Content-Language: en-US To: Suanming Mou , Ori Kam , Aman Singh , Yuying Zhang , Thomas Monjalon , Andrew Rybchenko Cc: dev@dpdk.org References: <20231214031227.363911-1-suanmingm@nvidia.com> <20240201122922.474250-1-suanmingm@nvidia.com> <20240201122922.474250-3-suanmingm@nvidia.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCEl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qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240201122922.474250-3-suanmingm@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0220.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a6::9) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ2PR12MB7918:EE_ X-MS-Office365-Filtering-Correlation-Id: ae6fa50e-22fd-4bf2-c6ae-08dc23579d68 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7u16Zsz5bAN05WiLFuRdHdGIg19T8o/Kc3EAka4SmggeWqku0aNLQLyqJPadeKP1khDNJeJKt3HtfsypzePryEJ0IoslZVUkBMgWjAlJX6CpRTogW99uPJPeBn3rKNu/Nh9I1woNaqk2hxX7+DV5HsvKneYhSSQlCAA4CuJEXcfPMtd2nz3BtsTDR+Rixq0h+Do3sSPhc7aIJIqdWZ0mwo+avpYXwTnWeLN9EtDPWxMjqiUSB22+99XfuXXOFoG3kwkTFjQkY9s/sHblTEw4GRRLCNEyIltOFFNTiHxCg5mCM2Pj7cMntcc3Yt2vgay22NkINg3Y+4iaCCWif44qgUa9apLt5NwZIqt+1diV7nxmVlpEq+5fJFp8De0EpFwxfN9dCU+nGUk7JTeRzSQQd7QX8ER3WwBWkzc1nuuMz8yciHkwX1BrEj+qChpcYpixtActRUVX/v2khERh0IhMcPvPOmP/y33YG4I8phB7cZBDH6M63kk3kNSJVNGN2N0KptS4pLYR6FafGhkgVe52tnpKDcLd2iWKXok30FVjcqWKWKRJzRQ4Qc3XPMCKCfZfJqYwCcqjRuq8aDsT/5FJ4CcmGhc/ZKSWndrM8jXM2X5/eLUqjzVuj+rs/94E3/YE5NQX6Bm0yTsVJN1uxchPUg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(366004)(39860400002)(396003)(376002)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(41300700001)(6512007)(26005)(2616005)(38100700002)(8676002)(44832011)(8936002)(4326008)(5660300002)(6486002)(2906002)(4744005)(478600001)(53546011)(6506007)(66476007)(66556008)(316002)(110136005)(66946007)(31696002)(86362001)(36756003)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VVFBeG9DbzIzYURLYjFlcXZ5cTBuSi9iWXA2eWFDd2l6MDBoVURWT2QrMDlR?= =?utf-8?B?Tmg0akp5RVAySnVRM0ZmY2ZJbDN4TE1zSmxSQWxqVW1xWWNEWUZzUnlVYUpG?= =?utf-8?B?OTFUOHA4bWxXV09NaS94YUZBWkhIWjFiUCszWG9ldVcxYWJEUVB2V0ZIMTRZ?= =?utf-8?B?TUFjWmMwKytNeXEwa0RxMGpLME1wVCt0MmMwekwvVnFhaHJyTHhmT0l2VER5?= =?utf-8?B?VW1nYlpUTXpRS3J6eVdld3dDancwNXlUZ3V1WUlmUCtZMElsMDc1YlVzSG5t?= =?utf-8?B?YXNaNUtMbkdmenVZenJnRG5sblc2eEtUTm5ubTV0emZuTkh6b29kQUhLOHVS?= =?utf-8?B?SFBjMEM5OGhDekNuc0crMVJQK0dja3FxTHBLd212T0NFaTRBa3UzWE9oNStk?= =?utf-8?B?Q1N3SzVQalBwRW51VWZPa2g0by83WGxLT3VZTFhLMDM3SEZLLzhCZFFmRGtt?= =?utf-8?B?a2Z0VHlCUEJZcmRpUUt0U2crMDV0b3BMTWRKbVQrcGZRY0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y9NaHVxOXlNSjlGc2VYbExJUTJRVE1IN056WXJ6K0JTMWJ0?= =?utf-8?B?ZGxSeFdIdjNwR0pOOHJReVZQbkYyclVtcUkyck1Da0lBOTBjVU9JalJ2dzc2?= =?utf-8?B?d0NDNndrcXFPOTlOMmphb0cxYTRrMGI4RDFZZ2R3eDRvRmJNRGpkVkpxWEFY?= =?utf-8?B?dnU3QnI2ODRsTExHZW5jZW94cS96Mmc1VVhtTEMyWjZBTVljT0J0ZFoyS0lu?= =?utf-8?B?UWhwMUsvV1JUa3pBNjJSbE5EV1llTGtKYm1wOThOSEwzenVZZEJZNFVNMnZD?= =?utf-8?B?NWJTaUVNVWExYVNUbFZZaFA4ajkyR2R6L0FNaDZDVXpqSzd6Z2FwM3BUWnEw?= =?utf-8?B?UXlhYnlZN3NwRUI1Uk1tSUlJVklPMFNFajZ4UFdCL1ByS3hiSHdVNS92WjRH?= =?utf-8?B?SklkTWptUEtCMnU2QWdMWGx4VVdLVmZRcjNvcDUxNFNrMmQrdEtaM2lIWVdD?= =?utf-8?B?cEQrQVZrMDRjbG0xTWZzVllVN3o5V1hvYXAvSW1Ec0NadnlmdGRLL3NzR2Q2?= =?utf-8?B?N1Y1QTJSK1IxYWtpLzZ2UU00ZHBMOUxvOVlZWnhwcFk0eDYvb0NwVDIzRDhj?= =?utf-8?B?cmdxT1JGeUttbjcxWmFEYlY1YVI4OG5CZXVsMDFHZVhYVy90bUluQ2NVTndH?= =?utf-8?B?MWllU0orQkxSTFVoK01NS09Pbi9EMm51UGFpa1hQdEVZVGVzK2VTS2pGTjNB?= =?utf-8?Q?CnAM0WQLTq6XJuG0BJSZROcuZ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ae6fa50e-22fd-4bf2-c6ae-08dc23579d68 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2024 18:57:19.1556 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GB6rRA3ne0mXZTwDIE01jFY88f/SaqtmHTzJa0p+KL82D/O3Ke82Bc3kYIi+nGru X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB7918 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 On 2/1/2024 12:29 PM, Suanming Mou wrote: > Actions list > ^^^^^^^^^^^^ > @@ -5320,6 +5327,23 @@ A RAW rule can be created as following using ``pattern_hex`` key and mask. > pattern_hex mask 0000000000000000000000000000000000000000000000000000ffffffff / end actions > queue index 4 / end > > +Sample match with comparison rule > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + > +Match with comparsion rule can be created as following using ``compare``. > + s/comparsion/comparison/