commit | 4c246edd2550304df5b766cc841584b2bb058843 | [log] [tgz] |
---|---|---|
author | Vladimir Sokolovsky <vlad@mellanox.co.il> | Wed Aug 27 14:29:57 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 27 14:40:38 2008 -0700 |
tree | 16f9a553226d256adc3f1969c1d966dbc6e646f9 | |
parent | ee7cbabbd359b5d9a60de3d5f1693163e07987ca [diff] |
IB/mlx4: Actually return L_Key and R_Key for fast register MRs Initialize the L_Key and R_Key for memory regions returned from mlx4_ib_alloc_fast_reg_mr(). Otherwise callers just get garbage for the memory keys and can't do anything useful with these MRs. Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>