mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:46:43 +07:00
qede: Reset statistics on explicit down
Adding the necessary logic to prevet statistics reset
on inner-reload introduced a bug, and now statistics
are reset only when re-probing the driver.
Fixes: a0d26d5a4f
("qed*: Don't reset statistics on inner reload")
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b21290b77f
commit
7f7a144fc5
@ -3271,6 +3271,7 @@ static int qede_start_queues(struct qede_dev *edev, bool clear_stats)
|
||||
start.vport_id = 0;
|
||||
start.drop_ttl0 = true;
|
||||
start.remove_inner_vlan = vlan_removal_en;
|
||||
start.clear_stats = clear_stats;
|
||||
|
||||
rc = edev->ops->vport_start(cdev, &start);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user