[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150717.001141.1945286438330434553.davem@davemloft.net>
Date: Fri, 17 Jul 2015 00:11:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sergei.shtylyov@...entembedded.com
Cc: netdev@...r.kernel.org, linux-sh@...r.kernel.org
Subject: Re: [PATCH] ravb: do not invalidate cache for RX buffer twice
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Date: Wed, 15 Jul 2015 00:56:52 +0300
> First, dma_sync_single_for_cpu() shouldn't have been called in the first place
> (it's a streaming DMA API). dma_unmap_single() should have been called instead.
> Second, dma_unmap_single() call after handing the buffer to napi_gro_receive()
> makes little sense.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Applied with fixed up commit log message, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists