Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/i40e
Mitch Williams 4293d5f528 i40e: simplify txd use count calculation
The i40e_txd_use_count function was fast but confusing. In the comments,
it even admits that it's ugly. So replace it with a new function that is
(very) slightly faster and has extensive commenting to help the thicker
among us (including the author, who will forget in a week) understand
how it works.

Change-ID: Ifb533f13786a0bf39cb29f77969a5be2c83d9a87
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-12-06 20:40:50 -08:00
..
2014-01-09 02:10:23 -08:00
2016-10-28 23:28:39 -07:00
2016-10-28 23:28:39 -07:00
2016-02-16 19:04:08 -08:00
2015-10-08 15:11:38 -07:00
2016-07-22 00:07:04 -07:00
2015-07-23 05:33:55 -07:00
2014-01-09 02:10:23 -08:00
2015-07-23 05:33:55 -07:00
2015-07-23 05:33:55 -07:00
2014-01-09 02:10:23 -08:00