mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
net: thunderx: Fix for multiqset not configured upon interface toggle
[ Upstream commit 6a9bab79bb ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
12850f3616
commit
61c188313c
@@ -1117,7 +1117,6 @@ int nicvf_stop(struct net_device *netdev)
|
||||
|
||||
/* Clear multiqset info */
|
||||
nic->pnicvf = nic;
|
||||
nic->sqs_count = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user