On 12/19/2016 09:07 PM, James Smart wrote:
On loosely ordered memory systems (PPC for example), the WQE elements
were being updated in memory, but not necessarily flushed before the
separate doorbell was written to hw which would cause hw to dma the
WQE element. Thus, the hardware occasionally received partially
updated WQE data.

Add the memory barrier after updating the WQE memory.

Reviewed-by: Mauricio Faria de Oliveira <mauri...@linux.vnet.ibm.com>

Martin, may you please flag this patch for stable?

Thank you,

--
Mauricio Faria de Oliveira
IBM Linux Technology Center

Reply via email to