[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171024.183448.1039880641989092213.davem@davemloft.net>
Date: Tue, 24 Oct 2017 18:34:48 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: antoine.tenart@...e-electrons.com
Cc: andrew@...n.ch, gregory.clement@...e-electrons.com,
thomas.petazzoni@...e-electrons.com,
miquel.raynal@...e-electrons.com, nadavh@...vell.com,
linux-kernel@...r.kernel.org, mw@...ihalf.com, stefanc@...vell.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net 2/3] net: mvpp2: do not unmap TSO headers buffers
From: Antoine Tenart <antoine.tenart@...e-electrons.com>
Date: Mon, 23 Oct 2017 15:24:30 +0200
> The TSO header buffers are coming from a per cpu pool and should not
> be unmapped as they are reused. The PPv2 driver was unmapping all
> descriptors buffers unconditionally. This patch fixes this by checking
> the buffers dma addresses before unmapping them, and by not unmapping
> those who are located in the TSO header pool.
>
> Fixes: 186cd4d4e414 ("net: mvpp2: software tso support")
> Signed-off-by: Antoine Tenart <antoine.tenart@...e-electrons.com>
Applied.
Powered by blists - more mailing lists