[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d840eddd-f6a3-fe8c-dbaa-242c117b5274@marvell.com>
Date: Thu, 12 Jan 2017 14:23:48 +0100
From: Lino Sanfilippo <lsanfil@...vell.com>
To: Simon Horman <horms@...ge.net.au>,
Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
CC: David Miller <davem@...emloft.net>,
Magnus Damm <magnus.damm@...il.com>, <netdev@...r.kernel.org>,
<linux-renesas-soc@...r.kernel.org>
Subject: Re: [PATCH/RFC v2 net-next] ravb: unmap descriptors when freeing
rings
Hi,
On 12.01.2017 10:11, Simon Horman wrote:
>>> +
>>> + for (; priv->cur_tx[q] - priv->dirty_tx[q] > 0; priv->dirty_tx[q]++) {
BTW: How can this work correctly when cur_tx wraps and dirty_tx is greater?
Regards,
Lino
Powered by blists - more mailing lists