[PATCH 1/4] net: mvneta: driver for Marvell Armada 370/XP network unit

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Oct 25 02:21:06 EDT 2012


On Wed, 24 Oct 2012 23:06:48 -0400 (EDT), David Miller wrote:
> From: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Date: Tue, 23 Oct 2012 18:54:57 +0200
> > +	u32 cause_rx_tx[CONFIG_NR_CPUS];
> Please use per-cpu variables instead of explicitly sized
> arrays.

Ok, thanks. In fact, this per-cpu array is not needed in the current
version of the driver, it will only be needed when we make improvements
to it that bind RX queues to specific CPUs. So for now, I'll get rid of

I'll wait a bit more to see if there are any comments, and I'll repost
an updated v4 of the patches.

Thanks a lot for your review,

Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the linux-arm-kernel mailing list