]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
i40e: clean up throttle rate code
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sat, 25 Oct 2014 03:24:32 +0000 (03:24 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 11 Nov 2014 14:01:48 +0000 (06:01 -0800)
commit79442d38b370ed7317cd82fb2b6d1dafccaf44e5
tree84c63a62246681e24ba69d04146a01234b413fa7
parent215367171badcc3c82e28be56620b9123aa8b528
i40e: clean up throttle rate code

The interrupt throttle rate minimum is actually 2us, so
fix that define and while we are there, remove some unused defines.

Change some strings in the function to be a bit less wrappy, and
express the correct limits.

Change-ID: I96829bbc77935e0b57c6f0fc1439fb4152b2960a
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_txrx.h
drivers/net/ethernet/intel/i40evf/i40e_txrx.h