-
由 Deepak Sikri 提交于
It was observed that during multiple reboots nfs hangs. The status of receive descriptors shows that all the descriptors were in control of CPU, and none were assigned to DMA. Also the DMA status register confirmed that the Rx buffer is unavailable. This patch adds the fix for the same by adding the memory barriers to ascertain that the all instructions before enabling the Rx or Tx DMA are completed which involves the proper setting of the ownership bit in DMA descriptors. Signed-off-by: NDeepak Sikri <deepak.sikri@st.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
8e839891