From: Weiguo Li <liwg06@foxmail.com>
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 [thread overview]
Message-ID: <tencent_5C8E908970C41CF06C9FFE4554EB187E4F0A@qq.com> (raw)
In-Reply-To: <cover.1644390801.git.liwg06@foxmail.com>
Supplement define guards to prevent multiple inclusion.
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
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
next prev parent reply other threads:[~2022-02-09 7:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1644390801.git.liwg06@foxmail.com>
2022-02-09 7:24 ` [PATCH v3 1/4] kni: " Weiguo Li
2022-02-09 13:52 ` Ferruh Yigit
2022-02-22 14:48 ` Thomas Monjalon
2022-02-09 7:24 ` [PATCH v3 2/4] eal: " Weiguo Li
2024-10-03 23:58 ` Stephen Hemminger
2022-02-09 7:24 ` Weiguo Li [this message]
2024-10-03 23:59 ` [PATCH v3 3/4] efd: " Stephen Hemminger
2022-02-09 7:24 ` [PATCH v3 4/4] hash: " Weiguo Li
2024-10-03 23:57 ` Stephen Hemminger
2024-10-15 22:56 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_5C8E908970C41CF06C9FFE4554EB187E4F0A@qq.com \
--to=liwg06@foxmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).