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 14523A034F; Wed, 9 Feb 2022 08:24:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B8BB4114B; Wed, 9 Feb 2022 08:24:28 +0100 (CET) Received: from out203-205-221-202.mail.qq.com (out203-205-221-202.mail.qq.com [203.205.221.202]) by mails.dpdk.org (Postfix) with ESMTP id 6F8C1410F3 for ; Wed, 9 Feb 2022 08:24:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644391461; bh=9nXmUr66eyTrqsTPWQEK8ukW5n9Z7QjGgLUJ/OKqrec=; h=From:To:Subject:Date:In-Reply-To:References; b=wLGlvlIKoY8+rvv421tLD5Qv3rgyZjOZi+h3jokFYrKuWhyK5+dyRxbiHYJhZ2HrP Gl/VoUyysj3QlQkj/4AXA7Uj5+umWRFxDJNFJ4bKBd13ySC12EXa6n88BD0irgQicn vWh4CKG6cCH99dFD6IrzaUOC+i7G5saG+L2DCuOo= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszb7.qq.com (NewEsmtp) with SMTP id 6090E84A; Wed, 09 Feb 2022 15:24:09 +0800 X-QQ-mid: xmsmtpt1644391460tx72yozzx Message-ID: X-QQ-XMAILINFO: OEgqWFSKtqEBZLnOpgFfLKPIvrHn7SOjSU3sCDtFwqqC+fH7yZ1phz/haJGgCz TDDFHzSLDI0ab+ij1QVk4UQ3fBY/6HiTGOGE8kiA9V9BE68keQX+BCSE35DvV9U8P3ptAJPWuTmt FYIxGnduy8pV8NFQZini3olpHTFt9l3x10iW6dCzUmU8lHabPexPEcPdo60mPBHdapcnijArIszl 3ZZGCKGOr0bwvW1KrbDaGHHb0VFxc4BWO/Jts1ZLW1e4uazow0GzeKixtkEjdBLp3/uB4uot4rxD USXRXycIDL2nMSaeEASFVBSU1TCMQsyDzGUoyIJ+fNjwlUSmu8A3hxJVLVqwHGCUKF6N6v8DNHjC kbvmFrB5kRJV1nr41IUEymbRw5Kq1AEVe7rb6k0kzg7d4CBeTpcU3urLJuFQagyGG5y8LGtlGFEV enggNI53k4VdJTE4qO0mX2PocAm+NaSMPpy5woEt10mvLC4SevdU5somoOA/Vv5amTz7Qll3DUqv pyGtMsE8GSDPa+9AdAS/GR1jhFZxF+J+eNAdGSKgvkVqus+IvSXXhSNMfpmBn7roDco0PRsK4d3z vbSEdF+/vqGW5liCwPzAsvWa53oe9wN2tLUdMAmJcQpj3b6MDreG6w71wpowbpsHNL0WRY1XpVkR LHx5EjOSg45zd+i9SnHp/elbOlInCTOUsxK0tCLBq+Zv/UhMcIQEvxEtGCzM4Z/Nw7KYeRrj++ao scRYT287ZChQefMiV8DbdOgUn8O6aohLmRvR/vu6Ci4Ts3NuQesWHq0YNmiZHv1hRGIctxJndcej /8L9X0ow2a/CycwOJKU7yaP/4u0v2LyfNfNDg5Rqkv2Yg/VR5a0Ax6JvlJmn6TNWM= From: Weiguo Li To: dev@dpdk.org Subject: [PATCH v3 3/4] efd: add define guards to avoid multi-inclusion Date: Wed, 9 Feb 2022 15:24:07 +0800 X-OQ-MSGID: <03943794cafddf9d720e296e10ef6c8153b0159e.1644390802.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 --- lib/efd/rte_efd_x86.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/efd/rte_efd_x86.h b/lib/efd/rte_efd_x86.h index e2f9dcca88..6e377765f9 100644 --- a/lib/efd/rte_efd_x86.h +++ b/lib/efd/rte_efd_x86.h @@ -2,6 +2,9 @@ * Copyright(c) 2016-2017 Intel Corporation */ +#ifndef RTE_EFD_X86_H +#define RTE_EFD_X86_H + /* rte_efd_x86.h * This file holds all x86 specific EFD functions */ @@ -55,3 +58,5 @@ efd_lookup_internal_avx2(const efd_hashfunc_t *group_hash_idx, #endif } + +#endif /* RTE_EFD_X86_H */ -- 2.25.1