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 D310B45459; Wed, 19 Jun 2024 12:08:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C3211427BC; Wed, 19 Jun 2024 12:08:14 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2138.outbound.protection.outlook.com [40.107.236.138]) by mails.dpdk.org (Postfix) with ESMTP id 3757C40289 for ; Wed, 19 Jun 2024 12:08:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DNQIqN8H8xxDy1q3kro7p54e9w2bJrLWhnyo4m9YoEmoFGTuAN8gACHAe4Z/WfNwjizz0F583VOR7dPU7dSy+qZRxk+ksUxEKBgxWfaWtrgL1nGbo19yWz9oMRXnXeK5tP3+KZBduEzAHh28jYiOZw0qoOvwEJXc+c2iRM5yhjbxV34PnFHzEyUgql4QVnzQ0zbLpen6cKZbsf56Wp+ZsAvLqmwxT975OLO47j8TKWNOqdQopMaftmYGJsmCFyQ/qwHrSkJxS4RwFxNMi0HkHhZjpd3gS5oAuvmDuu0gnusQTEcLnvaWcUGDTG8iwwW59TyTWGgcfTkTD40P645CKQ== 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=EcWoA+SZUjFgpthw1ECd1SKh3/YO/B/IibamRNi79Ew=; b=aBALtO5XfBx/ZCEwK5GvgtjSnl8yljYLUwQG1ov43/4G0sIZvpTwDVMiTwcRk9g/tvMUteXzpjBLuyw6IAyZdq4L09M16fjkJZnYej/2ExBtJQIeUt7Q/feXREOSNRRqxEMJWbFjCrS5WkaxUbVK9ZrgfW+tmrMulcOP4ymDJ3/qStB1Jn8QnxIjSRWWSlQOF+tvj+1FVTl8KJJk56irAP79AU4+iVI/aRoOW7vLC+Xpv4Vutd7ZD7bvJ7P8OCQSyxlcxO5zGCAHcZTELYkJ/CKXRuIY86sgrgI0Blx6A3drvvomYkng3g07XousW/9h7+pN4rP453z1EPTJnT0f1w== 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=EcWoA+SZUjFgpthw1ECd1SKh3/YO/B/IibamRNi79Ew=; b=qrHxXXJcoGR6DUxfqSOE+cKcF7yJmw5fCEGT6hZ+NtI646NXUv9Pdpn3bCagnYq8BRGpQKIGILmLzw1ifiNnQfFPfu2adY6u13vuHR+yticXTT+mNErwR8YVdSkIiHeSXQCFRhCX3YzxY4uVoq86hmG761dLdEshC+29Y2KRmEE= 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 MWHPR13MB7153.namprd13.prod.outlook.com (2603:10b6:303:283::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Wed, 19 Jun 2024 10:08:11 +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.7677.030; Wed, 19 Jun 2024 10:08:11 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 0/7] add trace support for control message Date: Wed, 19 Jun 2024 18:07:47 +0800 Message-Id: <20240619100754.3480077-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR06CA0003.namprd06.prod.outlook.com (2603:10b6:a03:d4::16) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|MWHPR13MB7153:EE_ X-MS-Office365-Filtering-Correlation-Id: c8effd01-1bcf-49ea-076a-08dc9047b99e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|52116011|376011|1800799021|366013|38350700011; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?6Q6sofT50GYveLafkPtoSvo/CaJIaTiAR3xyAMB8Rnsf0hpCQiqE2GveyDWb?= =?us-ascii?Q?Z4EPd1d87kyeL+YhkC8+xomd28F2oJPKKDHZDxWdZET53KSjt6otIV+Q+nfx?= =?us-ascii?Q?iZclrQ0J16HixtYfTpSPc3srtx//O37ld0iFGZiijLjiJURH2kt7SeuNpiYN?= =?us-ascii?Q?MFj2TYWrq2nbA32bVXua+6x1HQxagw5t8ENGQnNe7jiJwfZLBJUuVl7VTFTL?= =?us-ascii?Q?z3F43ty32jfGRRL36+30dU4ppMs8fSdxPkOeh56iWOjNAAZNSI6fiabudx9U?= =?us-ascii?Q?fv1t6LD+D62oicG+MS01VVqJfJmSxk8qimVp0CDMpd1LVw/2cVU+Ua0Mk9VZ?= =?us-ascii?Q?LRLpCIbd5Xdi5we44GyuR+INIkeMh4N7E7DVbddLNZ8tHKGexm/VE2wMfzhw?= =?us-ascii?Q?co4JCfLTI28RoMvHEqm0QIlK+vhE9Qig9NYLzF14ADld4HLFo9W+sMbyRaao?= =?us-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4QKOeNrBLwRND5?= =?us-ascii?Q?s4Zy8iw=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:(13230037)(52116011)(376011)(1800799021)(366013)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?paBxn8++HkfMQNEQpw6P22fqZQJA8U15B3CE074g3g6UETzeDtJr4h6kbiMP?= =?us-ascii?Q?3K//xDs/RSdyJq1ncBLFGIxH0T2+mijkB9T4d8zulC3PubPjxOcgO3eBx8a7?= =?us-ascii?Q?jZh86P5uF5qmiWxnjNT7/PiGMFSVwVfznZMQYd6RPpkQ7sLpYbodbCzClqxR?= =?us-ascii?Q?CX5AOFgxmHDD9fUBgBzFgAVV43CiszE92jA07PQsXZ4z2cW1u8wWAsRFqcto?= =?us-ascii?Q?3DUkz6riE7TUfKrATg0s0gpahK7UpRCgImdCtcpLyLFYFdNFJcbXHcTxiisQ?= =?us-ascii?Q?2VcJxRA6OM65LUFVzKrWsBQcU3rMIyT8Z62vTVBhT55P3Sl4/wxvASJ6qcLg?= =?us-ascii?Q?2km3808cjSEdRdoKg4jQE1YddZ9mM6okMIqbiOf9TFK6qd9KJLnYiMeyfgJf?= =?us-ascii?Q?Vrqq38G9eYw3+LbP8tj1vKZ961iPnhvM+l0I8yf6K+gDvr1DmnizfS2xWEkz?= =?us-ascii?Q?Ix2+sRRdggHnqmuLc4T03GPcV1J91+8FxRrcpyBRzEc0wmInBxO47Tx0UvNp?= =?us-ascii?Q?ukiurxQpEjTQphqisjicIaRGY/LFb733bTrVg+/Qauwa/eo8P/uvgmg2gBot?= =?us-ascii?Q?S5PaCt5f5Ry2lRr30O2ODZIvHlhxcOhdQSB1PvyTaSohIIFTF+dI7Cgc9lSX?= =?us-ascii?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hJu9CF?= =?us-ascii?Q?2IoOsjs7CtN8akwE1KzopN2d20Aw6As4VxHCIvGj2M4xRWYwzVkHinlHaaoN?= =?us-ascii?Q?7A=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8effd01-1bcf-49ea-076a-08dc9047b99e X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2024 10:08:11.3959 (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: RDfFM0UW8p6DmVIPJkX+pwyVm8yQTC1KupX9c7NZtf3pvMxGlNINx6UXNsgtwxTAqaG6BIu8n47zhC/3hHn9KHQG34mm3s+Uw/KaW/6nADM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR13MB7153 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. 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