[ofw] RE: Possible IPoIB DMA problems
Anh Duong
anh.duong at qlogic.com
Thu Aug 21 09:39:30 PDT 2008
Alex,
cl_get_physaddr has nothing to do with the mapping. It just retrieves
the address that was previous mapped by whatever methods.
Anh
________________________________
From: Alex Estrin
Sent: Thursday, August 21, 2008 12:28 PM
To: Anh Duong; 'ofw at lists.openfabrics.org'
Cc: 'Stan C. Smith'; John Russo; 'ftillier at windows.microsoft.com';
'Tzachi Dar'; Usha Srinivasan
Subject: RE: Possible IPoIB DMA problems
Anh,
>From your examples ... these are the places where appropriate physical
address is taken from virtual.
preparing send WR.
....
p_desc->local_ds[1].vaddr = cl_get_physaddr( p_ib_arp );
.....
/* Setup the first local data segment (used for the IPoIB header). */
p_desc->local_ds[0].vaddr = cl_get_physaddr( &p_port->hdr[hdr_idx] );
Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080821/90d10309/attachment.html>
More information about the ofw
mailing list