From: Sunil Goutham Date: Tue, 16 Feb 2016 10:59:49 +0000 (+0530) Subject: net: thunderx: Fix for multiqset not configured upon interface toggle X-Git-Tag: v4.5-rc6~35^2~37^2~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6a9bab79bb79bd9b2eda16f0aba1b4c43f677be9;p=uclinux-h8%2Flinux.git net: thunderx: Fix for multiqset not configured upon interface toggle 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c b/drivers/net/ethernet/cavium/thunder/nicvf_main.c index c24cb2a86a42..f8012c4847d9 100644 --- a/drivers/net/ethernet/cavium/thunder/nicvf_main.c +++ b/drivers/net/ethernet/cavium/thunder/nicvf_main.c @@ -1125,7 +1125,6 @@ int nicvf_stop(struct net_device *netdev) /* Clear multiqset info */ nic->pnicvf = nic; - nic->sqs_count = 0; return 0; }