Commit 61c18831 authored by Sunil Goutham's avatar Sunil Goutham Committed by Greg Kroah-Hartman

net: thunderx: Fix for multiqset not configured upon interface toggle

[ Upstream commit 6a9bab79 ]

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: default avatarSunil Goutham <sgoutham@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 12850f36
...@@ -1117,7 +1117,6 @@ int nicvf_stop(struct net_device *netdev) ...@@ -1117,7 +1117,6 @@ int nicvf_stop(struct net_device *netdev)
/* Clear multiqset info */ /* Clear multiqset info */
nic->pnicvf = nic; nic->pnicvf = nic;
nic->sqs_count = 0;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment