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 085C1455C0; Mon, 8 Jul 2024 04:46:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1B1440A75; Mon, 8 Jul 2024 04:46:10 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2105.outbound.protection.outlook.com [40.107.236.105]) by mails.dpdk.org (Postfix) with ESMTP id 6BB92402D3 for ; Mon, 8 Jul 2024 04:46:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aTfl0WqDyrRpRUg8g/vdYml/9QNsxW4HNN5m2+03sr9SXKPYMKwFAuBfSMFQ2EIjhE10tg2u2/hxngMj5AmbIhKf3T8Rc3p9R8oeLPLQQpelLA3Lz5zNH6TNYtgFvaI3qGESxI5FN12e0nlWrUhDYduvWnJjSjldmyB14IdM9okORru5V6oVn2894WzLt9D+UjE5HnkAAKX62jYAqQzYsmde+bkN/3YhXC+IoBpDVWYfTNZ9Umizr5ju6fbO3E2iXuj+HVBEIH7/zZRZ6QGqNgVYRK25TYj8wAOhlKhSQlzg1LZUJ2XtdFvhUELE+MN8XigkpFuoDt6GPYujCzhBew== 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=NnGTNC50UIzy6lLeEzsjDKhQtBeRCMJ3shHVr9CxYF4=; b=oa6xp6y5ZeKKae5WkqkuBwZOJYQWpm/lbqENkfGAExWPBmehPjKh5C4+O8o14WzYm8A6EPcH70jGaPEBdaZaUUcavV0UOjcFynfG1S3g2xgKt1M3FGhXedJPEQoQe9DF16jDsxC0YL5ZFI4yJe3WTNnX8SekDgX+4mat4ifuq7MBmkv+MYg/9jDjU68Ah2+qNU14BJRlOsa/b7NCEpcqIg3lIMmsPhEeBplNwmj0nNx5CPjnSZ0ZpKMVVRsVlnCtIwT4s70kKqGZlruiW6kqzJE1/VKlsBH6euKiVieVHBdkA7Oq/qO0cyxAyvx5B6GqOxmCneqtUGnmCqbRUkCFlg== 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=NnGTNC50UIzy6lLeEzsjDKhQtBeRCMJ3shHVr9CxYF4=; b=SgFe2I/1X7HLwJj6oX6mdWIzRbeHtrXtcy/erjxC2/zBQSGDvxkKbHy0P2R8v4rO2fAAIqmndtkMvrCbL5lLtnsSrVNTdqxWIG0GX/2pVeNtIql+KOtjnB8yAqni1nuFZJ9oKamSVxTU0vCENfYFE6L47jmJ2+IH7g4HLqot1Jk= 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 LV8PR13MB6624.namprd13.prod.outlook.com (2603:10b6:408:22c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.35; Mon, 8 Jul 2024 02:46:05 +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.7741.033; Mon, 8 Jul 2024 02:46:05 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v2 0/7] add trace support for control message Date: Mon, 8 Jul 2024 10:45:36 +0800 Message-Id: <20240708024543.77126-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240619100754.3480077-1-chaoyong.he@corigine.com> References: <20240619100754.3480077-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR03CA0272.namprd03.prod.outlook.com (2603:10b6:a03:39e::7) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|LV8PR13MB6624:EE_ X-MS-Office365-Filtering-Correlation-Id: c37e716e-17b3-4316-ff2b-08dc9ef81ca9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?zR6P99O0g9v7LMg0g8IkS1+Le5JSD5Xi2Ds45371pQkvKhO/p4hF10j7g4iA?= =?us-ascii?Q?FE2I8YfWSPQTdk/syq2RgBOyY20NNkws0SkPUVQPx5ZhO/GF+2JymosmaB4G?= =?us-ascii?Q?/iPC1HZVht//71IRZDsxhew42re1xrSXtp0AwCb2XxkxB9SYpSfmqe83ypZ7?= =?us-ascii?Q?tehERm9uMm4Wft/0q4ZqDTdNsstUWho2jf6kajvAqyAtjj/HCQ15tLw+T8hz?= =?us-ascii?Q?DxIj7YXDe088loxpzTJ39zBD5QtRrpHH69yjQdk76M0DOMbgYfmWoID6eoqp?= =?us-ascii?Q?oWLz/Bf6A+1VFwQwb+3yaD2YIeNOsCQQafBca+RrLLZDYsX7dGNhKtROYgLz?= =?us-ascii?Q?gxgZUUIeFIzFBfudMvbAY/eRhZ0RA1dPoQc4gZxULpYZ1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BaEl8r061B3BW3Xag2zUc0BaqKxnx8DSG2E6TrnlVWe2xNvn?= =?us-ascii?Q?ju3ZMOcVOrrhdrhXHW36YLU4C1H83wP6/qnsb6Irr/2x/pY1rnffnwc2N3mW?= =?us-ascii?Q?VJvXqgVE50NjztRT4mLsBzYy4mpLOyieRgKJxypc2tgsP9XTRA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(52116014)(1800799024)(366016)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?a+ov39qqXNBmw5SaCPvL1P8a9M0XkIIZIkKi0dc9m8qhAHCiPspHset0XHmc?= =?us-ascii?Q?yUhbFBU/0DS1TguVSr/hmg6FbXqqL00Ypssdz4gm2oeXGOL51rJjXVf7/+lv?= =?us-ascii?Q?gWez7kxuI867Bp6eqbuVJm6BJjEf5eUCaiIQO+WS6CYyf6nkObOoW2ILzxv5?= =?us-ascii?Q?yqgmUSOqghht3xi+FMbh1nu8N9RPS5ldCppE743e83wPxFSmAjVh0FF87px5?= =?us-ascii?Q?4hX6FeX2pKtOpDLGum6WwiHj2Q+y3g2VtHf0AC/VceA4gex9TkW9Gu7PZ3Ql?= =?us-ascii?Q?Ej3t5KUXQcy5ybp8F/hrjapN07IBU+2icyiuli6oQ14ssNs6HMa2ieXxot/8?= =?us-ascii?Q?hRRaXWV7SJRa+uSCp7V75ffdrUdnaIvNCUG6LOXGnlv7aleP23mfbTvqA47m?= =?us-ascii?Q?oQO77J3GvJQf5zwJLTjmyFKMksIlkyWY/UdnWv2tz6iOvX5YXpyhGNNyEHQM?= =?us-ascii?Q?CkFWcMDrDVCUykZlG6mqnfrt2RcdzLHALpp0Lny+i2ocF48nJSg8MsUZnpPE?= =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WxHglfarSMW9YMHC0JAbm8k6pNhf?= =?us-ascii?Q?gejEfCSBdES5yk7pJ8Fr3gd+yzogSChIIORWWP7iHNtAlM3kYpWT6LtoB9FL?= =?us-ascii?Q?22Is8MafjOnkf0NZUEI27Ht3ymfbMyVl1rsQIo3lAtxeFSIto0FBSRB6gFBg?= =?us-ascii?Q?HQnXbYbRTfhKRKK8dE+F29oMX0tny+g5OsPq/9Re0xiJTm4bq46nhCZiGZig?= =?us-ascii?Q?Zw=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: c37e716e-17b3-4316-ff2b-08dc9ef81ca9 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2024 02:46:05.2739 (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: Aey5h2QvD8EXgiinM5c5tq8TcBqL9x9f4TSvxEE8idXUgM2JibNRMgJe0zDrI8spkbDeGB5D425byv8/L3t7sl3BSjBNTNVm7paXBUnaFf0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR13MB6624 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 trace support for control message send to flower firmware. --- v2: rebase to the latest main branch. --- Chaoyong He (7): net/nfp: add trace points about port net/nfp: add trace point about tunnel net/nfp: add trace point about Qos net/nfp: refactor to prepare for add flow trace point net/nfp: add trace point about flow rule net/nfp: add trace point about flow rule pattern net/nfp: add trace point about flow rule action drivers/net/nfp/flower/nfp_flower_cmsg.c | 277 ++++++++- drivers/net/nfp/flower/nfp_flower_cmsg.h | 14 +- drivers/net/nfp/flower/nfp_flower_flow.c | 46 -- drivers/net/nfp/flower/nfp_flower_flow.h | 46 ++ drivers/net/nfp/meson.build | 1 + drivers/net/nfp/nfp_trace.c | 116 ++++ drivers/net/nfp/nfp_trace.h | 743 +++++++++++++++++++++++ 7 files changed, 1186 insertions(+), 57 deletions(-) create mode 100644 drivers/net/nfp/nfp_trace.c create mode 100644 drivers/net/nfp/nfp_trace.h -- 2.39.1