diff options
author | Jeff Kirsher <[email protected]> | 2015-04-03 13:27:13 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2015-04-14 15:56:22 -0700 |
commit | 78288e3750c568f0f95db235a06475db3b1a122a (patch) | |
tree | 9f9aaf8c51491fbca0a417de0cf1d9a176850590 /scripts/gdb/linux/modules.py | |
parent | 750c607e303971e1746f98bfeec17bf45cbf228d (diff) |
fm10k: reset head instead of calling update_max_size
When we forcefully shutdown the mailbox, we then go about resetting max
size to 0, and clearing all messages in the FIFO. Instead, we should
just reset the head pointer so that the FIFO becomes empty, rather than
changing the max size to 0. This helps prevent increment in tx_dropped
counter during mailbox negotiation, which is confusing to viewers of
Linux ethtool statistics output.
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Acked-by: Matthew Vick <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions