]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
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)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 7 Apr 2016 06:35:52 +0000 (07:35 +0100)
BugLink: http://bugs.launchpad.net/bugs/1567091
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>
(cherry picked from commit 6a9bab79bb79bd9b2eda16f0aba1b4c43f677be9)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/cavium/thunder/nicvf_main.c

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