From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: Yipeng Wang <yipeng1.wang@intel.com>,
Sameh Gobriel <sameh.gobriel@intel.com>,
Bruce Richardson <bruce.richardson@intel.com>,
Vladimir Medvedkin <vladimir.medvedkin@intel.com>,
Long Li <longli@microsoft.com>,
Tyler Retzlaff <roretzla@linux.microsoft.com>
Subject: [PATCH] hash: fix build with GFNI
Date: Wed, 18 Oct 2023 11:31:47 +0200 [thread overview]
Message-ID: <20231018093147.1771888-1-david.marchand@redhat.com> (raw)
As an external header, rte_thash_x86_gfni.h should be self sufficient.
Fixes: 3d4e27fd7ff0 ("use abstracted bit count functions")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
lib/hash/rte_thash_x86_gfni.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/hash/rte_thash_x86_gfni.h b/lib/hash/rte_thash_x86_gfni.h
index fbec16dde0..b7c5a4ba7d 100644
--- a/lib/hash/rte_thash_x86_gfni.h
+++ b/lib/hash/rte_thash_x86_gfni.h
@@ -12,6 +12,7 @@
* using Galois Fields New Instructions.
*/
+#include <rte_bitops.h>
#include <rte_compat.h>
#include <rte_vect.h>
--
2.41.0
next reply other threads:[~2023-10-18 9:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 9:31 David Marchand [this message]
2023-10-26 8:40 ` David Marchand
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=20231018093147.1771888-1-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=longli@microsoft.com \
--cc=roretzla@linux.microsoft.com \
--cc=sameh.gobriel@intel.com \
--cc=vladimir.medvedkin@intel.com \
--cc=yipeng1.wang@intel.com \
/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).