net: thunderx: Fix for multiqset not configured upon interface toggle
authorSunil Goutham <sgoutham@cavium.com>
Tue, 16 Feb 2016 10:59:49 +0000 (16:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 06:27:46 +0000 (08:27 +0200)
commit61c188313c6c0808339c3dc034adfc255d84bf32
tree4d1cfd48b5bc2d3f555e99edbeb81bd0862b8d82
parent12850f3616f89b750630ae757cd8eb15d15027f1
net: thunderx: Fix for multiqset not configured upon interface toggle

[ Upstream commit 6a9bab79bb79bd9b2eda16f0aba1b4c43f677be9 ]

When a interface is assigned morethan 8 queues and the logical interface
is toggled i.e down & up, additional queues or qsets are not initialized
as secondary qset count is being set to zero while tearing down.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/cavium/thunder/nicvf_main.c