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 9E323426D6; Sat, 7 Oct 2023 04:35:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2664740ED8; Sat, 7 Oct 2023 04:34:19 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2093.outbound.protection.outlook.com [40.107.93.93]) by mails.dpdk.org (Postfix) with ESMTP id 4486C40E03 for ; Sat, 7 Oct 2023 04:34:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O9qiwG7XTqtkuatz4mKBZMs0kqgipE8ejNerpC/Y1zMDcvii/2/bmNlqcEmbURCkCT9Zc09EDIyaIN5KsHa7YZrxO5i315BURHtHT1GMv+gqaCG7hm5jjUV1aLQd0n3Vc2dZLh8xpOWuHGTJnjIK+jyJE8tPJe/jx1iJhLYe9ZSe9JGFzvhdX3NSSV47ruRQxvF9L/9kWQ9tUzvpXx9NH9o9prHIzs05FtIyFWNiF6gxQY7KmImM+RqyGAoLduDHs+8aDwDsfmYf8WOZ5eJktvvNTQI3o4922jO9qCLxablinH0OgC5WprJO7UzUxlQACvHZGf+cb2s8cJ0ndmBANQ== 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=/yjy/upysLcxNSVQ6OgVelZ6xwI5GrD2V5p9c3n+ifs=; b=MdnPnHgleL6INJVrGcELbBCyxhWt0exz0IRfKRQ/h2Q7aoes8qpHo/gXpHwCcD/ipHxkD+5CmWRDpxFEEBOJNYAr2BlYn/Fi8CG1Dllgcs9TGrRZa+bhGRZIjWUj2dPwpwlSAURAngNiWeIIDh57XQysKOUv8EJgeeqOZLYxaOusCaLFjRWTpNs8+eq0tPxJ3Wv69Nko8XAF+PqsmIHgtA8Puw5/dgGws7uCeS5ZEcFb4ANKkafJFiS44NO8+3pUN81AFZiAadFIZxcfcDfwpqvjR44ZaCC+BQkH9caUOCi6+nR+MVBgTxRghq+vZ4h59Z/V+7so6Jz7a64cWYiO+A== 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=/yjy/upysLcxNSVQ6OgVelZ6xwI5GrD2V5p9c3n+ifs=; b=AqWL8o5nfbZ1sg8FrVYsB2HqppXyT7v4HhvwKvskgr/ih2Qz5gocgSRNgAUQsOjBW9tg/1drV3c+VbfB7z/qSViM32up9GTqt7VaXzISdnmIQx6hGdrZ7WFk1uiI6epWxyXhGKnQHaVYVWCWFqETT0HHB96Gk0nxvGjWJ0SypUA= 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 SA0PR13MB3936.namprd13.prod.outlook.com (2603:10b6:806:97::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.38; Sat, 7 Oct 2023 02:34:13 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::28c0:63e2:ecd1:9314]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::28c0:63e2:ecd1:9314%4]) with mapi id 15.20.6813.027; Sat, 7 Oct 2023 02:34:13 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He , Long Wu , Peng Zhang Subject: [PATCH 08/11] net/nfp: unify the guide line of header file Date: Sat, 7 Oct 2023 10:33:36 +0800 Message-Id: <20231007023339.1546659-9-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20231007023339.1546659-1-chaoyong.he@corigine.com> References: <20231007023339.1546659-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR03CA0212.namprd03.prod.outlook.com (2603:10b6:a03:39f::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_|SA0PR13MB3936:EE_ X-MS-Office365-Filtering-Correlation-Id: 19139734-4192-4e2a-d346-08dbc6dde4fc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SelKBo6aXpzHAO669WdCvzGmQarAQyxLHEMACCaTl5Dfybb5B6QG7Q0Bv7aVtDsY79TsPt0BfCOZ3wriesQhiIP/0U7nHX3hxIW6A55hXw336QgYEf3RZD+1Ed6STbx4kk2tLCm0TrDFnUFHjmF6djAiy0UcU3ieyiNMNrBCAZCC/KtdvveSv/AiSa6k3yIAbIhGGPN37+sPUpEfLrUTXuokmv/wUGjoWB8uplM2oOIaoW02RBX7tcb7QKLvRq+MWqEJVG/0RiVd70MzeLRnwCoO5lN+jvjT2RhMVoRCAqig2Fof91QSKZe0f5x2oyChpAU5GBWDT8zMDqni1FxMJDp1EYieInLsTokXuY+bwfECXzh/s/nYYtTyyY+i6B82N5CzN05RxzYBSuhNyS2B8zChzvN9KXV/LDk+F4k+0UZvlA/R60H/Cz/eBs8QjTEgCfwIBVa8DCpl61Kly+a9ogRJwEPCFcXnEUslMOWej4pwVgaN2NNMKGhKQt2LAl9DBEz8o25JWVNtaWLH6aOCbJfEbA7zUU6hY7UEkFs47rhNOMqHXsDNNZf7gCvvNKm+g7Px77F4b2WuSt6w0lLBKmoBSEOlbxrpOLBoNcTlfbBpeiskGynqX+IzsZtdnGN+7blpe5wYIvVtOu0ga67XsTHkzPgHHYTuErKHNaJ5fdo= 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)(366004)(376002)(346002)(396003)(39830400003)(136003)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(6666004)(6506007)(52116002)(6512007)(478600001)(6486002)(26005)(107886003)(1076003)(6916009)(316002)(41300700001)(2906002)(44832011)(66476007)(8936002)(5660300002)(4326008)(54906003)(66556008)(66946007)(36756003)(8676002)(86362001)(38350700002)(38100700002)(2616005)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?876e0ex1wN9/DUkdSzOMnUg8aCz4r+C8/F5iWw4dCNpEiARqr4hpCBpqmpzR?= =?us-ascii?Q?xTbQnSXuT2PSyMm6U9wSc3sxLbkl3Q8DM+8XNEv9N6qVkgQq2dzhxkFMvWkq?= =?us-ascii?Q?JcfrLVNt2UfFYtEgvhLaS/zWWopri/79lGiBqZ/7txmHn2yA6jzB1x8ZrQnk?= =?us-ascii?Q?We+6pPz6306KwY47e3X+6k8vr7zV+sfEzc1PUXPILGUT/N8SeR7oZm5/VAQ2?= =?us-ascii?Q?zhbxDBLW9Tpt3L8oYjsFa9jJowAaSqsELuc8e+RvXQaSXnlWjalArVlNct6N?= =?us-ascii?Q?oX2hd8PeHpC/XHZMdFlywdGEkSLn7u4qPY7q7xBrp0ifYA56WGTnXoEoUTWA?= =?us-ascii?Q?YRknXSYJZQwsie9AqJdA7EN0GGYKiJONXY7z/LTnQ2TJppdBngHyH4Odi7lU?= =?us-ascii?Q?aJml8hy8U4dmUlgydVU4AZqXooMQlCaIIhtTeqtONKssmI5KvJoOJIEh+AHZ?= =?us-ascii?Q?SzivquoT0bfIasQEF4IseVOJaoEAqw6biZ1ydvniXmQ8U5KD85AkOKi8UKxa?= =?us-ascii?Q?HXnuYGD9QrmCTKw97S/QZo6d6M9ygyWREoXQCqAu0gKjAX78+XWs9lUmrX/d?= =?us-ascii?Q?s34NyfkB/HDqsgwoIduPI/j2gPZzzdXuKutELZ0xKfmJWAza/+xlLli/+zwS?= =?us-ascii?Q?zIiMl8L+P2uO8QuV62q2HxxbpX8e17P0AwHrU39mSY5pwhzqFTl+94V2lNN3?= =?us-ascii?Q?O4uTJyY76RF/fmb5uVJtUV95cwcVrHOSbpstCRRSqnrKmsRJmClXrYNRKG93?= =?us-ascii?Q?+3UPBjx0IF8TCbw/zDFcCp8p8mHn/FXif0h/0TVKevt0N6YtIJNj9jmFWc2P?= =?us-ascii?Q?xmmkn5DwEpDUwvoPeROJjzzWeuEZ2aFIMeb7JlzJrSGIsWfkjEqP6uexcxqu?= =?us-ascii?Q?8R8XLqa5fzzthZZUKB4Zh3lu2ZkQsf0ZTn9VaeMRLrHceKG9QJ7SfAhG59WE?= =?us-ascii?Q?5lVwXmMtrUIWqQIT8dolqOCI7yjeKZVUibGmHWdmZfuq8khICHMYUlWUkDSH?= =?us-ascii?Q?xvEkyUEZlin7nS2FXh+GdXynL6tU0HYpUotPN2gw8LW5LfhT7vgaar8J9iPZ?= =?us-ascii?Q?kCpYO6JQsH4d7Hp+NZsYCzAAFHaZTzxnsK9L2IOn3a5C4u38ldd84XEvyjGU?= =?us-ascii?Q?F+h4kMJz2CLy7mHl/9JkGjn7qoNV5LkhyyKLw8g+6VE8xYOXgstTBf1AKGCF?= =?us-ascii?Q?z6TRdTKcOfB0wolA3VcyL5HLpZ7ZwuawzMtwZc9kC4lsjlGXi82OR3WIAn4P?= =?us-ascii?Q?VwiG3CeBksf71IfYYWisHqS69L1FHm5UxTsv0n4guzPI5WVjErfaclOhsuMb?= =?us-ascii?Q?tAGT0wsjmswNRrvMq7j7NgYcg+1OYjrXUHV76SnaBkKvYf+4XyOoVIeaRvMN?= =?us-ascii?Q?9P1gTECBG9cStDQ78bLhRSYR8kKm+h0PWLNq+SKhXf52m+aAkwZL3Ita2/uH?= =?us-ascii?Q?MvFjYMpaTb2JCqu9WkHTt+Fd/bb/JdrXLI+2btaq5glQhaBZmnFv/i5TYnrQ?= =?us-ascii?Q?4VGlSgV1DUx0VTNPSEzdqJGDAI37zu/XC/s8wELVFd8GUsMMxq+FMD5EiTAU?= =?us-ascii?Q?7nqAZvFB1k4brcdGbpkOSXKlnAm88lt45aWdzTMDskVwZ7AlJsSZONx8mrIC?= =?us-ascii?Q?UQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19139734-4192-4e2a-d346-08dbc6dde4fc X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2023 02:34:13.7642 (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: q7GNi2wPZYQju4qzmb+oQbOmolQCV4k2HosQWzlV4KHTCxNtttnd8AG8PGWVFqmNXZNR/RklOj7lb1+jgTQgFK665dti0uI9Gcofhi0Nu6c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR13MB3936 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/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 +++--- 11 files changed, 33 insertions(+), 35 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/nfp_common.h b/drivers/net/nfp/nfp_common.h index 27dc2175e3..11eda70f1a 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 ef8bf486cb..71fe125420 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 5a5b6a7d19..d4bde0a294 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" @@ -164,4 +164,4 @@ int nfp_flow_priv_init(struct nfp_pf_dev *pf_dev); void nfp_flow_priv_uninit(struct nfp_pf_dev *pf_dev); int nfp_net_flow_ops_get(struct rte_eth_dev *dev, const struct rte_flow_ops **ops); -#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