[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130107164415.GI5075@titan.lakedaemon.net>
Date: Mon, 7 Jan 2013 11:44:15 -0500
From: Jason Cooper <jason@...edaemon.net>
To: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Lior Amsalem <alior@...vell.com>, Andrew Lunn <andrew@...n.ch>,
netdev@...r.kernel.org, Maen Suleiman <maen@...vell.com>,
Gregory Clement <gregory.clement@...e-electrons.com>,
Dmitri Epshtein <dima@...vell.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 3.8-rc] net: mvneta: fix driver operation in SMP context
On Mon, Jan 07, 2013 at 05:27:54PM +0100, Thomas Petazzoni wrote:
> From: Dmitri Epshtein <dima@...vell.com>
>
> In order for the driver to behave properly in a SMP context, the same
> transmit queue should be used by the kernel in dev_queue_xmit() and in
> the driver's mvneta_tx() function. To achieve that, the driver now
> implements the ->ndo_select_txq() operation.
>
> For now, it always returns the same transmit queue, txq_def, until the
> driver is expanded to properly take advantage of the multiqueue
> capabilities of the hardware.
>
> Without this patch, the network driver crashes the kernel almost
> immediately on Armada XP platforms, if the network load is at least a
> little bit parallel (i.e several threads).
>
> [Thomas Petazzoni: reword commit message]
> Signed-off-by: Dmitri Epshtein <dima@...vell.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Acked-by: Jason Cooper <jason@...edaemon.net>
I'll assume this is going through -net, let me know if it should be
otherwise.
thx,
Jason.
--
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