Thread (7 messages) 7 messages, 2 authors, 2012-10-25

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

flat view

From: Thomas Petazzoni <hidden>
Date: 2012-10-25 06:21:06
Also in: linux-arm-kernel

David,

On Wed, 24 Oct 2012 23:06:48 -0400 (EDT), David Miller wrote:
From: Thomas Petazzoni <redacted>
Date: Tue, 23 Oct 2012 18:54:57 +0200
quoted
+	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
it.

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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help