]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: mediatek: set the rx_queue to 0
authorJohn Crispin <john@phrozen.org>
Mon, 19 Jun 2017 13:37:06 +0000 (15:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 17:40:35 +0000 (13:40 -0400)
commitc76e54fc2d1a2c0b713c7c1b917ac8456ba269f8
tree8be18b2ff9e19d03a322acf2dc73e467fc73ac6a
parentf462ea831723c8966d9f101d0c85cf8e47997794
net-next: mediatek: set the rx_queue to 0

The get_rps_cpu() function will not do any RPS on the data flow when no
queue is setup and always use the current cpu where the IRQ was handled
to also handle the backlog. As we only have one physical queue we always
set this to 0 unconditionally.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c