net/ice/base: store number of functions for the device