]> 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)
commit40c07d56c420a09a9f1aac3db9882e5c301d4b8e
tree92e0b1f6bfa23cac5bee0ad04c95dd532df4225d
parent201e460df17e7023b99a60081f9a6840781cbdbe
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