]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/infiniband/hw/mlx4/main.c
mlx4_core: Get the maximum message size from reported device capabilities
authorDotan Barak <dotanb@dev.mellanox.co.il>
Tue, 26 Jun 2007 12:55:28 +0000 (15:55 +0300)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
commit149983af609e8f5c57157467baf8545d17b8a6a1
tree4a8ea99e670a6e74b7b03122408a82d4c6e29518
parent87427da55bc03dbce7906a5b09ed50279d654d28
mlx4_core: Get the maximum message size from reported device capabilities

Get the maximum message size from the device capabilities returned
from the QUERY_DEV_CAP firmware command, rather than hard-coding 2 GB.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/main.c
drivers/net/mlx4/fw.c
drivers/net/mlx4/fw.h
drivers/net/mlx4/main.c
include/linux/mlx4/device.h