net: mvneta: Associate RX queues with each CPU
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 9 Dec 2015 17:23:49 +0000 (18:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 01:28:09 +0000 (20:28 -0500)
commit2dcf75e2793c53349f0464a4ba0f6253b345668b
treee2f600bf5f1178d0f943ad4183ddc436642d5a50
parent90b74c013d1b9ed294447d2287fa4b4b21f0681d
net: mvneta: Associate RX queues with each CPU

We enable the percpu interrupt for all the CPU and we just associate a
CPU to a few queue at the neta level. The mapping between the CPUs and
the queues is static. The queues are associated to the CPU module the
number of CPUs. However currently we only use on RX queue for a given
Ethernet port.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c