Thread (7 messages) flat view 7 messages, 4 authors, 2017-02-13

Re: [PATCH/RFC v3 net] ravb: unmap descriptors when freeing rings

From: Sergei Shtylyov <hidden>
Date: 2017-01-25 16:18:19
Also in: linux-renesas-soc

On 01/24/2017 09:21 PM, Simon Horman wrote:
From: Kazuya Mizuguchi <redacted>

"swiotlb buffer is full" errors occur after repeated initialisation of a
device - f.e. suspend/resume or ip link set up/down. This is because memory
mapped using dma_map_single() in ravb_ring_format() and ravb_start_xmit()
is not released.  Resolve this problem by unmapping descriptors when
freeing rings.
    Could you look into the sh_eth driver which seems to have the same issue?
Note, ravb_tx_free() is moved but not otherwise modified by this patch.
    This is not true anymore BTW.
Signed-off-by: Kazuya Mizuguchi <redacted>
[simon: reworked]
Signed-off-by: Simon Horman <redacted>
MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help