]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Set default value for ITR in alloc function
authorMichal Swiatkowski <michal.swiatkowski@intel.com>
Thu, 12 Dec 2019 11:12:57 +0000 (03:12 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 4 Jan 2020 00:08:33 +0000 (16:08 -0800)
commit0f8bfc35dc351eaec84da483ff9a6827354b0fc2
tree8ff509c7c3f9f746fb4f411aa5460cc903c5e173
parent5afbf2700bc28e429a08905b87e59393dc28765b
ice: Set default value for ITR in alloc function

When the user sets itr_setting to zero from ethtool -C, the driver changes
this value to default in ice_cfg_itr (for example after changing ring
param). Remove code that sets default value in ice_cfg_itr and move it to
place where the driver allocates q_vectors.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_base.c