[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180924.122910.450816619429773171.davem@davemloft.net>
Date: Mon, 24 Sep 2018 12:29:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: antoine.tenart@...tlin.com
Cc: yelena@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, thomas.petazzoni@...tlin.com,
maxime.chevallier@...tlin.com, gregory.clement@...tlin.com,
miquel.raynal@...tlin.com, nadavh@...vell.com, stefanc@...vell.com,
ymarkman@...vell.com, mw@...ihalf.com
Subject: Re: [PATCH net] net: mvneta: fix the remaining Rx descriptor
unmapping issues
From: Antoine Tenart <antoine.tenart@...tlin.com>
Date: Mon, 24 Sep 2018 16:56:13 +0200
> With CONFIG_DMA_API_DEBUG enabled we get DMA unmapping warning in
> various places of the mvneta driver, for example when putting down an
> interface while traffic is passing through.
>
> The issue is when using s/w buffer management, the Rx buffers are mapped
> using dma_map_page but unmapped with dma_unmap_single. This patch fixes
> this by using the right unmapping function.
>
> Fixes: 562e2f467e71 ("net: mvneta: Improve the buffer allocation method for SWBM")
> Signed-off-by: Antoine Tenart <antoine.tenart@...tlin.com>
Applied.
Powered by blists - more mailing lists