]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Store number of functions for the device
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 8 Nov 2019 14:23:17 +0000 (06:23 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Nov 2019 21:06:34 +0000 (13:06 -0800)
commite8f008e9d35e7b595753bfada0d71f59fc00b33b
tree73b4541b4684908ce0719f209dab8ef5d6aebb0c
parent3b5484a9e32167781b13bb650f0d2ba18d8d2920
ice: Store number of functions for the device

Store the number of functions the device has and use this number when
setting safe mode capabilities instead of calculating it.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Co-developed-by: Kevin Scott <kevin.c.scott@intel.com>
Signed-off-by: Kevin Scott <kevin.c.scott@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_common.c
drivers/net/ethernet/intel/ice/ice_type.h