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 A65D94236A; Thu, 12 Oct 2023 03:28:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02D8640DCB; Thu, 12 Oct 2023 03:28:06 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2126.outbound.protection.outlook.com [40.107.95.126]) by mails.dpdk.org (Postfix) with ESMTP id BBA1B40A73 for ; Thu, 12 Oct 2023 03:28:02 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RD/fahZisaE2nZ6Bizy3BQ3w11omVypjud+iTsb8cojMQ7eiB4ojNq7Ymd3iOYTpQIDJvKKsDY0mFnMdHSgJRfTk/jZFJAfEbzFta7hQ6EG39C8spQRSWxIOOhhq1voP670CVrRL3+JzAMmqd/GH6oYtuXio34NNUwpFe3QuR3FdPZuk0TPn47Ml45BHfkpmsPF6pqscLbHmN5/AQ+VofOhTlqYvSt4CTnDAt+WgHtLl8YbKpxzfv1UDH0II2Md4YO4JimjIf9901WcnoLWBTEew2eoTnMQvNVo/HfQSrRQ9DFRnxFCe/8xSBDpWGLC6Z4GnDqr35Ea7AE+Q9Hod8Q== 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=OKdm9q29UwNITI1kH/NMoz/ESgLMAXQvxxx+7SQgrDI=; b=JGNWvB2anB/ZErVscu0uze8o2uMDS59l3L0Do1oN/W55CgOuIGy18kxbH8gl5Vt0r/u3IC5nXfqjSBf7YsuacmKxJTk2K+zqA2MkN5ruXAnJkNX7pnSH8x2Wze2w4ClHvzY0WVAh71XY47J8Se058EUmWetSCvblzYvlOoXdosb5mMnshKWJxX9NbqAFKeMhcV+u7XIMTeSxtF6V4P3/7U8tuVtKgFhI5B0bawKTYFGQIoYPqDqCVC1Vv2nnOMmHw8xrOvcW+lDMhEjYt6vniU3Yqej67bDcVe3TzXDk8TjDgDvGuOPBm8tdklXXdI1JZ5q0Nyeqe3uxfhKZUbmIuA== 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=OKdm9q29UwNITI1kH/NMoz/ESgLMAXQvxxx+7SQgrDI=; b=rZNXcpwgxwIIe6R6WDGx7wytMQBJDb8E6nL45sT9CvVeT0V15xhlBlXJHR2rrSYBOIdd5dF9WRWHXCISRZBnUB//5l2hxaH/RfQfCBC2xWHJsTi+4aZaQO//2RMbZLTYP+4jBDv5dZBafxVO8TwaGE6VBVOaiNlpMFLhRtY6LG4= 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 SJ0PR13MB6111.namprd13.prod.outlook.com (2603:10b6:a03:4eb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.42; Thu, 12 Oct 2023 01:28:01 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::2d5:f7d6:ecde:c93a]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::2d5:f7d6:ecde:c93a%4]) with mapi id 15.20.6863.032; Thu, 12 Oct 2023 01:28:01 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He , Long Wu , Peng Zhang Subject: [PATCH v2 08/11] net/nfp: unify the guide line of header file Date: Thu, 12 Oct 2023 09:27:01 +0800 Message-Id: <20231012012704.483828-9-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20231012012704.483828-1-chaoyong.he@corigine.com> References: <20231007023339.1546659-1-chaoyong.he@corigine.com> <20231012012704.483828-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: PH8PR15CA0015.namprd15.prod.outlook.com (2603:10b6:510:2d2::23) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SJ0PR13MB6111:EE_ X-MS-Office365-Filtering-Correlation-Id: 45a24cbf-ebb5-4512-169b-08dbcac2794c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UUknfzuqBEQHLL7fr4ikmlRZz7Rd4dvE6RK9hQfu7GybPCODco2fdRBoqeLfY7eDsA7PcnKqKFVTG/dnT+KB/6Yvy6z7afcYyAQtv8XVJyIMj+zfC37VnJMKMd8ehJEBCiK5XPKCOgtPgUjXA9npgtZLzbqRG9hXpj3z5HboFvC5a9CgGQxfK0m1BpeTXlF+TkUxcnrAw8JrQhdZ4AGL1mGhashSzNDBPZ4JXuysqmpyPlByBie68qd+U3PAlHYCSRz8jFFJ7lqC7Tjhkzc6ZWX2Q+CkJf4fUNSrul5pqI12fq40yGsyq+V38QY9wVCHx4XfQG2oEsmQI/uUGNbtLshTuN2bLCsnq0Q4EHDz0iApIZ/H3KV8nkfogloFalIK+3+pSY/4fottjGV54RLpWxUAxufuWxiqfpA4vrVUd5y5HK6fOBFmJ6dx2eehqnpsdHAts7TzguGhwz/DW8nwFxKvEqpvhRRWJQz92EVZCDnR+Z59gqBJ172TNO06p9zO2nYwGqnmJTZKIrJwkCDwx+YCJFPJFpIguWe++D/YECxXoysccOGnM4IEWIpTNWsrUPI/rtWLWfCivPvujRjaPWWUxoFIcIsb2RY7j+XY3Ypc2KP9jRRXUGvU+kG9kXWbgGtZKe3O6aVcDlyAQfY2LCrKPVawHofmuqsqYJpKqZk= 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:(13230031)(346002)(366004)(136003)(376002)(396003)(39830400003)(230922051799003)(186009)(1800799009)(451199024)(64100799003)(6512007)(107886003)(52116002)(1076003)(2616005)(6506007)(478600001)(26005)(6486002)(83380400001)(44832011)(8676002)(2906002)(316002)(54906003)(5660300002)(41300700001)(66946007)(66476007)(66556008)(4326008)(8936002)(6916009)(36756003)(38100700002)(86362001)(38350700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?B3u9FyQnA/7kHCjmWmO2MO1UsTrdPBeQQFZk4Cvp4dMaZybP+NjZgSofl+uc?= =?us-ascii?Q?J+8eJDb4afYWb+hb3VdVBJxzZJBjqpDqbyrNegXWeTTbdn8uBdg/6dFtRA8/?= =?us-ascii?Q?S7wLan/GzmM/7l+0qaOr8V0TZkoBF+5V3/PiuFeNyUW5DdOLPHPWMFrWH5XI?= =?us-ascii?Q?ax0Kh1U1nFH7zcHGigllSboLKWZSpZtNhd5DymBZbIm7k1DOVIO2kteax/mT?= =?us-ascii?Q?LNKJKUA91tsHz0+EhVLQcoSG2doQoCquonP3dBkKM1OLOW3oCByRC1AfcsXT?= =?us-ascii?Q?YXFi35124f67vXRuqLEJN5ijzfeQHl3tqBVxrVqJ/cYAQe4iOutKSPrn204k?= =?us-ascii?Q?wQd8oRW7CWTCcQa5Fj/T5DTqRLfPcjRpJojqIZpvrKjJpfKkm9bDgusiB5NT?= =?us-ascii?Q?xTVSGw6YjwuRcT3YRqkBmF0XmE5p52cU/Pd8MJ6+goULCyGwdiGKInaIZKMX?= =?us-ascii?Q?RxoAYep1p4xsOM2qMLh2bl3ysfarzCon9wWdKb/eLbZzpzli1cPP9jXvOLy7?= =?us-ascii?Q?t+J08VEYeiSQ5p2AheYQn0P7x7qgNudbNMkH/KlxAzTneJMvFTPEYxMs+Ruq?= =?us-ascii?Q?tYiH7+5i2zM54RF7ypyv5k+zBHU1oxEFMYjYZbpLM9gie7c4cA/xml9fp8OK?= =?us-ascii?Q?ckAfHb4iQkRjkpPOqkR+/DW9IsErR8bVsUQaf02goYiUhmz4c1Oviclo0++c?= =?us-ascii?Q?zI3cHPAm6V38uegVrt+euSKq71Rtrnx81zgPW0fMc8ikbQX2OUYlLbgTkWO3?= =?us-ascii?Q?epS0Sbt6x1coeRebxbcI/7GDDUJ+n1qyNgol30llvPq5GX1Z0Jj1O1lsPIMJ?= =?us-ascii?Q?eWM8Qbdevn44PWB7/y2o3WkQKoLEGHz60b20Ttcaq6AleNeXd9LBr1fiEjtv?= =?us-ascii?Q?wVotCvC3mdRD8M4rJ0+z2kQeTDEPhwjgYqzlAGwgRgu4B98DW2wn7ZRR2A36?= =?us-ascii?Q?U6TNCb7y2wCF/ZResp1s4xMW1N+vF1AeZmsX2KZal6yMrAW/mMyOcDMHa+sf?= =?us-ascii?Q?VgfOUIy4/We5Si7pd4yohNwZya+GwAfyQz9HT0mfgMMM2yMcnq5HKX7nMP2X?= =?us-ascii?Q?Jr6TZrCzk/y3jnTmITlQyaQRaJYOGbQ7wGWCUqHa9xoWYDT3FYDi4Fzn+Tk2?= =?us-ascii?Q?t1RyGV0xdhHdZB7QwPZ9AQKYT/bp4T6I8uBDOgZot4F8MqszrrEP5rG7Df5h?= =?us-ascii?Q?kW7SIvne14z6MObCKqzsuTTzar/wg+Xl+oE0lCt0LQyxNDN6T7Djeva4j31s?= =?us-ascii?Q?9PYY74xj6eIkV6Vq/dsZTnSA0GZYAfINs6cDCbVEHX8UyRrbnmE8n8CCXZxr?= =?us-ascii?Q?XhdA8vsx1rF+azDYgXL6086QfQTTqHfHjdw5fvqR3a/2Ji8+GFg+RX8Y1h9q?= =?us-ascii?Q?DwlSPTSO13zOqPUxAUaBNuAXcew6iNzGo3lF0E/AOjLfPqqp36dTXGrVzNoB?= =?us-ascii?Q?CBmGuuBFUVYu4TKNkosiHWSPGI0/g2uVCLFVwz+CHgVC6vmY7Pr0d4ehEG9+?= =?us-ascii?Q?aNVNMYa3otKsGkGDeR1YBacOAU+OwIHuXmUHWOJoaxFTSHYadpysvx6GJPOw?= =?us-ascii?Q?RUiSs2z4a0tvqMAq/LHcr7vxKcwr0j6hrlYT6kfeGV2aCfmgEjMm/exqc29S?= =?us-ascii?Q?UA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45a24cbf-ebb5-4512-169b-08dbcac2794c X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2023 01:28:01.3401 (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: PKWLjcfAfZ4YtFeysaq9QZ0VWhILik5FUnQbzRhLs+nWcEQ58QeBKxDE/71KvWPQWMWDQQJVPZV5hTQE1NwC6ekf1jLdkJlvaZQkfDEAzZs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR13MB6111 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 Unify the guide line of header file, we choose '__FOO_BAR_H__' style. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower.h | 6 +++--- drivers/net/nfp/flower/nfp_flower_cmsg.h | 6 +++--- drivers/net/nfp/flower/nfp_flower_ctrl.h | 6 +++--- drivers/net/nfp/flower/nfp_flower_representor.h | 6 +++--- drivers/net/nfp/nfd3/nfp_nfd3.h | 6 +++--- drivers/net/nfp/nfdk/nfp_nfdk.h | 6 +++--- drivers/net/nfp/nfp_common.h | 6 +++--- drivers/net/nfp/nfp_cpp_bridge.h | 8 +++----- drivers/net/nfp/nfp_ctrl.h | 6 +++--- drivers/net/nfp/nfp_flow.h | 6 +++--- drivers/net/nfp/nfp_logs.h | 6 +++--- drivers/net/nfp/nfp_rxtx.h | 6 +++--- 12 files changed, 36 insertions(+), 38 deletions(-) diff --git a/drivers/net/nfp/flower/nfp_flower.h b/drivers/net/nfp/flower/nfp_flower.h index 0b4e38cedd..b7ea830209 100644 --- a/drivers/net/nfp/flower/nfp_flower.h +++ b/drivers/net/nfp/flower/nfp_flower.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_FLOWER_H_ -#define _NFP_FLOWER_H_ +#ifndef __NFP_FLOWER_H__ +#define __NFP_FLOWER_H__ #include "../nfp_common.h" @@ -118,4 +118,4 @@ int nfp_flower_pf_stop(struct rte_eth_dev *dev); uint32_t nfp_flower_pkt_add_metadata(struct nfp_app_fw_flower *app_fw_flower, struct rte_mbuf *mbuf, uint32_t port_id); -#endif /* _NFP_FLOWER_H_ */ +#endif /* __NFP_FLOWER_H__ */ diff --git a/drivers/net/nfp/flower/nfp_flower_cmsg.h b/drivers/net/nfp/flower/nfp_flower_cmsg.h index cb019171b6..c2938fb6f6 100644 --- a/drivers/net/nfp/flower/nfp_flower_cmsg.h +++ b/drivers/net/nfp/flower/nfp_flower_cmsg.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_CMSG_H_ -#define _NFP_CMSG_H_ +#ifndef __NFP_CMSG_H__ +#define __NFP_CMSG_H__ #include "../nfp_flow.h" #include "nfp_flower.h" @@ -989,4 +989,4 @@ int nfp_flower_cmsg_qos_delete(struct nfp_app_fw_flower *app_fw_flower, int nfp_flower_cmsg_qos_stats(struct nfp_app_fw_flower *app_fw_flower, struct nfp_cfg_head *head); -#endif /* _NFP_CMSG_H_ */ +#endif /* __NFP_CMSG_H__ */ diff --git a/drivers/net/nfp/flower/nfp_flower_ctrl.h b/drivers/net/nfp/flower/nfp_flower_ctrl.h index f73a024266..4c94d36847 100644 --- a/drivers/net/nfp/flower/nfp_flower_ctrl.h +++ b/drivers/net/nfp/flower/nfp_flower_ctrl.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_FLOWER_CTRL_H_ -#define _NFP_FLOWER_CTRL_H_ +#ifndef __NFP_FLOWER_CTRL_H__ +#define __NFP_FLOWER_CTRL_H__ #include "nfp_flower.h" @@ -13,4 +13,4 @@ uint16_t nfp_flower_ctrl_vnic_xmit(struct nfp_app_fw_flower *app_fw_flower, struct rte_mbuf *mbuf); void nfp_flower_ctrl_vnic_xmit_register(struct nfp_app_fw_flower *app_fw_flower); -#endif /* _NFP_FLOWER_CTRL_H_ */ +#endif /* __NFP_FLOWER_CTRL_H__ */ diff --git a/drivers/net/nfp/flower/nfp_flower_representor.h b/drivers/net/nfp/flower/nfp_flower_representor.h index eda19cbb16..bcb4c3cdb5 100644 --- a/drivers/net/nfp/flower/nfp_flower_representor.h +++ b/drivers/net/nfp/flower/nfp_flower_representor.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_FLOWER_REPRESENTOR_H_ -#define _NFP_FLOWER_REPRESENTOR_H_ +#ifndef __NFP_FLOWER_REPRESENTOR_H__ +#define __NFP_FLOWER_REPRESENTOR_H__ #include "nfp_flower.h" @@ -24,4 +24,4 @@ struct nfp_flower_representor { int nfp_flower_repr_create(struct nfp_app_fw_flower *app_fw_flower); -#endif /* _NFP_FLOWER_REPRESENTOR_H_ */ +#endif /* __NFP_FLOWER_REPRESENTOR_H__ */ diff --git a/drivers/net/nfp/nfd3/nfp_nfd3.h b/drivers/net/nfp/nfd3/nfp_nfd3.h index 0b0ca361f4..3ba562cc3f 100644 --- a/drivers/net/nfp/nfd3/nfp_nfd3.h +++ b/drivers/net/nfp/nfd3/nfp_nfd3.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_NFD3_H_ -#define _NFP_NFD3_H_ +#ifndef __NFP_NFD3_H__ +#define __NFP_NFD3_H__ #include "../nfp_rxtx.h" @@ -84,4 +84,4 @@ int nfp_net_nfd3_tx_queue_setup(struct rte_eth_dev *dev, unsigned int socket_id, const struct rte_eth_txconf *tx_conf); -#endif /* _NFP_NFD3_H_ */ +#endif /* __NFP_NFD3_H__ */ diff --git a/drivers/net/nfp/nfdk/nfp_nfdk.h b/drivers/net/nfp/nfdk/nfp_nfdk.h index 04bd3c7600..2767fd51cd 100644 --- a/drivers/net/nfp/nfdk/nfp_nfdk.h +++ b/drivers/net/nfp/nfdk/nfp_nfdk.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_NFDK_H_ -#define _NFP_NFDK_H_ +#ifndef __NFP_NFDK_H__ +#define __NFP_NFDK_H__ #include "../nfp_rxtx.h" @@ -178,4 +178,4 @@ int nfp_net_nfdk_tx_queue_setup(struct rte_eth_dev *dev, int nfp_net_nfdk_tx_maybe_close_block(struct nfp_net_txq *txq, struct rte_mbuf *pkt); -#endif /* _NFP_NFDK_H_ */ +#endif /* __NFP_NFDK_H__ */ diff --git a/drivers/net/nfp/nfp_common.h b/drivers/net/nfp/nfp_common.h index 5439865c5e..cd0ca50c6b 100644 --- a/drivers/net/nfp/nfp_common.h +++ b/drivers/net/nfp/nfp_common.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_COMMON_H_ -#define _NFP_COMMON_H_ +#ifndef __NFP_COMMON_H__ +#define __NFP_COMMON_H__ #include #include @@ -450,4 +450,4 @@ bool nfp_net_is_valid_nfd_version(struct nfp_net_fw_ver version); #define NFP_PRIV_TO_APP_FW_FLOWER(app_fw_priv)\ ((struct nfp_app_fw_flower *)app_fw_priv) -#endif /* _NFP_COMMON_H_ */ +#endif /* __NFP_COMMON_H__ */ diff --git a/drivers/net/nfp/nfp_cpp_bridge.h b/drivers/net/nfp/nfp_cpp_bridge.h index e6a957a090..a1103e85e4 100644 --- a/drivers/net/nfp/nfp_cpp_bridge.h +++ b/drivers/net/nfp/nfp_cpp_bridge.h @@ -1,16 +1,14 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2014-2021 Netronome Systems, Inc. * All rights reserved. - * - * Small portions derived from code Copyright(c) 2010-2015 Intel Corporation. */ -#ifndef _NFP_CPP_BRIDGE_H_ -#define _NFP_CPP_BRIDGE_H_ +#ifndef __NFP_CPP_BRIDGE_H__ +#define __NFP_CPP_BRIDGE_H__ #include "nfp_common.h" int nfp_enable_cpp_service(struct nfp_pf_dev *pf_dev); int nfp_map_service(uint32_t service_id); -#endif /* _NFP_CPP_BRIDGE_H_ */ +#endif /* __NFP_CPP_BRIDGE_H__ */ diff --git a/drivers/net/nfp/nfp_ctrl.h b/drivers/net/nfp/nfp_ctrl.h index 5cc83ff3e6..5c2065a537 100644 --- a/drivers/net/nfp/nfp_ctrl.h +++ b/drivers/net/nfp/nfp_ctrl.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_CTRL_H_ -#define _NFP_CTRL_H_ +#ifndef __NFP_CTRL_H__ +#define __NFP_CTRL_H__ #include @@ -573,4 +573,4 @@ nfp_net_cfg_ctrl_rss(uint32_t hw_cap) return NFP_NET_CFG_CTRL_RSS; } -#endif /* _NFP_CTRL_H_ */ +#endif /* __NFP_CTRL_H__ */ diff --git a/drivers/net/nfp/nfp_flow.h b/drivers/net/nfp/nfp_flow.h index 991629e6ed..aeb24458f3 100644 --- a/drivers/net/nfp/nfp_flow.h +++ b/drivers/net/nfp/nfp_flow.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_FLOW_H_ -#define _NFP_FLOW_H_ +#ifndef __NFP_FLOW_H__ +#define __NFP_FLOW_H__ #include "nfp_common.h" @@ -202,4 +202,4 @@ int nfp_flow_destroy(struct rte_eth_dev *dev, struct rte_flow *nfp_flow, struct rte_flow_error *error); -#endif /* _NFP_FLOW_H_ */ +#endif /* __NFP_FLOW_H__ */ diff --git a/drivers/net/nfp/nfp_logs.h b/drivers/net/nfp/nfp_logs.h index 16ff61700b..690adabffd 100644 --- a/drivers/net/nfp/nfp_logs.h +++ b/drivers/net/nfp/nfp_logs.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_LOGS_H_ -#define _NFP_LOGS_H_ +#ifndef __NFP_LOGS_H__ +#define __NFP_LOGS_H__ #include @@ -41,4 +41,4 @@ extern int nfp_logtype_driver; rte_log(RTE_LOG_ ## level, nfp_logtype_driver, \ "%s(): " fmt "\n", __func__, ## args) -#endif /* _NFP_LOGS_H_ */ +#endif /* __NFP_LOGS_H__ */ diff --git a/drivers/net/nfp/nfp_rxtx.h b/drivers/net/nfp/nfp_rxtx.h index 899cc42c97..956cc7a0d2 100644 --- a/drivers/net/nfp/nfp_rxtx.h +++ b/drivers/net/nfp/nfp_rxtx.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef _NFP_RXTX_H_ -#define _NFP_RXTX_H_ +#ifndef __NFP_RXTX_H__ +#define __NFP_RXTX_H__ #include @@ -253,4 +253,4 @@ void nfp_net_set_meta_ipsec(struct nfp_net_meta_raw *meta_data, uint8_t layer, uint8_t ipsec_layer); -#endif /* _NFP_RXTX_H_ */ +#endif /* __NFP_RXTX_H__ */ -- 2.39.1