]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: support XPS by mapping TX queues to CPUs
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Mon, 24 Sep 2018 09:11:05 +0000 (11:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Sep 2018 17:01:10 +0000 (10:01 -0700)
commit962b42207d0196e9aee3327983c089ea9d7bc41c
tree92e0b1f6bfa23cac5bee0ad04c95dd532df4225d
parent64875cb41feb8e8932d204ded50c25ed7230b6b8
net: mvpp2: support XPS by mapping TX queues to CPUs

Since the PPv2 controller has multiple TX queues, we can spread traffic
by assining TX queues to CPUs, allowing to use XPS to balance egress
traffic between CPUs.

Suggested-by : Yan Markman <ymarkman@marvell.com>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c