ice: refactor ice_vf_lib to make functions static
authorJan Sokolowski <jan.sokolowski@intel.com>
Wed, 9 Aug 2023 13:39:10 +0000 (15:39 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 17 Aug 2023 17:43:53 +0000 (10:43 -0700)
commitcc9c60c9edfed4fa629975848e80a45c17332b9a
tree44987b8d752305a9529931cbcd784e9f2d2ea2d9
parent45f5478c039c104c03c698c18ac30f21a728208f
ice: refactor ice_vf_lib to make functions static

As following methods are not used outside ice_vf_lib,
they can be made static:
ice_vf_rebuild_host_vlan_cfg
ice_vf_rebuild_host_tx_rate_cfg
ice_vf_set_host_trust_cfg
ice_vf_rebuild_host_mac_cfg
ice_vf_rebuild_aggregator_node_cfg
ice_vf_rebuild_host_cfg
ice_set_vf_state_qs_dis
ice_vf_set_initialized

In order to achieve that, the order in which these
were defined was reorganized.

Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_vf_lib.c
drivers/net/ethernet/intel/ice/ice_vf_lib_private.h