[ofw] [Patch 8/62] Reference implementation of NDv2
Fab Tillier
ftillier at microsoft.com
Wed Feb 20 16:04:00 PST 2013
Use the right caching mode when mapping user-mode memory for registration.
Signed-off-by: Fab Tillier <ftillier at microsoft.com>
diff -dwup3 -x *svn* -r c:\dev\openib\ofw\gen1\branches\mlx4_30\trunk\hw\mlx4\kernel\l2w\l2w_umem.c .\hw\mlx4\kernel\l2w\l2w_umem.c
--- c:\dev\openib\ofw\gen1\branches\mlx4_30\trunk\hw\mlx4\kernel\l2w\l2w_umem.c Thu Mar 29 00:15:27 2012
+++ .\hw\mlx4\kernel\l2w\l2w_umem.c Thu May 24 13:05:42 2012
@@ -152,7 +152,7 @@ int ib_umem_map(
}
*kva = (volatile u32 *)MmMapLockedPagesSpecifyCache( p_mdl,
- KernelMode, MmNonCached, NULL, FALSE, NormalPagePriority );
+ KernelMode, MmCached, NULL, FALSE, NormalPagePriority );
if (*kva == NULL) {
L2W_PRINT(TRACE_LEVEL_ERROR ,L2W ,"MmMapLockedPagesSpecifyCache failed\n");
rc = -EFAULT;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndv2.8.patch
Type: application/octet-stream
Size: 657 bytes
Desc: ndv2.8.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20130221/b2c639f9/attachment.obj>
More information about the ofw
mailing list