diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2023-01-19 04:16:47 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-02-06 20:40:03 +0300 |
commit | aeead3d04fa050a94ed314cc5de97125a957dc9f (patch) | |
tree | 62849ccf8704ab111322a8a8fe152cce1a10f6a8 /drivers/net/ethernet/intel/ice/ice_vf_lib_private.h | |
parent | 1efee0734b98fd3242508e942b4d11bdcc83e916 (diff) | |
download | linux-aeead3d04fa050a94ed314cc5de97125a957dc9f.tar.xz |
ice: Pull common tasks into ice_vf_post_vsi_rebuild
The Single Root IOV implementation of .post_vsi_rebuild performs some tasks
that will ultimately need to be shared with the Scalable IOV implementation
such as rebuilding the host configuration.
Refactor by introducing a new wrapper function, ice_vf_post_vsi_rebuild
which performs the tasks that will be shared between SR-IOV and Scalable
IOV. Move the ice_vf_rebuild_host_cfg and ice_vf_set_initialized calls into
this wrapper. Then call the implementation specific post_vsi_rebuild
handler afterwards.
This ensures that we will properly re-initialize filters and expected
settings for both SR-IOV and Scalable IOV.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_vf_lib_private.h')
0 files changed, 0 insertions, 0 deletions