Re: [PATCH v4 net] ravb: unmap descriptors when freeing rings

2017-01-26 Thread Simon Horman
On Thu, Jan 26, 2017 at 03:58:45PM +0300, Sergei Shtylyov wrote: > On 01/26/2017 02:04 PM, Simon Horman wrote: > > >From: Kazuya Mizuguchi > > > >"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

Re: [PATCH v4 net] ravb: unmap descriptors when freeing rings

2017-01-26 Thread Sergei Shtylyov
On 01/26/2017 02:04 PM, Simon Horman wrote: From: Kazuya Mizuguchi "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 n