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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 03:24:57 +0000 (22:24 -0500)
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>
drivers/net/ethernet/cavium/thunder/nicvf_main.c

index c24cb2a86a42f997c31536947ff0ad7f37bd577c..f8012c4847d92f06cde7b4302b90dacd42e1d911 100644 (file)
@@ -1125,7 +1125,6 @@ int nicvf_stop(struct net_device *netdev)
 
        /* Clear multiqset info */
        nic->pnicvf = nic;
-       nic->sqs_count = 0;
 
        return 0;
 }