net/mlx5: add warning message for Direct Verbs flow
authorYongseok Koh <yskoh@mellanox.com>
Tue, 23 Oct 2018 16:52:09 +0000 (16:52 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000 (22:14 +0200)
commit58b1312e9d193f91c20eace59555b3ae3c88272d
tree8f6fbd2691a36961eace847a4fd2cacfde612e61
parentdb48f9db5d9ffdfc851161e12f05ae099df44de0
net/mlx5: add warning message for Direct Verbs flow

In case that the library doesn't support DV flow, if enabled by
'dv_flow_en=1', print out a warning message and disable it.

Fixes: 51e72d386c99 ("net/mlx5: add runtime parameter to enable Direct Verbs")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_flow.c