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 3EC8D42354; Fri, 13 Oct 2023 08:08:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20DC440698; Fri, 13 Oct 2023 08:07:46 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2122.outbound.protection.outlook.com [40.107.220.122]) by mails.dpdk.org (Postfix) with ESMTP id D01C440A80 for ; Fri, 13 Oct 2023 08:07:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SmUgvEr0aV50TEGaSaHbUEI5DBX8COz84u+3OUIf9+ZYxIC+HcpPnbsgqP0bH2ZkwlqzfZcpNWujzZQu+wkLRkyKjKR3gm8UQ6XgFaemFL/4gkCe9h2I4MfJ/JGJ3RAm7wiSngr3Z+892BE5AbCc8fcJ6exv8vfIMEqXYB4QAUqvo4QyFqc+/gZr7D93GZmpaZap8lEFdYn1kR6WNunS3LOeJ4+LQkduoTRIND9Mf3l/LYxdUOVM09wHO3KtPrpvEz3Axjr3N4e5cnD/kIxmB3stIJwZv1a57rbFoTuVGhZVGL+ZyR59aLxB/+OmiOeIyax/Vnhy3R8NVu6nw4lhNw== 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=iOzkl61UnzXhv3YKQ6pWDw3gxwB9v2NhAVZmyYx8sK1DFjZDhlsTfV6zN2Jb7edju3fUmU3bdOp1g8R9i4s675RsA+sY+cum17uxd0MxRnCQkajI1kMIZQDvmaAA6lIjGYo5GW+ZuXSMsQ0RVIWXd700klOl6uer+kwo7lDmYk6UT0uTNR3hcyCttHWfhCtyoz+41d+CAQ0Y+dfF1JItZnI9iPqGsw1dKxO0mmISvuB7sjNMR2W3l8Uw8m6ZH81rYOJ9NZPThKLXjB3OcLOvo5I0CnEkNKPMSf4D1sWpdBDvy146Ruk52+slcmA52FUfukrH5H/uJTJ3602UCBVrjA== 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=cxhvkSxWpKoGuD6/qRjrk+8IxoVkqrIlNGWBFA0CKu/MpfHVGc/ge3shvC7Vel1GWCduC+RPCweYp2+An239HA3qKQggfWmjzm9yDcbZFyuAxdrVlKuvv04Zm8ETw3fiBAxKl6Juklp78d75JzQi7M1zDjWn94Ol2NGInsftsss= 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 PH7PR13MB6296.namprd13.prod.outlook.com (2603:10b6:510:237::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Fri, 13 Oct 2023 06:07:42 +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; Fri, 13 Oct 2023 06:07:42 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He , Long Wu , Peng Zhang Subject: [PATCH v3 08/11] net/nfp: unify the guide line of header file Date: Fri, 13 Oct 2023 14:06:50 +0800 Message-Id: <20231013060653.1006410-9-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20231013060653.1006410-1-chaoyong.he@corigine.com> References: <20231012012704.483828-1-chaoyong.he@corigine.com> <20231013060653.1006410-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR06CA0008.apcprd06.prod.outlook.com (2603:1096:4:186::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_|PH7PR13MB6296:EE_ X-MS-Office365-Filtering-Correlation-Id: 07f98a4a-0e03-4a0d-1780-08dbcbb2b5e6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /Lbjqp28bdS6uCbQouqhRajjMJpI6etg1u3aJMKjK5BSqrWDe+dnG9sRsLvFeulf7QY8e72kywRdbzvsGysPJzjFHn3HmUNYh75M72PY+mnjIJ2VO+8kcFXCeu/x78LQrK1Up+sHzdB0+MZkpojXkQDLv/UgGcvSFDu1zfDbEXhNnUuONuktaMO0KZJEcXbXWmFFISqc0ej0A8UzqOd+SU21LQYOMFYivJHjyw13/q5/5kKwHZD91ly56csC2jIYBjpYGaZHh1TCEEKlUO0rSTr8co2/lZdylKzJ+7VTeGxe6jz26T+eP8U4L0YtJIv1DVz+uzRPc7sdTe4pmerG/2nFa9Gqxaamy65f+GHBTLgouXmrBX0V1CnaDOWfDiszCohHt6H3/TVWwI9qo3PUUhBdpd7+ve3nZp5CTbY0I1Ak9ABgBNuCKRkS/UBwhwt7Vqk9GKAB/T+gu8acFO3fbyM4A9jwWJnPaiLGhMW9buUxFxm3BDBnckxYHTxP5nEehlNyE9JBtEqAJfBD3wAvoU+ecTsIAETKUGo8eUJ+2lXvOfhJfzY6Ycd4MnU0JFh5y+mLFPQfSdbcPIEqq8NnbIqZZ43fGV36rSZEbPMTN5qhMpGsEdCBmX6BM+U12rH2PfFDBMu19EhQKAxN2tcNFVzaxxCig1ieRTcbRNN/fhU= 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)(396003)(366004)(346002)(39830400003)(376002)(136003)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(86362001)(36756003)(83380400001)(2906002)(38350700002)(38100700002)(44832011)(5660300002)(8676002)(8936002)(4326008)(6666004)(316002)(66556008)(54906003)(66946007)(66476007)(52116002)(6512007)(6916009)(6506007)(41300700001)(6486002)(107886003)(1076003)(26005)(478600001)(2616005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?NvBcZtfLgzpuTV8C3Hn0BPViYmtVcCsve9lrEmIR+wvXRPAaIUfD3cQu4Hd4?= =?us-ascii?Q?vzEFGb/iYg/HbMsLphsYdUDz5IO11DdklSytMyEFUDVdCL2u/7v+clfcnEsA?= =?us-ascii?Q?KnTYtKiGXbu9mfnzKZ7Tb8xn8QM4F/7T+YcREF7lCOCFQTp0ArAXyhzoaXjM?= =?us-ascii?Q?ERtKkmNaU00Xcj16Aj+CoTdverE9Met6JLQ1IJ8z1yOXVjcJ0CGWGFUO5ezf?= =?us-ascii?Q?IyE5b0NRecFV+ovUge+ZefEmpQXWIBPglaYIQoFr6RWgqOMRIDloFEIDVGpI?= =?us-ascii?Q?lSaZwHWZJBVNtwc+kFatW/LruzxW+NeLwyHLMKLf8PPfSKEM+EV1BAzZBezl?= =?us-ascii?Q?OSRhddOoZ1epc2a5qYr/HD9EvzvPMnvLPg8NkgzWkJWpeXnkjKNi/99xsNCM?= =?us-ascii?Q?nNJ3tahQLJC9br4APJe8hnV50wSmJW/AeRPF79adqeoYy/WS3zYmYUl+aVqj?= =?us-ascii?Q?wQkNKTL99h1wxCJOTanKsx9iunP9Nnz9oly2GXVHwVN1d8UHSWdrbQ/xPDFG?= =?us-ascii?Q?cZr0gqDsitHmfLQuFjGxx+8j/HsD4DSOlDYm65+CgGe/Cp6OjrbtGVLyRikJ?= =?us-ascii?Q?aUYxfD1DycfJ94nc+6/sB1QuN0zaGK8NlTcpLkr7Qw21ZC6BgXYQ7OsRJJEv?= =?us-ascii?Q?JhxXgkfsgghDlxqJYw7zjJ+g4z+76e98ZZYxigmpYD8TqAeBZlzoO3VQT8Kl?= =?us-ascii?Q?Oo1Mqrklb09Al3IoF7u/6HuolCk3jfc1S6qhos+Cvowo6SFZiYpimPX5fyMP?= =?us-ascii?Q?sDE87dUbmN8uptDFz8muII/b8aa2mfCp7a7DeZOBSezp02HG50rFJhEHhPzi?= =?us-ascii?Q?umZXOD+2QwZYvf6Mi+8ntEKd5eTLNHThjwrQmqHAUSyAxs1MZ1XxTp2GERrm?= =?us-ascii?Q?X3N8BXKCeVe00/fClo9AjHI7HgImatI7igw8OZVeRGdMMuSXZaM2SoXIq0V4?= =?us-ascii?Q?CnkZl3dgg6of3JKi2IRw9vqUdNtnLx1q01/A1CHZGFz21q5dYS7w6T8EIOWU?= =?us-ascii?Q?GLDOC4F2aFoYOPv5/z9kfLbAz4fXarm9R5lGdAWZXSb1w7ZpH2QTPJoMBb9c?= =?us-ascii?Q?r48Xg55eQpVB97wfnyJDnkGOvUmkGfprQzY+wthEkssBJclGgd+vcGsmkSCm?= =?us-ascii?Q?FsoxVh6VsTH4A3vogfk+zPwG7I5yYMEADlUqNVnZK4nyGG1oytrqcnohNUgq?= =?us-ascii?Q?jWHjD6yeFW+azfcTAIukLYIX8flVr5nMd8MH1UXBhpXTz+rdLmLod7nHruMa?= =?us-ascii?Q?4677JLY5Jk7LJxDruPoSdPHzy3H2aWHx0wpw9G8fEQiUrYAcnPshxD8L0Q6A?= =?us-ascii?Q?6uc7Gcl4Dfire+FiEtdJljm4ubGHMK9ZUtBTCbvogooAuQV4T9N2x6Cs1wrl?= =?us-ascii?Q?ZahbI2o5Y1C6OsgNCJHaxWcgd41rENH+QtDfUd+QqWlnEwr2G8VIS0SdGNyN?= =?us-ascii?Q?pfxkl4CMUQQmyBubQzR4BMfhPLqVkZpqPK4+ziBuVXQCbmdNlIeMe3Y49uhd?= =?us-ascii?Q?YMbHbm96qvlAHqUUtlXDqlQprvfMSMIm4740H2lDomALyqjsaQSFREKyullw?= =?us-ascii?Q?6lBtOI3fbEHlbZyNpkO5wWG/TTyOrBbjJlnSh2wsxxNmSti6hWL0zWXzRWWE?= =?us-ascii?Q?QA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07f98a4a-0e03-4a0d-1780-08dbcbb2b5e6 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2023 06:07:42.1042 (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: gqrcfw24DjF2OfppsO0RyeaKahuQt245EizdP25rsJyK8fhlcQBP17ruLmaorz6ZifcB/wJ9JGUiJRpaMhpPjCNtlHQOSXZAAVK314H8UWU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR13MB6296 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