]> 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)
commit4b74fb0e3e054b45db419656cb7dbbfda8d88a55
treee2f600bf5f1178d0f943ad4183ddc436642d5a50
parenta02e5cb7767a1aff68c19e3ca4ca3be68db52615
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