diff options
author | Marek Vasut <marex@denx.de> | 2020-03-23 02:11:46 +0100 |
---|---|---|
committer | marex <marex@desktop.lan> | 2020-05-01 12:35:21 +0200 |
commit | 24891dd8d40d71c034023d2a037c97df1714393b (patch) | |
tree | 9902469951873d9d0455f4e26e1f63dbe872cd91 /include/dm-demo.h | |
parent | a83ca0c280dd41dda576d6a8f15a8534a84b782c (diff) |
net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor
The DMA may attempt to write a DMA descriptor in the ring while it is
being updated. By writing the DMA descriptor buffer address to 0, it
is assured the DMA will not use such a buffer and the buffer can be
updated without any interference.
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Cc: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include/dm-demo.h')
0 files changed, 0 insertions, 0 deletions