IB/mlx4: Add support for setting RoCEv2 gids in hardware
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:50:35 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:00 +0000 (15:35 -0500)
commit7e57b85c444c3c1bf3550aa6890666fc4353bd33
tree106b33c7ffa5f6c1a5fc9c954f0c097fefe8dadf
parent1da494cbc0d922f192f1c5cc96c8794a8171c3c0
IB/mlx4: Add support for setting RoCEv2 gids in hardware

To tell hardware about a gid with type RoCEv2, software needs a new
modifier to the SET_PORT command: MLX4_SET_PORT_ROCE_ADDR. This can
replace the old method, MLX4_SET_PORT_GID_TABLE, for  RoCEv1 gids.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/main.c
include/linux/mlx4/cmd.h