[ofw] Build errors in Ipiob_ndis6_cm (WinOF2.2 branch) for non-dma support

Alex Naslednikov xalex at mellanox.co.il
Thu May 27 01:06:50 PDT 2010


This flow was not fully ported to NDIS 6.1 (from NDIS 5.x)

________________________________
From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Sophia Germans
Sent: Thursday, May 27, 2010 2:18 AM
To: ofw at lists.openfabrics.org
Subject: [ofw] Build errors in Ipiob_ndis6_cm (WinOF2.2 branch) for non-dma support

Hi,

I changed IPOIB_USE_DMA to zero, so that it uses MDLs to get the system Virtual address for a special purpose.

 But I find that there are compilation errors :
errors in directory d:\source\wof22\ulp\ipoib_ndis6_cm\kernel
d:\source\wof22\ulp\ipoib_ndis6_cm\kernel\ipoib_port.cpp(3609) : error C3861: 'NdisQueryBuffer': identifier not found
d:\source\wof22\ulp\ipoib_ndis6_cm\kernel\ipoib_port.cpp(3624) : error C2660: '__send_copy' : function does not take 2 arguments
d:\source\wof22\ulp\ipoib_ndis6_cm\kernel\ipoib_port.cpp(5678) : error C3861: 'ipoib_process_sg_list_real': identifier not found
d:\source\wof22\ulp\ipoib_ndis6_cm\kernel\ipoib_port.cpp(3609) : error C3861: 'NdisQueryBuffer': identifier not found
d:\source\wof22\ulp\ipoib_ndis6_cm\kernel\ipoib_port.cpp(3624) : error C2660: '__send_copy' : function does not take 2 arguments
d:\source\wof22\ulp\ipoib_ndis6_cm\kernel\ipoib_port.cpp(5678) : error C3861: 'ipoib_process_sg_list_real': identifier not found
link : error LNK1181: cannot open input file 'd:\source\wof22\ulp\ipoib_ndis6_cm\kernel\objfre_wlh_amd64\amd64\ipoib_port.obj'

Changing NdisQueryBuffer to NdisQueryBufferSafe would be one thing, but still it expects a NDIS_PACKET whereas the function passes NET_BUFFER.

Thanks
Sophia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100527/5b40a5de/attachment.html>


More information about the ofw mailing list