]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/infiniband/hw/mlx4/main.c
IB/mlx4: Limit size of fast registration WRs
authorEli Cohen <eli@dev.mellanox.co.il>
Thu, 7 Oct 2010 14:24:16 +0000 (16:24 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 11 Oct 2010 21:33:17 +0000 (14:33 -0700)
commit5a0fd09428e47fb08d5a887515d92bb2447f4b65
tree83a6642cb0dfd99dff733dde7b4c7aa40df2d920
parent0498628f974d4132ba34b06fc24786a00401b79c
IB/mlx4: Limit size of fast registration WRs

Fix the limit on the size of max fast registration WRs that can be
posted to match hardware capabilities.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mr.c
include/linux/mlx4/device.h