common/mlx5: flag Verbs dependency in a DevX command
authorOphir Munk <ophirmu@mellanox.com>
Wed, 10 Jun 2020 09:32:31 +0000 (09:32 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:07 +0000 (19:21 +0200)
commit170572d8f92c3298d847fba67702bee034d2cbb2
tree4704b08cd40c5dc64ad798eb96d93aa51208d825
parent042f5c94fd3a49e4fe85e5ae2405a39ca65a2436
common/mlx5: flag Verbs dependency in a DevX command

Function mlx5_devx_cmd_qp_query_tis_td() receives as parameter a pointer
to verbs QP returned by ibv_create_qp. Therefore support it only if
HAVE_IBV_FLOW_DV_SUPPORT is defined. Otherwise return an error ENOTSUP.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/common/mlx5/mlx5_devx_cmds.c