net/mlx5: fix build for armv8
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Mon, 28 Jan 2019 14:22:14 +0000 (14:22 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 30 Jan 2019 10:08:35 +0000 (11:08 +0100)
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>
drivers/net/mlx5/mlx5_flow_tcf.c

index e132a34..652270f 100644 (file)
@@ -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"