net/mlx5: fix direct call to rdma-core library
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Mon, 7 Oct 2019 13:58:22 +0000 (13:58 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:32 +0000 (12:14 +0200)
commitcc8627bc6d7a7bd3ccc2653b746aac4fbaa0bc50
treeaf7302d39c27b58492e8daa278cb415f9efb0a7f
parentfbc8341218bc0a373035468445dfd29a433e8f47
net/mlx5: fix direct call to rdma-core library

The routine mlx5dv_query_devx_port() was called directly
instead of using the mlx5 glue thunk.

Fixes: d5c06b1b10ae ("net/mlx5: query vport index match mode and parameters")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_glue.c
drivers/net/mlx5/mlx5_glue.h