IB/mlx4: Replace mechanism for RoCE GID management
authorMoni Shoua <monis@mellanox.com>
Thu, 30 Jul 2015 15:33:30 +0000 (18:33 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:21 +0000 (18:12 -0400)
commit5070cd2239bd4b382c55c212f10b845ec2de31fc
treee1a4cddf55e33b0198b50cd4e4acbf754c7c1158
parente26be1bfef81a2314a075f54dd8930cf5e8656df
IB/mlx4: Replace mechanism for RoCE GID management

Manage RoCE gid table with logic in IB/core, which is common to all
vendors, and remove the mechanism from the mlx4 IB driver.
Since management of the GID cache may lead to index mismatch with the
hardware GID table, a translation between indexes is required when
modifying a QP or creating an address handle.

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