summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2008-02-14 12:41:29 +0100
committerRoland Dreier <rolandd@cisco.com>2008-02-14 19:43:48 +0100
commit11e75a7455a7bc73e752c0c985986c2b1f8c930a (patch)
tree6d3b43ccaeb1b6fc2c8e91f25874baa2ec224bdb /drivers/infiniband
parentIB/mlx4: mlx4_ib_fmr_alloc() should call mlx4_fmr_enable() (diff)
downloadlinux-11e75a7455a7bc73e752c0c985986c2b1f8c930a.tar.xz
linux-11e75a7455a7bc73e752c0c985986c2b1f8c930a.zip
mlx4_core: Move table_find from fmr_alloc to fmr_enable
mlx4_table_find (for FMR MPTs) requires that ICM memory already be mapped. Before this fix, FMR allocation depended on ICM memory already being mapped for the MPT entry. If all currently mapped entries are taken, the find operation fails (even if the MPT ICM table still had more entries, which were just not mapped yet). This fix moves the mpt find operation to fmr_enable, to guarantee that any required ICM memory mapping has already occurred. Found by Oren Duer of Mellanox. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions