mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 13:23:35 -04: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:
committed by
David S. Miller
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user