]> git.karo-electronics.de Git - linux-beck.git/commit
IB/mlx5: Add MR to radix tree in reg_mr_callback
authorHaggai Eran <haggaie@mellanox.com>
Thu, 22 May 2014 11:50:09 +0000 (14:50 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 27 May 2014 18:53:05 +0000 (11:53 -0700)
commit8605933a22796243982e7ed838deca5549c64c62
treed3c90a75a57109d5aa5a7f5e23f52c0962d14336
parent096f7e72c604e983e14b84b84fc37593fc433585
IB/mlx5: Add MR to radix tree in reg_mr_callback

For memory regions that are allocated using reg_umr, the suffix of
mlx5_core_create_mkey isn't being called.  Instead the creation is
completed in a callback function (reg_mr_callback).  This means that
these MRs aren't being added to the MR radix tree.  Add them in the
callback.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/mr.c