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)
commitb49087dd0fa27d61b55f7c77d0b857e3b5055161
tree965a9c9ac4d850c7bd258f62016dfbfac77a4539
parent3d7a8aaad8720edb301d40d4a9d7fa906c76ba34
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