net/ice/base: store number of functions for the device
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:35:58 +0000 (10:35 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:52 +0000 (15:00 +0200)
commit449ccdf7b58fc8aaa2de6a076da1b300dd03967a
treef090af6899b356d4d841efefeff6bf5a7f1f68ee
parent255454425c1d0c1e9e6079a11dbb42e1d3892775
net/ice/base: store number of functions for the device

Store the number of functions the device has.  This value can be
very useful when calculating how to best allocate global resources.

Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_type.h