]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i40e: add interrupt rate limit verbosity
authorAlan Brady <alan.brady@intel.com>
Tue, 29 Nov 2016 00:06:03 +0000 (16:06 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Feb 2017 06:43:09 +0000 (22:43 -0800)
commit33084060fb6d51ff566439a387f69ed90301280c
treefdf257c069543dae105b4f9645dc62dc13016a90
parent1c0e6a3613d3f0bb088a3160095c8da4c1214d02
i40e: add interrupt rate limit verbosity

Due to the resolution of the register controlling interrupt rate
limiting, setting certain values for the interrupt rate limit make it
appear as though the limiting is not completely accurate.  The problem
is that the interrupt rate limit is getting rounded down to the nearest
multiple of 4.  This patch fixes the problem by adding some feedback to
the user as to the actual interrupt rate limit being used when it
differs from the requested limit.  Without this patch setting interrupt
rate limits may appear to behave inaccurately.

Change-ID: I3093cf3f2d437d35a4c4f4bb5af5ce1b85ab21b7
Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c