> +    sg_set_buf(mem, buf, PAGE_SIZE << order);
 > +    BUG_ON(mem->offset);
 > +    sg_dma_len(mem) = PAGE_SIZE << order;

What am I missing?  Any reason to set sg_dma_len() again after sg_set_buf()?

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to