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 7A954A034E; Sun, 6 Feb 2022 01:45:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DEB7840DDB; Sun, 6 Feb 2022 01:45:28 +0100 (CET) Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) by mails.dpdk.org (Postfix) with ESMTP id 356464069D for ; Sun, 6 Feb 2022 01:45:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644108325; bh=D7+fEmSn3qkFfzY1ZHjkar1A2F6IlqjgJBXec2de7EA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eHvCkSwEdKlgCXrxFw/QHCroZni9qBrkK83u2E146nKwoWN8I1P69SN+dGGNx+H3R NUAVz0+jSyYqUo1tlxFAseR6PL1m7w2QvJyw8Jcq+hBWopRNU7fLky0+oWG95+tEl+ JtIzgnEGdg+5jSdyscWvbEmux/IfPRgKPJM7AON0= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrsza5.qq.com (NewEsmtp) with SMTP id B0E20ABF; Sun, 06 Feb 2022 08:44:14 +0800 X-QQ-mid: xmsmtpt1644108324twoexlyzp Message-ID: X-QQ-XMAILINFO: NsTWTlXJmKxZNB+H+FA9tiYMv+aJU1IiCrMm13vbKDz28nD5jwnGfr0vAAvj9E wenCJ29zedPSV9a+yoHIFnht5MIyMYoajwCPjSAKh6k063oJprM/3Dfz/pTQ1WzeHTs7yIxI0Hvo kdmNBemKrwOZc2plbnSnw406tsLRQLczyc0XRw2E4Ky88+Px11ZNHKyrgsSmzyzjaMP8MF/0BQ2Q 5KCPYSQlCeYKVrQjJGO4IFGlbUGXoGeQ0N6rnLxGs6VNjy1BLVMDFzijE1i0ImR/3aOxKSeb19Ic k4j8calyT5pyf8XvvT3Ct7mXMdT/ZwlNxaBpKN1ENa+xNgNL+Gvg1+RSjHgmmbRS8OHrbuf16dQO igLGxuqUtETm8OulFLI3GmHpoMJdUA4pe8J5ufTGez+sDSUWhj2QyPBzfsq+3wzAEbIw0r/MGiCq c14KtcU5HB/DAmMkCmlKsvTCtQ9jGx1j4ApCOT/iufL29UKp1oFJTGMjVDfVtBHvMHkglA9v0VQm S5yiAuNfxLuYLiOlbMyKH+bR7/ueE93jY3KSjEXk79cs2UjwxP9r4udWpP6kg5AfpDAs1Vg0nb63 5jW1H6T8y7MfO7x9K8Rojd7gri+DUdnbe0Tnx8FSGnbeCbkfuxq67mu/CL3AzZKVT5TKNy+5SOo+ Eatz04XnQJqESpmDsBhuH0LklN4V4+HuFvQqbZDAjGqISijDMzA0/ATl4Fi/C+3H9ERep+90TZT/ roYeOOcLdzOScCuJRLlcnUFJE/u/R086FUf5dxIBg7jSKEA9kAo2MYOLKj8zwyTJeHxVR46PvJAN brAYcUu4GlsovGlcy21MLXsrc08UQK+KSsepO9EvZzdX5fQcnKUjnFvJGxqlxjr3c= From: Weiguo Li To: dev@dpdk.org Cc: talshn@nvidia.com Subject: [PATCH 2/6] common/mlx5: fix the curly braces mismatch problem Date: Sun, 6 Feb 2022 08:44:10 +0800 X-OQ-MSGID: <20220206004414.2801177-3-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220206004414.2801177-1-liwg06@foxmail.com> References: <20220206004414.2801177-1-liwg06@foxmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Supplement the second half of braces for the extern "C" block Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows") Cc: talshn@nvidia.com Signed-off-by: Weiguo Li --- drivers/common/mlx5/windows/mlx5_win_defs.h | 5 +++++ drivers/common/mlx5/windows/mlx5_win_ext.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h b/drivers/common/mlx5/windows/mlx5_win_defs.h index 9f709ff30d..14b2b5d3b3 100644 --- a/drivers/common/mlx5/windows/mlx5_win_defs.h +++ b/drivers/common/mlx5/windows/mlx5_win_defs.h @@ -262,4 +262,9 @@ enum { MLX5_MATCH_MISC_PARAMETERS = 1 << 1, MLX5_MATCH_INNER_HEADERS = 1 << 2, }; + +#ifdef __cplusplus +} +#endif + #endif /* __MLX5_WIN_DEFS_H__ */ diff --git a/drivers/common/mlx5/windows/mlx5_win_ext.h b/drivers/common/mlx5/windows/mlx5_win_ext.h index b5d4484a13..7cb7ce5e58 100644 --- a/drivers/common/mlx5/windows/mlx5_win_ext.h +++ b/drivers/common/mlx5/windows/mlx5_win_ext.h @@ -44,4 +44,8 @@ struct mlx5_devx_clock { #define GET_DEVX_CTX(ctx) (((mlx5_context_st *)ctx)->devx_ctx) #define GET_OBJ_CTX(obj) (((mlx5_devx_obj_st *)obj)->devx_ctx) +#ifdef __cplusplus +} +#endif + #endif /* __MLX5_WIN_ETX_H__ */ -- 2.25.1