ice: Don't call ice_cfg_itr() for SR-IOV
authorBrett Creeley <brett.creeley@intel.com>
Tue, 16 Apr 2019 17:30:42 +0000 (10:30 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 May 2019 09:40:30 +0000 (02:40 -0700)
commit4b6f3ecabfba46b086ae80a9d6cea2bb4ab60237
tree366f18f5384e5a7133caf35790addae70edc0507
parent1aec6e1b0886569c5c6e92d6d5fc25e6779e7f23
ice: Don't call ice_cfg_itr() for SR-IOV

ice_cfg_itr() sets the ITR granularity and default ITR values for the
PF's interrupt vectors. For VF's this will be done in the AVF driver
flow. Fix this by not calling ice_cfg_itr() for SR-IOV.

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>
drivers/net/ethernet/intel/ice/ice_lib.c