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 6E465A034E; Sun, 6 Feb 2022 05:00:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D82CC411A7; Sun, 6 Feb 2022 04:59:13 +0100 (CET) Received: from out203-205-221-240.mail.qq.com (out203-205-221-240.mail.qq.com [203.205.221.240]) by mails.dpdk.org (Postfix) with ESMTP id 7E8C841143 for ; Sun, 6 Feb 2022 04:59:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644119946; bh=sz2tOhQAeihQI/IweQ8mfgVdcXNMttmzxeKO/UzVcR0=; h=From:To:Subject:Date:In-Reply-To:References; b=l6Uktkq26BE4G3/J1yBoBw+qSqeucQqI6zguGsP9Wph5yEgqhejbN70JLYpS+HqWt Xa6uESN/6HobLqtMOh6xXE/pEM4SkEk6K84RqrVv8NGWAzzqHNukChwEoHPxMGNPCz Ze9BEZOZilQYjGf0RplT43WOzcjAk6Pl83SfchX4= 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: xmsmtpt1644119945to5s651c0 Message-ID: X-QQ-XMAILINFO: Nb6LX7dsrQEkDhKv6KznyUcnRDzhS3fCVEyTE0jmrv0uCZMMVt5F9jcYTMvwMV voSjfezZ50Fi3bobiPVqh9xmOnnBlHdOkd6FjN2PCFRB03NS21tM7qqDzzy7c6ubeqXNfDAr3F3y +ycopcYwi/lZfMnj+EXFfuA2hua8mISnRY3puyVpAYiwjNdVN7tMNT4CcHP4vCZHwIRkIiQnKXRM 1/5O2jqMtGtFeKv2seR/mzcaNfIHC3NQWm6R9Mk3zzaaztZuyJ7sshVUKGG4mAJgqprzxkavX+dq e3cgRxGHUj8QBH6cEF6wKTwvMpxCnEZnBNQKCBbjXhRKT1b+ACcLwIViTI6ioP09K3XE7Y+6M9i7 +TKd/NO16A78trcHHAzFidht4h+/FoYeDLOw+2JtUE6dNh6vXufONHFA7d5LnWOU/b+kjhAGXx09 xvCBF9f5SDOmqJu0+DxroSX2XGByzN0K0pplhdLpX+7TgKImvEMg8Scp4EPnRnuldYhh1pfmr3Gt 61DCGq4TDcKWLCW0YtvjpOqLZfWy0qhIcas1DTvP981opLLaj4jpOS5Q/anLc5d6ajvq8+Ne2YJw djGO7ErPbb9JdkuYQnrOvX9325eTLCYQ3A5Ofz10Ajt0t80T3ygW1n2F5QynP/gRhbfceb9Oc5A5 VLkU7AcrqOy0A1GChNgUsgxFBi2uFSeRH2cMKGI0JyHBfnUBuf23LGTVh89kg5Ah/BEvrgfXSSbi 5rL2pbpDp8wZh3qYKAl7fSHmqcHWmg4cQLeF3LNEcEFscAjQ9vqVaNwXcViteZNvbkykRBzzEnXX DNz9lmaL5MCGQNLpsin/lw3NwpzCjWn/TZw/jfbvUqwXdimL7Azg9YiJlXIaSzSe0cT8MEEjFOdC X/Yt7wreMB From: Weiguo Li To: dev@dpdk.org Subject: [PATCH 14/16] efd: add define guards to avoid multi-inclusion Date: Sun, 6 Feb 2022 11:58:44 +0800 X-OQ-MSGID: <20220206035846.2840462-14-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 --- 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..fac74fa50b 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