]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7cfdd0e99168e67cf498652fd4afaa0bd2443b7
treee2f600bf5f1178d0f943ad4183ddc436642d5a50
parent8db5096b7a0ba50d138941a3ef637b11ea47cc13
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