]> 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)
commit6cad8689fc1270ce96b8a04709c5fefe36c5629f
treebc999050fced7b6f731149992ea88ec23e3a9ae1
parentfc3f822da5331cb937ed903ed69b9b214196ab7c
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