Re: [PATCH 4/4] IB: introducing MTHCA_MR_DMABARRIER

2008-01-31 Thread akepner
On Wed, Jan 30, 2008 at 07:00:11PM -0800, Roland Dreier wrote: > > @@ -72,6 +73,8 @@ static void __ib_umem_release(struct ib_device *dev, > struct ib_umem *umem, int d > > * @addr: userspace virtual address to start at > > * @size: length of region to pin > > * @access: IB_ACCESS_xxx fla

Re: [PATCH 4/4] IB: introducing MTHCA_MR_DMABARRIER

2008-01-30 Thread Roland Dreier
> @@ -72,6 +73,8 @@ static void __ib_umem_release(struct ib_device *dev, > struct ib_umem *umem, int d > * @addr: userspace virtual address to start at > * @size: length of region to pin > * @access: IB_ACCESS_xxx flags for memory being pinned > + * @dmabarrier: set a "dma barrier" so

[PATCH 4/4] IB: introducing MTHCA_MR_DMABARRIER

2008-01-29 Thread akepner
Add MTHCA_MR_DMABARRIER to mthca's API, increment ABI version, and make use of MTHCA_MR_DMABARRIER when mapping a user-allocated memory region with ib_umem_get(). Signed-off-by: Arthur Kepner <[EMAIL PROTECTED]> -- drivers/infiniband/core/umem.c | 15 +--- drivers/in