summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_common.c
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2019-08-02 01:25:27 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-09-03 16:11:10 -0700
commit567af267fa1d95d13b0fdfa1fdc18ec474220b88 (patch)
tree5f044d6dd47ca9521e6ef65b316132d88fa4309e /drivers/net/ethernet/intel/ice/ice_common.c
parent8132e17dfb1683f1ef7ebf6fa8b61c1f48152660 (diff)
downloadlinux-567af267fa1d95d13b0fdfa1fdc18ec474220b88.tar.bz2
ice: Report what the user set for coalesce [tx|rx]-usecs
Currently if the user sets an odd value for [tx|rx]-usecs we align the value because the hardware only understands ITR values in multiples of 2. This seems misleading because we are essentially telling the user that the ITR value is odd, when in fact we have changed it internally. Fix this by reporting that setting odd ITR values is not allowed. Also, while making changes to ice_set_rc_coalesce() I noticed a bit of code/error duplication. Make the necessary changes to remove the duplication. Signed-off-by: Brett Creeley <brett.creeley@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.c')
0 files changed, 0 insertions, 0 deletions