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 373FDA034E; Sun, 6 Feb 2022 04:59:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95936410E7; Sun, 6 Feb 2022 04:59:04 +0100 (CET) Received: from out162-62-58-211.mail.qq.com (out162-62-58-211.mail.qq.com [162.62.58.211]) by mails.dpdk.org (Postfix) with ESMTP id 13BC040DDB for ; Sun, 6 Feb 2022 04:59:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644119939; bh=xGqOgRTvUTlpx2XBSDfj+d32cZhr8hlOBhk3j27lW2Q=; h=From:To:Subject:Date:In-Reply-To:References; b=jOEt0CBRPikq7WJLpmfbVPO5rjz+xmLfoouvYO/Rl1TtLmsFSvj3p1zKrZnb/X0IS gZuWtHVh8CNZhCnFEr9GcY+h1+i9ZcyJEe3TZnDFuEoIWOpq++IayfNkt8b5npOoyW cVz6ZKeiqil3jwu43OTsQxJc0cykdgQdGCU3lzSs= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszc10.qq.com (NewEsmtp) with SMTP id EAE16474; Sun, 06 Feb 2022 11:58:46 +0800 X-QQ-mid: xmsmtpt1644119938tlocde0rc Message-ID: X-QQ-XMAILINFO: NR+Rloh0s0m60Qg1UsJkjRA7MNVIk/rNGwpOWnrGBzeqRxIaKQmpjfjX8fcADA KGJPmyrZiniDL6Aj93nNxkwI6YGJVeDBdzIMnOKeLvIlANpfpNWiBZELLedge7hQv8bIdhA7/hD/ 065NuI9SdllZ5tllctRVtTw3kWp1gOWh91qB6+0T+Zyo9CFZshLJYbzyuOIm4mK4372hE0CHdHyf 36r3wapw6RvcWII6i5RJJ6hj8zLyBeT+sJcGSwVGh6MUsj3G0HsE10W+nQ78yyszPukgJjKRRFy6 Dt4e6jGny+2G1JvHHbZjWRtX24vhICTSHJoNDhrfzc7Yx6K/0C5WFVMPsVp9bVD+Dm6xAHY++rWL G9bWnXHSIAQYzKiwdae/WlA5XWjSzhauOgCwhju4hQXSLufGsNq9GmLawplfbOl/ufdYVgJgq+iN 2OCFWSogIGQPYYrNsP+RWzaWKoCeEMuJtFNDRtJr/0/jmmLwg36GAJuDo+XG+v6cWfyGih+AAXhE W30NskWJYjndbbo/C1gerFosh3E12pY2Fc1vBEz+NerfVX76nEcCDWEmt9xAB+rGpxGZQvgrF8Sy 26QndTITpkqBz9uvKam5ROO115WIPiNiBk7TO2SycgOG8ljv5tsWpv8I30HJs9nXwIS5DTuOqmds LYwm0sh4O8fziBQjRtwOGQggQzCTvc05Iuj6ogyVlvbtgQo/DAqjr2H78ehPr6wCJp9w+RPAVW5n L55eRvxMmYV2HO9hA+69MrosAuafGOcEa6DY7CQVjvjcCJYNPRHEcmBAFcivDiOa2EVHrXeyaBty lDxTik5XcxvW7tvbdIgq928XssDJOy0qRklTGIOxzs3x7KbRAfaHJt5gA8SZ9v4a88b75d7x39sy U9u+Zvi3YGnzIJrBH7jMVdSn6aIwxZXINCX865XYbV From: Weiguo Li To: dev@dpdk.org Subject: [PATCH 05/16] net/i40e: add define guards to avoid multiple inclusion Date: Sun, 6 Feb 2022 11:58:35 +0800 X-OQ-MSGID: <20220206035846.2840462-5-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220206035846.2840462-1-liwg06@foxmail.com> References: <20220206035846.2840462-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 define guards to prevent multiple inclusion. Signed-off-by: Weiguo Li --- drivers/net/i40e/i40e_regs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/i40e/i40e_regs.h b/drivers/net/i40e/i40e_regs.h index b19bb1d5a5..b3111dbf96 100644 --- a/drivers/net/i40e/i40e_regs.h +++ b/drivers/net/i40e/i40e_regs.h @@ -2,6 +2,9 @@ * Copyright(c) 2016 Intel Corporation */ +#ifndef _I40E_REGS_H_ +#define _I40E_REGS_H_ + struct i40e_reg_info { uint32_t base_addr; uint32_t count1; @@ -966,3 +969,5 @@ static const struct i40e_reg_info i40e_regs_others[] = { {I40E_GLGEN_STAT_CLEAR, 0, 0, 0, 0, "GLGEN_STAT_CLEAR"}, {0, 0, 0, 0, 0, NULL} }; + +#endif /* _I40E_REGS_H_ */ -- 2.25.1