Re: [PATCH] gianfar: synchronize DMA API usage by free_skb_rx_queue w/ gfar_new_page

2017-01-30 Thread David Miller
From: Arseny Solokha Date: Sun, 29 Jan 2017 19:52:20 +0700 > From: Arseny Solokha > > In spite of switching to paged allocation of Rx buffers, the driver still > called dma_unmap_single() in the Rx queues tear-down path. > > The DMA region unmapping code in free_skb_rx_queue() basically predat

RE: [PATCH] gianfar: synchronize DMA API usage by free_skb_rx_queue w/ gfar_new_page

2017-01-30 Thread Claudiu Manoil
>-Original Message- >From: Arseny Solokha [mailto:asolo...@kb.kras.ru] >Sent: Sunday, January 29, 2017 2:52 PM >To: Claudiu Manoil >Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; Arseny Solokha > >Subject: [PATCH] gianfar: synchronize DMA API usage b

[PATCH] gianfar: synchronize DMA API usage by free_skb_rx_queue w/ gfar_new_page

2017-01-29 Thread Arseny Solokha
From: Arseny Solokha In spite of switching to paged allocation of Rx buffers, the driver still called dma_unmap_single() in the Rx queues tear-down path. The DMA region unmapping code in free_skb_rx_queue() basically predates the introduction of paged allocation to the driver. While being refact