Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/fm10k
Jeff Kirsher 78288e3750 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 <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-04-14 15:56:22 -07:00
..
2015-04-14 15:23:36 -07:00
2015-04-14 15:23:36 -07:00
2015-04-14 15:48:17 -07:00
2015-04-14 15:23:36 -07:00
2014-09-23 03:59:14 -07:00
2014-09-23 03:59:23 -07:00