IB/mlx4: Enable RoCE v2 when the IB device is added
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:50:40 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:01 +0000 (15:35 -0500)
commit71a39bbbfc5931310073ecbbdbe6d0fa92501fe4
tree9423152c10571c82bbe3f3a030493ff0886d11b7
parent3b5daf28ac4bb9354b7d2f10ce5942cad23e979a
IB/mlx4: Enable RoCE v2 when the IB device is added

If the hardware supports RoCE v2, we configure the hardware UDP
port according to the RoCE v2 Annex when mlx4_ib device is added.

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