]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Actually return L_Key and R_Key for fast register MRs
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Wed, 27 Aug 2008 21:29:57 +0000 (14:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 27 Aug 2008 21:40:38 +0000 (14:40 -0700)
commit9ece4fe1333fe2815dfe267e5091db4bc87e58bb
tree16f9a553226d256adc3f1969c1d966dbc6e646f9
parente31ed3774f56e6fd0e99276f3cc120053637483b
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>
drivers/infiniband/hw/mlx4/mr.c