]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[HW, WvVerbs] Pass through the user's specified max inline data value when creating...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 12 May 2009 13:24:37 +0000 (13:24 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 12 May 2009 13:24:37 +0000 (13:24 +0000)
commit6043d8f3fd715301d7b9c1cc86b27fdb866a097b
tree17a25951b9bdac6832ac988e2cf548ca7ad34173
parent3f3efd886477b917a6844038c179563b9f56c27c
[HW, WvVerbs] Pass through the user's specified max inline data value when creating a QP.
Currently, if the user specifies a value, it gets ignored when the QP is created.  The inline data value supported is then returned to the user, which may be less than requested.

This fixes a failure running dtest over mthca adapters.  Mlx4 adapters end up working for userspace apps because the max_inline_data is passed from the UVP to the kernel via the UMV buffer.  However, for completeness, fixup kernel calls for QP creation from IBAL for mlx4.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2166 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/core/winverbs/kernel/wv_qp.c
trunk/hw/mlx4/kernel/hca/qp.c
trunk/hw/mthca/kernel/hca_verbs.c