OSDN Git Service

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)
commit118e0e10025866f92fc9f6403926cfed033e4078
tree8ff509c7c3f9f746fb4f411aa5460cc903c5e173
parent005881bcf99d11f1e409e286f57fc10ee41af224
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