summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunil Goutham <sgoutham@cavium.com>2016-02-16 11:59:49 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-18 04:24:57 +0100
commit6a9bab79bb79bd9b2eda16f0aba1b4c43f677be9 (patch)
treeb97be2b729d332a3909d6829884ec3bae70df92e
parenttcp: correctly crypto_alloc_hash return check (diff)
downloadlinux-6a9bab79bb79bd9b2eda16f0aba1b4c43f677be9.tar.xz
linux-6a9bab79bb79bd9b2eda16f0aba1b4c43f677be9.zip
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 <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/cavium/thunder/nicvf_main.c1
1 files changed, 0 insertions, 1 deletions
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;
}