Re: [PATCH v2 rdma-core 2/2] libqedr: add support for SRQ's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 23, 2018 at 05:57:51PM +0300, Yuval Bason wrote:
> +
> +		/* Make sure that descriptors are written before we update
> +		 * producers.
> +		 */
> +
> +		udma_to_device_barrier();
> +
> +		struct rdma_srq_producers *virt_prod;
> +
> +		virt_prod = srq->hw_srq.virt_prod_pair_addr;
> +		virt_prod->sge_prod = htole32(hw_srq->sge_prod);
> +		virt_prod->wqe_prod = htole32(hw_srq->wqe_prod);

These are not mmio writes, so this should probaboy be
udma_ordering_write_barrier() ?

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux