net/mlx5: fix build with old kernels
authorMoti Haimovsky <motih@mellanox.com>
Sun, 15 Jul 2018 17:31:39 +0000 (20:31 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Jul 2018 12:05:52 +0000 (14:05 +0200)
commit79d0989213cd39decfe802cc42e334db4f0978f0
tree2d919fe3800a4eb5edc18585b1acec0ca414f115
parent21174f2a5cf93fe92fac74ea5a93b51b67e5dd38
net/mlx5: fix build with old kernels

This commit fixes compilation errors due to missing definitions
found when compiling mlx5 PMD from DPDK 17.11-LTS on Ubuntu 12.4
with kernel 3.15.

Fixes: 75ef62a94301 ("net/mlx5: fix link speed capability information")
Fixes: 5bfc9fc112dd ("net/mlx5: use static assert for compile-time sanity checks")
Cc: stable@dpdk.org
Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/Makefile
drivers/net/mlx5/mlx5_defs.h
drivers/net/mlx5/mlx5_ethdev.c