[Intel-wired-lan] [next PATCH S26 10/12] i40e: count allocation errors

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jan 7 19:28:33 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Deepthi Kavalur
> Sent: Monday, January 04, 2016 10:33 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S26 10/12] i40e: count allocation
> errors
> 
> From: Jesse Brandeburg <jesse.brandeburg at intel.com>
> 
> Driver already counted allocation errors, so print them as part of the ethtool -
> S output.  Useful for debugging if your system is having trouble making
> memory available for the driver.
> 
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> Change-ID: I83839fa86e81e6d80f03b917c88dd3ef9a64dde0
> ---
> Testing-Hints:
> Look for rx_alloc_fail andi rx_pg_alloc_fail in the ethtool -S output.
> Memory pressure or the kernel allocation failure simulator are necessary to
> get the counters to increment.
> 
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 ++
>  1 file changed, 2 insertions(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied, ethtool shows added counters


More information about the Intel-wired-lan mailing list