Re: [PATCH v4 for-next 2/3] RDMA/hns: Add SCC context clr support for hip08

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

 



On Thu, Dec 06, 2018 at 08:49:43AM +0200, Leon Romanovsky wrote:

> > "resp" point to "desc.data" which will be sent to hardware through
> > function "hns_roce_cmq_send".
> > resp->rocee_scc_ctx_clr_done will be set to 1 by hardware if
> > scc context clear successful. If not, continue the query until the
> > maximum number of queries is reached HNS_ROCE_CMQ_SCC_CLR_DONE_CNT.
> 
> I'm not expert in this area, but it looks like you need some sort of
> memory fence and ensure that memory in-sync between device and CPU.

It looks like there is a readl on this path and readl is serializing

Jason



[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