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 4ABBA458A7; Fri, 30 Aug 2024 13:29:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F07EB42DE9; Fri, 30 Aug 2024 13:28:59 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2103.outbound.protection.outlook.com [40.107.94.103]) by mails.dpdk.org (Postfix) with ESMTP id 3D17F40268 for ; Fri, 30 Aug 2024 13:28:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=K4hmYItDKg98MehGcnL2MW8CvG+RiitqFNwyKtAb3Qx3zek58QbKbggXI3A8ZgjiNW3DCP2Csn2T3hn4ntn5VezrrF5F3QodP1ofAvoXJ2p4fNSbz4ZbvJ+AsYH5mFJRSKSG+AYGHBAAI7wwJ33/nPpx/8R8NW2rAE9sGP6RcNpK2xWVstAuqIsasS7BV/JusQagnQC1z3W8w/ImmViBzFViIayHALzW79jd6sClv18+g1lGNeDL3oVt9wqs3/tVzW3QjsSpLTtJSm5Mm6NaxaKF9kzCQ+dBeKrERVMusG8Hm91gBbl34WFvILbhx1XQsAcUZecR5tMRPWw9lzmbtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=59unvttLvt252iBbNxzagBMGodv3fqfes7k7oUDm9AE=; b=UScFokbm7uKauminvs50t72JuKxieyGQvNovPeescfJYJC5ualvQBNEUmhDwDbZHE6BD7L6Y58TEWwYd5m55dma8XgLyl5ZJ1MnSt6MxaKe4NDplhPuZQrO2T9vQZPljjXjePpVqWX0qLzJLHTs9Wf8q//5aTQRwssgjU2iezsePbNQF4vZPJYdXCrH0UYP+hNdIjuuZzuXJ+raHmakOSXWm6yPNKSrdZ4CXwnsvtkFMnzvBygGWwP8GnVhZ2JiqndkRtJ+0nDjY6Zjy0PNHEJJQ+yYxXVOPAXOMO7TNfF2KsGfFZCTwxr6CzI5DTe8bs/cA3B1ZZq7NMHsSufo+dA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=59unvttLvt252iBbNxzagBMGodv3fqfes7k7oUDm9AE=; b=uBTyVhvdeXyfotBL4XzOH8YUWNpDhIBg23XQZEW5zC18HGE29vDQ9F4LWFtEyHGeOfvW2vXorjs0UBzro1ei+gvQUTJ3NeifzAtFJPfA4NaMWfBlB9UTbqKq/cCme8y3SrqQ21DZa0EKemw6VB4+2tf68NiILU8cVSTiLvD2D8o= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by MN0PR13MB6790.namprd13.prod.outlook.com (2603:10b6:208:4a5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.22; Fri, 30 Aug 2024 11:28:54 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%4]) with mapi id 15.20.7897.021; Fri, 30 Aug 2024 11:28:54 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v3 0/2] Support match flow rule Ethernet type field Date: Fri, 30 Aug 2024 19:28:27 +0800 Message-Id: <20240830112829.2586795-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240830071323.2581557-1-chaoyong.he@corigine.com> References: <20240830071323.2581557-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0104.apcprd02.prod.outlook.com (2603:1096:4:92::20) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|MN0PR13MB6790:EE_ X-MS-Office365-Filtering-Correlation-Id: 45275936-52ee-4364-b868-08dcc8e6edf4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?itck49vnnBH5SppjkM99MI1R0dKJoVDXn6beJUMiJjMzop1SFJcG2AQ1B9QN?= =?us-ascii?Q?gBJ/1IL2pHU+9+2ytDKyXZiHRG4ToJJOqFrQpB9vFUceMAVUoQlvnoEl7tIS?= =?us-ascii?Q?7n/nxlvdmCw7YxMz0Ic391PGNbVKZFfaQlj7f60mc4HBunp51Qj3mtLZbzHx?= =?us-ascii?Q?OsFyBvgYvhT05TbdPTuyvZi/YiM/kF905MiHyry23qXbxic+9Jfpy9nNkh8B?= =?us-ascii?Q?wTmKheCOns1E+cRmlUMI8f6U6PopZZs9awMrXGJDSsuYvQ4fFTi2Vr9cFhTI?= =?us-ascii?Q?L03LLLU/PPXxA0xTTekQ6TyFH0Yf0Sjz11PfMZRld+f2H7i3W5VrMdLE+K1t?= =?us-ascii?Q?rjBFykI7cWUA/5CCNCmUc6JS7k8BEE0dBqmlpoyqlTOi3DcbUYD/pB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r+6gjmVog6H9VMHM4xEAwA29Lv4KUQ3yNf?= =?us-ascii?Q?mIJ3Nu1IwHGn4qXRoh2gkPagHBjAdcDFaGpokuupSCok7rEqm75AdHLVr9yM?= =?us-ascii?Q?1/XTJJ4cTe84E4YBfPz6B4WURhRMShqbbo9tRP1QPAZ+kHIpqA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(52116014)(366016)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?7tHocyVEjZ5nhlKOtZKxVWY/t0KL1sAICmhG2j5iJxdNiL6asuwbd1IaN4JY?= =?us-ascii?Q?N409tVQf+gVp+/Co/QUCqO9UUuzpstgO2xnRFWT/1df3dUstMrKkfwqx+Sv1?= =?us-ascii?Q?ze0iMsx7Z/zhG4KzN5WrXgKELrgDhufzu2lK+BqYcZwS1wqnuNur9roQ0mJI?= =?us-ascii?Q?WVLCeQFRRdR1DKDlnHlxPPG//k0PHiMX7Ylf+Re3l8og64OgcYZBYvEDadXI?= =?us-ascii?Q?gMsq+RYJhjqPsLQrbTaMt9pbVh7UFv9r1cpeZOtw2PQoi5pZa+POshZwNTSI?= =?us-ascii?Q?LWt1Pb3iaTiY8/62MU/N697eKR9j9L6MUF5tIIkeoA+gYGIARaOOabkKlE0t?= =?us-ascii?Q?aBHI0c9zNurJDN3OR/OdE43j6LtSZ4EQwLvM6G+zYGufTHg/7leVhwwOyB3G?= =?us-ascii?Q?EpkTS1FGweNccwu1glXOlG4tSu1gwScbsMzWyTqcsr/GR+tYIND9EcP5UVAb?= =?us-ascii?Q?pxwuhnvbQ2ZxWXbD6b3Kd4qB0k0+P8zq/kjPg31ttuF2ehWOc5ts61F75N7G?= =?us-ascii?Q?50xyew7wMhhwhRnJgF1CjVF1Cp2CI6Em4jYAmiT76378qxlmvNyFhDfRkYsb?= =?us-ascii?Q?gfamP6ruRZCLA0hH/JLcQa6SzffQWqkb26qbuY6WKgwFLWCOk/muH6FszEUD?= =?us-ascii?Q?WsQp2FHpoYN3HH3UrTK5cKHmWwjKGN/qXapQ2zHIvtPsZcAuYsmVPu9xPgHf?= =?us-ascii?Q?VNDYvH6crPBtlHFf+ac/70whq68b13ptyFGJCWwFZG1y84QIygONRvOLViQV?= =?us-ascii?Q?KvX2jyBTRJIRq8jlERUXaxI8mahF4cUzMK/8LSCr780XjE8zxsLUQzGFNHJc?= =?us-ascii?Q?Ie+8IqatHisYl476rFLclXviug3uZ5VMQs1+SI2S3RrIJ0eg0CVkCDJB9srO?= =?us-ascii?Q?poYanTuSnjmfonLLpOn7fcbKHycYQgLFHSC+tO60R2Tmt6TapySVGVWLPfPR?= =?us-ascii?Q?UuA94plPNy81Q33hiKmXYkI4egNH9MuKVUHKUu7gdM0OlLF6zWLgmRHNNCar?= =?us-ascii?Q?QWWY6RRtSo0kjRXZeMqJElOqWaB4Vb/+wj30RJQKysGnpA4ZeFTt9UN3R5eM?= =?us-ascii?Q?G7GuStJ4UXArM0GZdKAVV3tctg23M5ojSH9WOqj2XFEzpBSyO2e9rXJngWBl?= =?us-ascii?Q?YFrw9cM6dd+luLj+C8I2/F8QCzao2K7mVT64DzP8jeKFEsw+9wR8GUzKAA5p?= =?us-ascii?Q?kN+2+iNRaX+Wf5JrZ31ZgTWPKqfIh4LukLgOKeovewWusyBgIzKyOCQy0XI2?= =?us-ascii?Q?XrpM0GNmG8gyi3GLzAOYN7jATfuzCFrywWgUhpls2wMxsWIqZu99tksM3t3p?= =?us-ascii?Q?DAHLBYTB5IfK+xez138arPQO2z/F7iRAzqrQP2iW7xp4Q+4c5aSm8GPkGS+d?= =?us-ascii?Q?DgbPCVtA//vgO/E3esVPfzJGqAMb5LANxZvLELniO6eQ9R7s4ku5L5qhMV64?= =?us-ascii?Q?86B6lswuZUyIikmGcP5U8ecuyHutk/zWizVGsb34Wcbfp0Yfse/Zk6j4wB27?= =?us-ascii?Q?Kx2iKcLYb2uQNnAns0+x3BSRBBdZ20UV60yDPwZjUdpQb7vys2VglAoDBE9C?= =?us-ascii?Q?gPlpVMYvPFIb/mK08KoX+dmOFM1negJoUwIkc07Ame+joJbNPzyY7BTuhbFX?= =?us-ascii?Q?tQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45275936-52ee-4364-b868-08dcc8e6edf4 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2024 11:28:54.3594 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6aMS7RQEFgWGdUJE0ayZUL/zpGbYczyQr1ZtHc7X55AcCivnvWrRRZFSrdVWRXzuqao/HQYkzQ/9bVxg5QBQdqaXfhjIXEPdx+KV48zmftg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR13MB6790 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 This patch series add support of match flow rule Ethernet type field, also do some needed refactor. --- v3: * Add the version number. v2: * Fix compile problem of 'dangling-pointer'. --- Long Wu (2): net/nfp: refactor flow item calculate function arguments net/nfp: flow rule supports match Ethernet type drivers/net/nfp/flower/nfp_flower_cmsg.h | 14 +++++ drivers/net/nfp/flower/nfp_flower_flow.c | 79 ++++++++++++++++++------ 2 files changed, 73 insertions(+), 20 deletions(-) -- 2.39.1