Skip to content
Commit 5d1c0ac3 authored by Marcin Szycik's avatar Marcin Szycik Committed by Greg Kroah-Hartman
Browse files

iavf: Move netdev_update_features() into watchdog task



[ Upstream commit 7598f4b4 ]

Remove netdev_update_features() from iavf_adminq_task(), as it can cause
deadlocks due to needing rtnl_lock. Instead use the
IAVF_FLAG_SETUP_NETDEV_FEATURES flag to indicate that netdev features need
to be updated in the watchdog task. iavf_set_vlan_offload_features()
and iavf_set_queue_vlan_tag_loc() can be called directly from
iavf_virtchnl_completion().

Suggested-by: default avatarPhani Burra <phani.r.burra@intel.com>
Signed-off-by: default avatarMarcin Szycik <marcin.szycik@linux.intel.com>
Reviewed-by: default avatarAlexander Lobakin <alexandr.lobakin@intel.com>
Tested-by: default avatarMarek Szlosek <marek.szlosek@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: c2ed2403 ("iavf: Wait for reset in callbacks which trigger it")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6d9d0168
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment