]> git.baikalelectronics.ru Git - 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)
commitee787f35157c8bc819495d9e6b866601a09d2328
tree84c63a62246681e24ba69d04146a01234b413fa7
parent34f5218677ae438712978383d7617a8ba423ad8b
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