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 6979CA034E; Sun, 6 Feb 2022 04:59:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBD39410EC; Sun, 6 Feb 2022 04:59:02 +0100 (CET) Received: from out203-205-221-155.mail.qq.com (out203-205-221-155.mail.qq.com [203.205.221.155]) by mails.dpdk.org (Postfix) with ESMTP id A20E74069D 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=1644119938; bh=LcAAjs3+Ew6ZBmPoP6FiikQHx89OqTvb4UH9LwF7uGI=; h=From:To:Subject:Date:In-Reply-To:References; b=Z4AHgyVQodd9LrFD6Mz4KgUzjiYsUGQCikmCPk0jkxPaMBAAKXMIX1EgkD5I3h8YI D1pyJ3ad+iB+/38JlIpQBJ84Olqy1IvJ6Dun+pJUpr5QxeFvp2s5rSR6aOehi1ipXs WjcnUpJxeBv9kyDFE2vMfTOOXzBjamqajA9nK/AA= 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: xmsmtpt1644119937tc7fod24y Message-ID: X-QQ-XMAILINFO: OE2SNMSfMbmOIVesbVrsq4wd7EZeiAnygS4k0GMh2SCIOc82mKhMMQ0Uq97a/l ZD878verZ22IJ6Ob7eKDdX9LnxszuAiku3/SZqS2bG+9Hhil7t2YB8Legx7nOE5xwYqgD6vUdvrW Bpr2UUesAAewRFwJmpiozYL5xXJ95gG/6Hg0djpzymX2sKyHzDh9lClFqmOCJTUz8Xr0MVcg5BdY S8RHZji8gq7UwRWyUergOv3foivaDIS001Q32prTvWwMXkQs2XUTDcpj2lmb+q6OFce6iFc6wlxf Z1zJ2jreRVOFZrGiMHwUcF7TLoXMWSjIKEzJiBFUfsSzluiLeGbXUGrvQkjWLpaS/vvuQJT/8B+I qEyf48y7nACIOdOwFwceph/cz5fZKKuQQa0b3yKyJAMLvgMJHt0vkrWb2h7nYO8xct5oka2taANu Z7/t3A8zwSRQPt+wjgyp30ENYlndRV/eJ55Vxq4RM75BZAMeDLw8IbOLfq9QNjPIQU3BpYYGivq/ RqC+K2CIfxAWkL2scogjFrcB35FSJ9b/Se4xCa6dsgtpxEJTpZbPxoeueQAMszR1hXtyO5zxxggC xBdUWXuUBWOpO77w3CbIzqDFFtcCwmR98/k2kFIaszutFTX36GsVjkc7a4zZXIiLIm3eTJ80zwrB PHyIHqb0Hi3rn7cVnCMFPTljwfOPzv6e70prkXXYXSl0U8YBgAdp0FUo7kiffZdB5Jk57GrrXeCr dZME2dcITH14Bzo5rQmGhWwNrh9f6erf9gWEKvOsttnwMR8pWV7TMtDZ7Ri5VWYboorqA2JSygGt pGRfhUg5MKgvtOVvvw8+rRfupAO8DBQRB0Fm9vqUJpWQYDqI9grmJgol4XzeGcq6c8h0jSgiye4u e5RWRhAkNq From: Weiguo Li To: dev@dpdk.org Subject: [PATCH 03/16] net/cxgbe: add define guards to avoid multiple inclusion Date: Sun, 6 Feb 2022 11:58:33 +0800 X-OQ-MSGID: <20220206035846.2840462-3-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/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..4952f7cde4 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