diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-04-14 18:08:25 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-04-15 16:07:13 -0400 |
commit | 6ef8bb837dd7e60f078084d4842a43fd163fb4a2 (patch) | |
tree | 847d40d8468a0da508f941c78db04f4f73f93b1b /drivers/infiniband/hw/mlx4/alias_GUID.c | |
parent | 90a6684c30918786446fd062c7422a4098926891 (diff) | |
download | linux-6ef8bb837dd7e60f078084d4842a43fd163fb4a2.tar.bz2 |
IB/iser: Pass struct iser_mem_reg to iser_fast_reg_mr and iser_reg_sig_mr
Instead of passing ib_sge as output variable, we pass the mem_reg
pointer to have the routines fill the rkey as well. This reduces
code duplication and extra assignments. This is a preparation step
to unify some registration logics together. Also, pass iser_fast_reg_mr
the fastreg descriptor directly.
This patch does not change any functionality.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions