[openib-general][patch review] srp: fmr implementation,
    Vu Pham 
    vuhuong at mellanox.com
       
    Mon May  8 11:26:50 PDT 2006
    
    
  
> +			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
    
    
More information about the general
mailing list