]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
winverbs/nd: remove inline data from read
authorSean Hefty <sean.hefty@intel.com>
Tue, 9 Mar 2010 18:24:22 +0000 (10:24 -0800)
committerSean Hefty <sean.hefty@intel.com>
Tue, 9 Mar 2010 18:24:22 +0000 (10:24 -0800)
RDMA reads do not support inline data.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
trunk/ulp/netdirect/user/nd_ep.cpp

index 7060b208d85abdea050232f62995e0aad966cf59..05fa6dd4d25d5769a643baf148213955c98d3143 100644 (file)
@@ -291,8 +291,7 @@ Read(ND_RESULT* pResult, const ND_SGE* pSgl, SIZE_T nSge,
        HRESULT hr;\r
 \r
        pResult->BytesTransferred = ConvertSgl(pSgl, nSge, sgl);\r
-       opts = ConvertSendFlags(Flags) |\r
-                  (pResult->BytesTransferred ? 0 : WV_SEND_INLINE);\r
+       opts = ConvertSendFlags(Flags);\r
        addr = ntohll(pRemoteMwDescriptor->Base) + Offset;\r
        hr = m_pWvQp->Read((UINT64) pResult, sgl, nSge, opts,\r
                                           htonll(addr), pRemoteMwDescriptor->Token);\r