[PATCH 20.11] examples/qos_sched: fix compile failure

Kevin Traynor ktraynor at redhat.com
Tue Mar 8 11:21:09 CET 2022


rte_bitops.h is needed for RTE_BIT64.

Bugzilla ID: 955
Fixes: a7aa7d8812ab ("examples/qos_sched: fix core mask overflow")

Reported-by: Ali Alnubani <alialnu at nvidia.com>
Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
---
 examples/qos_sched/args.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c
index 891cfb2809..d8e39957d8 100644
--- a/examples/qos_sched/args.c
+++ b/examples/qos_sched/args.c
@@ -12,4 +12,5 @@
 #include <getopt.h>
 
+#include <rte_bitops.h>
 #include <rte_log.h>
 #include <rte_eal.h>
-- 
2.34.1



More information about the stable mailing list