summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>2019-01-28 14:22:14 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-01-30 11:08:35 +0100
commitc9e462d17b80394d3eaf8470198afaaa94a6c181 (patch)
treefec52d706560da8586f1ffd6fd96200898c21ce4
parenta2f9c0d417e3417e2858f2446b08ea27d962b056 (diff)
downloaddpdk-c9e462d17b80394d3eaf8470198afaaa94a6c181.zip
dpdk-c9e462d17b80394d3eaf8470198afaaa94a6c181.tar.gz
dpdk-c9e462d17b80394d3eaf8470198afaaa94a6c181.tar.xz
net/mlx5: fix build for armv8
Added <rte_cycles.h> inclusion, was not included on some building setups (armv8). Fixes: 71ab2d64723c ("net/mlx5: fix VXLAN port registration race condition") Cc: stable@dpdk.org Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
-rw-r--r--drivers/net/mlx5/mlx5_flow_tcf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_flow_tcf.c b/drivers/net/mlx5/mlx5_flow_tcf.c
index e132a34..652270f 100644
--- a/drivers/net/mlx5/mlx5_flow_tcf.c
+++ b/drivers/net/mlx5/mlx5_flow_tcf.c
@@ -28,6 +28,7 @@
#include <rte_flow.h>
#include <rte_malloc.h>
#include <rte_common.h>
+#include <rte_cycles.h>
#include "mlx5.h"
#include "mlx5_flow.h"