summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorDotan Barak <dotanb@dev.mellanox.co.il>2007-06-26 15:55:28 +0300
committerRoland Dreier <rolandd@cisco.com>2007-07-09 20:12:26 -0700
commit149983af609e8f5c57157467baf8545d17b8a6a1 (patch)
tree4a8ea99e670a6e74b7b03122408a82d4c6e29518 /include/linux/mlx4
parent87427da55bc03dbce7906a5b09ed50279d654d28 (diff)
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>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r--include/linux/mlx4/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index b372f5910fc..8209387ee85 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -172,6 +172,7 @@ struct mlx4_caps {
int num_pds;
int reserved_pds;
int mtt_entry_sz;
+ u32 max_msg_sz;
u32 page_size_cap;
u32 flags;
u16 stat_rate_support;