ice: reconfig host after changing MSI-X on VF
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Fri, 23 Feb 2024 06:40:24 +0000 (07:40 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 1 Mar 2024 17:40:11 +0000 (09:40 -0800)
commit4035c72dc1ba81a96f94de84dfd5409056c1d9c9
tree1ae02b7949be73c4ede44f2f844ec7232c422e09
parent99099c6bc75a30b76bb5d6774a0509ab6f06af05
ice: reconfig host after changing MSI-X on VF

During VSI reconfiguration filters and VSI config which is set in
ice_vf_init_host_cfg() are lost. Recall the host configuration function
to restore them.

Without this config VF on which MSI-X amount was changed might had a
connection problems.

Fixes: 4d38cb44bd32 ("ice: manage VFs MSI-X using resource tracking")
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_sriov.c