]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Fix crash when changing rss with mutliple traffic flows
authorSunil Goutham <sgoutham@cavium.com>
Wed, 29 Jul 2015 13:49:44 +0000 (16:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:52:32 +0000 (23:52 -0700)
commit11ddd40ab758f4dac39c071d23b17e43d93e193f
tree965a9c9ac4d850c7bd258f62016dfbfac77a4539
parent08edbca1159c445950eb72f01f213cf9816979c1
net: thunderx: Fix crash when changing rss with mutliple traffic flows

This fixes a crash when changing rss with multiple traffic flows.

While interface teardown, disable tx queues after all NAPI threads
are done. If done otherwise tx queues might be woken up inside NAPI
if any CQE_TX are processed.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_main.c