mlx5_core: Store MR attributes in mlx5_mr_core during creation and after UMR
authorHaggai Eran <haggaie@mellanox.com>
Thu, 22 May 2014 11:50:10 +0000 (14:50 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 27 May 2014 18:53:06 +0000 (11:53 -0700)
commitb475598aec63f2efbc78f0ff1895d917d2370846
treea4c0b13aa5cbe15a1ac5fb50bddc2c9208a0c193
parent8605933a22796243982e7ed838deca5549c64c62
mlx5_core: Store MR attributes in mlx5_mr_core during creation and after UMR

The patch stores iova, pd and size during mr creation and after UMRs
that modify them.  It removes the unused access flags field.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/mr.c
drivers/net/ethernet/mellanox/mlx5/core/mr.c
include/linux/mlx5/driver.h