]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Allow 4K messages for UD QPs
authorAlex Naslednikov <xalex@mellanox.co.il>
Thu, 7 Aug 2008 21:06:50 +0000 (14:06 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 7 Aug 2008 21:06:50 +0000 (14:06 -0700)
commit15730559dbc1600451a5cfcb7fa6db4ee182a580
tree357adc8727a6dea4277fbf5a38095c77855012c1
parent3f102cecc4dffefc2ba66f55a9598972e4588002
IB/mlx4: Allow 4K messages for UD QPs

Current code limits the max message size to 2K for UD QPs, while MTU
might be as big as 4K.  This patch sets the maximum message size to
4K, which is needed for UD to work correctly on fabrics with a 4K MTU.

Signed-off-by: Alex Naslednikov <xalex@mellanox.co.il>
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/qp.c