]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: initialize the RSS tables
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 30 Oct 2017 10:23:30 +0000 (11:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 03:28:33 +0000 (12:28 +0900)
commit4e77e722fa785be12b018bfe52fc87cd86b10788
treebc999050fced7b6f731149992ea88ec23e3a9ae1
parentd66dbd99e76f5b8315bb59c12ace5a430b27cdcc
net: mvpp2: initialize the RSS tables

This patch initialize the RSS tables to evenly (depending on the packets
RSS hashes) distribute the packets across port Rx queues. This helps to
handle packets on different CPUs to improve performances, as more queues
will be used in parallel.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c