diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2008-02-14 11:41:29 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-02-14 18:43:48 (GMT) |
commit | 11e75a7455a7bc73e752c0c985986c2b1f8c930a (patch) | |
tree | 6d3b43ccaeb1b6fc2c8e91f25874baa2ec224bdb /drivers/dma/ioatdma_hw.h | |
parent | e6028c0e004d334bb9ed75d4c918f4c763af1b9f (diff) | |
download | linux-11e75a7455a7bc73e752c0c985986c2b1f8c930a.tar.xz |
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/dma/ioatdma_hw.h')
0 files changed, 0 insertions, 0 deletions