IB/mlx5: Extend query_device/port to support RoCE
authorAchiad Shochat <achiad@mellanox.com>
Wed, 23 Dec 2015 16:47:21 +0000 (18:47 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 17:07:37 +0000 (12:07 -0500)
commit3f89a643eb29543af0838d37604bbc29a4e1eb60
tree4f4ae3c4ee32f022a78ee957b98bfdf2fda2655a
parent9efa75254593d6ca3ae54bac8153f47e1a7cbcda
IB/mlx5: Extend query_device/port to support RoCE

Using the vport access functions to retrieve the Ethernet
specific information and return this information in
ib_query_device and ib_query_port.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
include/linux/mlx5/driver.h