diff options
author | Brett Creeley <brett.creeley@intel.com> | 2019-02-28 15:25:55 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-05-02 01:13:39 -0700 |
commit | b9c8bb06b53d28c83c47988f645b6cf4543c2685 (patch) | |
tree | 1324e3d8033898644395eac540374df129c9b6c3 /drivers/net/ethernet/intel/ice/ice_lib.h | |
parent | b4b418b3ad7e09aa8d3be84c5f096d770797cfad (diff) | |
download | linux-b9c8bb06b53d28c83c47988f645b6cf4543c2685.tar.gz linux-b9c8bb06b53d28c83c47988f645b6cf4543c2685.tar.bz2 linux-b9c8bb06b53d28c83c47988f645b6cf4543c2685.zip |
ice: Add ability to update rx-usecs-high
Currently the driver allows rx-usecs-high values to be set,
but when querying the device for rx-usecs-high the value
does not stick. This is because it was not yet implemented.
Add code to allow the user to change rx-usecs-high and
use this to set the q_vector's intrl value.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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_lib.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.h b/drivers/net/ethernet/intel/ice/ice_lib.h index 714ace077796..a91d3553cc89 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.h +++ b/drivers/net/ethernet/intel/ice/ice_lib.h @@ -80,4 +80,5 @@ void ice_vsi_free_tx_rings(struct ice_vsi *vsi); int ice_vsi_manage_rss_lut(struct ice_vsi *vsi, bool ena); +u32 ice_intrl_usec_to_reg(u8 intrl, u8 gran); #endif /* !_ICE_LIB_H_ */ |