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 7758CA034E; Wed, 9 Feb 2022 04:03:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3652C41165; Wed, 9 Feb 2022 04:02:52 +0100 (CET) Received: from out203-205-251-53.mail.qq.com (out203-205-251-53.mail.qq.com [203.205.251.53]) by mails.dpdk.org (Postfix) with ESMTP id E3139410FD 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=1644375763; bh=DpFlzEv/qJzH6I3jSTDXX+c4bPUPiIaewvSHLMlalp0=; h=From:To:Subject:Date:In-Reply-To:References; b=tWKOI0C7DuGSC7vWAbqNXgKwIWRHHf+eYcPIJJko7YS/EZgzMqe39sJofj+kjzWLe gov1JmdDr+xisSYSsxy1L7LMgl7Z6WGwrNUMarNPOCJTgWKy2SF0c2kTznkJ/xTWuH ba2f+BXlZVJUyVOYg4THJj6rIDKMzX+GASQN6UU8= 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: xmsmtpt1644375744tgbzhqgp7 Message-ID: X-QQ-XMAILINFO: OZ7HbAk7YCRi34tNTEdTEfE1xcyZTCOfqrrgQ4jXEEIStgFVYSPVTi1ZWbyb61 7g8O2lchFe1m5nUdyivdFqXfq7TugrZmTVc5Mpiv+op71B8VSmjb6FyPuc8LkSQjDsM0zUTZkpgt xd/LpAGldajGHLiRWg0EiCeuOCG3sLwoO9LX34Njq/qL64ezGii8ydvG8pWRvbsbp37e2txsqq+K UysVvhU894EYNSUlVgYyFUNYCgIMyCEO9XtOySsOOtRP3Q2a6puBrXI9Z87AXaa5GfR8jq+xR222 RmjQwyavybFn2N3ZXD+OgYlElkMItr7cOQxfKIEQ8T01NOrN8vuVHixdowpxGD2pEeSq8TkyV+Qi u9quqJPVrbl8+zBIni3F8hw/d3VcmlgU9klNgqpitxmcSXf4kqZVL8lNPT6FaZ9iQlVnrDtICFHB +emQciZvGTXLIY25wLkycvasR4HBV4sq47fSeY5u04equvgqqnm9qJrlopDJuwBSNR2IZM9w7nBa XajCs+3MJZLXXXxbq5j+V+8vFMst6xNx+6YlUUafioHSnSXManGZvj96mLQC0IBMQKko96dKqz+O ncw11VJmVES4tSDC4sK/PRp2yy34oGD2BdJQYZI5LMpaMwtT40/dks8MBm+27mrvDyyqwD/1H91B VTMky/nJ8guULKB9bUJZ0y9qorRaqdBgcas8Yq6GzoWqETo5d+G+1/46aQlu2EIYotsRc3vho6tS Skh22I/3s1GZMPR9WsCi9FQzEPtbs5FaBp1zKsC5AgeJ5yeImAGd7Ks41eu2ZjfNqBk8G7rvmkBo pJKe/RcH9ybNQwu6qVcQoaiH1e93PsYlzNbPqz9O3EGoCvxN5t9mK1HmaW9XKNDJ0dpI4x1EpkhW aP8M/6muya From: Weiguo Li To: dev@dpdk.org Subject: [PATCH v2 00/16] add define guards to avoid multi-inclusion Date: Wed, 9 Feb 2022 11:02:08 +0800 X-OQ-MSGID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <22527224.6Emhk5qWAg@thomas> References: <22527224.6Emhk5qWAg@thomas> 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. Notice that there are couples of guard styles used in this project, like "XX_H", "XX_H_" or "XXX_H__". Adhere to Thomas's advice, this patch set use the first style to make it simple. Weiguo Li (16): bus/dpaa: add define guards to avoid multi-inclusion event/octeontx: add define guards to avoid multi-inclusion net/cxgbe: add define guards to avoid multi-inclusion net/enetfec: add define guards to avoid multi-inclusion net/i40e: add define guards to avoid multi-inclusion net/netvsc: add define guards to avoid multi-inclusion net/qede: add define guards to avoid multi-inclusion net/tap: add define guards to avoid multi-inclusion net/virtio: add define guards to avoid multi-inclusion raw/ifpga/base: add define guards to avoid multi-inclusion kni: add define guards to avoid multi-inclusion acl: add define guards to avoid multi-inclusion eal: add define guards to avoid multi-inclusion efd: add define guards to avoid multi-inclusion hash: add define guards to avoid multi-inclusion pcapng: add define guards to avoid multi-inclusion drivers/bus/dpaa/base/qbman/qman.h | 5 +++++ drivers/event/octeontx/timvf_worker.h | 5 +++++ drivers/net/cxgbe/base/t4_regs.h | 5 +++++ drivers/net/enetfec/enet_uio.h | 5 +++++ drivers/net/i40e/i40e_regs.h | 5 +++++ drivers/net/netvsc/hn_nvs.h | 5 +++++ drivers/net/netvsc/hn_rndis.h | 5 +++++ drivers/net/netvsc/hn_var.h | 5 +++++ drivers/net/qede/base/reg_addr.h | 5 +++++ drivers/net/qede/qede_sriov.h | 5 +++++ drivers/net/tap/tap_bpf_insns.h | 5 +++++ drivers/net/tap/tap_log.h | 5 +++++ drivers/net/virtio/virtio_rxtx_packed_avx.h | 5 +++++ drivers/net/virtio/virtio_rxtx_packed_neon.h | 5 +++++ drivers/raw/ifpga/base/opae_at24_eeprom.h | 5 +++++ kernel/linux/kni/compat.h | 5 +++++ lib/acl/acl_run_altivec.h | 5 +++++ lib/acl/acl_run_avx2.h | 5 +++++ lib/acl/acl_run_avx512x16.h | 5 +++++ lib/acl/acl_run_avx512x8.h | 5 +++++ lib/acl/acl_run_neon.h | 5 +++++ lib/acl/acl_run_sse.h | 5 +++++ lib/eal/include/rte_eal_paging.h | 5 +++++ lib/eal/windows/include/rte_virt2phys.h | 5 +++++ lib/efd/rte_efd_x86.h | 5 +++++ lib/hash/rte_cmp_arm64.h | 5 +++++ lib/hash/rte_cmp_x86.h | 5 +++++ lib/kni/rte_kni_fifo.h | 5 ++++- lib/pcapng/pcapng_proto.h | 5 +++++ 29 files changed, 144 insertions(+), 1 deletion(-) -- 2.25.1