IB/mlx4: Add gid_type to GID properties
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:50:33 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:00 +0000 (15:35 -0500)
commitb699a859d17b3a7a8edc5441ee99d245dfd9f86c
tree07e31422adc4d9384a5980068a7bccfd0212f28b
parentd8ae914196d35bbc0c459aec6de588ba585a1c3e
IB/mlx4: Add gid_type to GID properties

IB core driver adds a property of type to struct ib_gid_attr.
The mlx4 driver should take that in consideration when modifying or
querying the hardware gid table.

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
drivers/infiniband/hw/mlx4/mlx4_ib.h