IB/mlx4: Advertise RoCE v2 support
authorMatan Barak <matanb@mellanox.com>
Thu, 14 Jan 2016 15:50:43 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:01 +0000 (15:35 -0500)
commit4ed088e6c2aa2b7b0479791c7251696b541bfa39
treedc0ea14e5c481a67c7495b587a251011b0e999c1
parente1b866c677d69334e2981b19696b7e3d88dff707
IB/mlx4: Advertise RoCE v2 support

Advertise RoCE v2 support in port_immutable attributes according to
the hardware's capabilities. This enables the verbs stack to use
RoCE v2 mode.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/main.c