[PATCH] hash: fix build with GFNI
David Marchand
david.marchand at redhat.com
Wed Oct 18 11:31:47 CEST 2023
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 at 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
More information about the dev
mailing list