diff options
author | Moni Shoua <monis@mellanox.com> | 2015-07-30 17:33:30 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-08-31 00:12:21 +0200 |
commit | 5070cd2239bd4b382c55c212f10b845ec2de31fc (patch) | |
tree | e1a4cddf55e33b0198b50cd4e4acbf754c7c1158 /drivers/infiniband/hw/mlx4/mlx4_ib.h | |
parent | IB/mlx4: Implement ib_device callbacks (diff) | |
download | linux-5070cd2239bd4b382c55c212f10b845ec2de31fc.tar.xz linux-5070cd2239bd4b382c55c212f10b845ec2de31fc.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mlx4_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx4/mlx4_ib.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/mlx4/mlx4_ib.h b/drivers/infiniband/hw/mlx4/mlx4_ib.h index 87a720f10f50..cb47c2cb84ca 100644 --- a/drivers/infiniband/hw/mlx4/mlx4_ib.h +++ b/drivers/infiniband/hw/mlx4/mlx4_ib.h @@ -474,12 +474,8 @@ struct mlx4_port_gid_table { struct mlx4_ib_iboe { spinlock_t lock; struct net_device *netdevs[MLX4_MAX_PORTS]; - struct net_device *masters[MLX4_MAX_PORTS]; atomic64_t mac[MLX4_MAX_PORTS]; struct notifier_block nb; - struct notifier_block nb_inet; - struct notifier_block nb_inet6; - union ib_gid gid_table[MLX4_MAX_PORTS][128]; struct mlx4_port_gid_table gids[MLX4_MAX_PORTS]; }; |