]> git.droids-corp.org - dpdk.git/commitdiff
net/mlx5: fix generic tunnel offload compatibility check
authorShahaf Shuler <shahafs@mellanox.com>
Thu, 24 May 2018 05:28:59 +0000 (08:28 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 May 2018 15:07:40 +0000 (17:07 +0200)
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 <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/Makefile

index 293144e8a0a5936f1d0b4b7c6cd4a0da15b5f5c2..8a5229e619c650da7703f93e85e2663b1dd05af9 100644 (file)
@@ -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 \