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 E3826A034E; Wed, 9 Feb 2022 04:02:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0BC4241150; Wed, 9 Feb 2022 04:02:50 +0100 (CET) Received: from out162-62-57-137.mail.qq.com (out162-62-57-137.mail.qq.com [162.62.57.137]) by mails.dpdk.org (Postfix) with ESMTP id 5B92C410F3 for ; Wed, 9 Feb 2022 04:02:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644375764; bh=YtvvGeB45MiGHsAbMKHXC5OiEYDgb1C3N5xeUB+bRzo=; h=From:To:Subject:Date:In-Reply-To:References; b=tdrIfs/MvWnVV6+73FASZCokPpdmSABWcRwuKu+xPaEdh9q40MzvqQioxENYUeY5g hZ3ixeQjzG44zwq9qTzMCWJua+R584yQWFRC5GAapTiWOUDdccOuzzN9OhqWZFrIq7 Mn5wXeIWJQjjwevJPdKfgxekIFaYbTF9Zp0qNOhw= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszb7.qq.com (NewEsmtp) with SMTP id 98A6079; Wed, 09 Feb 2022 11:02:24 +0800 X-QQ-mid: xmsmtpt1644375764tniouno0x Message-ID: X-QQ-XMAILINFO: MbkhVtI1PGVk5tb4bKbhtHJgQou53sJN4TFA9S9SHDb3P42r+SOOWlEYHSdcDG cf8WS9D0gIs8FrMi2f+3VENUzNuyuMiSsGFeX97U8SgMxldimZSUBb5SygTc01zxgJYfd2KLJpfv ypS/oNZszbzKxVI1pJLWYoHyEhZXH638mYGnyYyypHrbGcHNPxmk0OaxPOiEiez2eM66cgu9qJsp w/KzfB2in5BMqiZuJlAjUAX0H93wery6UPnbCIuFZXn4owwBWkxROFfxB4f7gNmlscvNfL0aCiN0 NFBrpD1RlT1lygcV34IeOw3VbWodYMpEkatmmwdgojZsF+QRRhzA/fI1ZJnX6RtXpeFJY6+p9szR b/f4LvlQ7ue+N0X4LLLZ8Sk1SFsZx/LZxbcR8ha9V2wOzBOC8nRpUVBCYq6cd9AS4ll6QvV1O4dR eLYQXtn/elxfwR0OfVXe0u05sA2FvcbkjmVps/jzMMW8Vb/DrrTrTGw4jdVUCJDIzBRZ2mTIsdwO eQYD1TdHAnIVDQdC5/tzYkNPRrcmlq+RF1PboF+ePsLFSJngL1Z7nydokWUcLYk+QwPKc31CuuY3 mLk1kg8wYlYEdhq450DM1yqh9tebcPk6bJiibX9Gdc+zbx0n3zpRIqfpHD3EjXvBK7AQVENyjbly MKZ9T0WBy1KQQTHK79B7DTchJTVXaGw1vtjCtyNCzSmB71hj+MpxfNEfL0iiWLDqb7hMq1YzsS1P sSiJ9oq7STLoer4gst+pTBFw6XE7r7UoZN+QKNLt2NO30tnaCJyCTHQrPe5Vecxmvi5UocBB7U3X +YxDwGVk42OvmVkchV18eOO6XGe8uUvOl34X0SdwS89qISevrD9VH1zXtHW+G2cRljsovYtK90J+ ZXx7uE59Ndhpes59/s0nUwj6WtWzioDA== From: Weiguo Li To: dev@dpdk.org Subject: [PATCH v2 03/16] net/cxgbe: add define guards to avoid multi-inclusion Date: Wed, 9 Feb 2022 11:02:11 +0800 X-OQ-MSGID: <22b52af4be65b16f1ea43209f79e3375ad8ac081.1644374873.git.liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 --- v2: * update to a simple guard style --- drivers/net/cxgbe/base/t4_regs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/cxgbe/base/t4_regs.h b/drivers/net/cxgbe/base/t4_regs.h index 8a14d09a15..c90ac09696 100644 --- a/drivers/net/cxgbe/base/t4_regs.h +++ b/drivers/net/cxgbe/base/t4_regs.h @@ -3,6 +3,9 @@ * All rights reserved. */ +#ifndef CXGBE_T4_REGS_H +#define CXGBE_T4_REGS_H + #define MYPF_BASE 0x1b000 #define MYPF_REG(reg_addr) (MYPF_BASE + (reg_addr)) @@ -976,3 +979,5 @@ #define LE_3_DB_HASH_MASK_GEN_IPV4_T6_A 0x19eac #define LE_4_DB_HASH_MASK_GEN_IPV4_T6_A 0x19eb0 + +#endif /* CXGBE_T4_REGS_H */ -- 2.25.1