net: mvpp2: use RSS only when using multi-queue mode
authorYan Markman <ymarkman@marvell.com>
Thu, 12 Jul 2018 11:54:14 +0000 (13:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2018 00:30:48 +0000 (17:30 -0700)
commit4c4a5686c4e7475ab16fdaa4da375e43810da978
tree10bfb41a214311482afdcdd0c1b793339380d8f2
parent3f6aaf72895a9a1e1cffc6db29871d6664249752
net: mvpp2: use RSS only when using multi-queue mode

Since RSS only applies when we have per-cpu rx queues, it should only
be enabled when the driver is configured to make use of multi-queue
mode.

Signed-off-by: Yan Markman <ymarkman@marvell.com>
[Maxime: Commit message]
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