kernel-ark/drivers/net/mlx4
Jack Morgenstein 11e75a7455 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>
2008-02-14 10:43:48 -08:00
..
alloc.c mlx4_core: Fix build break (missing include) 2008-02-11 14:19:42 -08:00
catas.c
cmd.c
cq.c
eq.c
fw.c
fw.h
icm.c
icm.h
intf.c
main.c
Makefile
mcg.c
mlx4.h
mr.c mlx4_core: Move table_find from fmr_alloc to fmr_enable 2008-02-14 10:43:48 -08:00
pd.c
profile.c
qp.c
reset.c
srq.c