+                       dma_pages[page_cnt++] =
+                               (sg_dma_address(&scat[i]) & dev->fmr_page_mask) 
+ j;
+

This fmr patch does not work for ia64 system because this dev->fmr_page_mask is defined as unsigned int.

We should type cast it to u64 or define it as unsigned long

+       struct ib_fmr_pool     *fmr_pool;
+       int                     fmr_page_shift;
+       int                     fmr_page_size;
+       unsigned int            fmr_page_mask;

unsigned long fmr_page_mask

Vu
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to