From: Shahaf Shuler Date: Thu, 24 May 2018 05:28:59 +0000 (+0300) Subject: net/mlx5: fix generic tunnel offload compatibility check X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1aa88b5bd93343b3c13ecbed5f0a0c8abbc39b36;p=dpdk.git net/mlx5: fix generic tunnel offload compatibility check On some distros, the inbox rdma-core tree can contain the Software Parser enum while the remaining structs still missing. Fixes: 5f8ba81c4228 ("net/mlx5: support generic tunnel offloading") Signed-off-by: Shahaf Shuler Acked-by: Yongseok Koh --- diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile index 293144e8a0..8a5229e619 100644 --- a/drivers/net/mlx5/Makefile +++ b/drivers/net/mlx5/Makefile @@ -120,7 +120,7 @@ mlx5_autoconf.h.new: $(RTE_SDK)/buildtools/auto-config-h.sh $Q sh -- '$<' '$@' \ HAVE_IBV_MLX5_MOD_SWP \ infiniband/mlx5dv.h \ - enum MLX5DV_CONTEXT_MASK_SWP \ + type 'struct mlx5dv_sw_parsing_caps' \ $(AUTOCONF_OUTPUT) $Q sh -- '$<' '$@' \ HAVE_IBV_MLX5_MOD_MPW \