]> www.infradead.org Git - users/dwmw2/linux.git/commit
idpf: fix transaction timeouts on reset
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 20 Dec 2024 02:09:32 +0000 (18:09 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 24 Jan 2025 18:03:39 +0000 (10:03 -0800)
commit137da75ba72593598898a4e79da34f4b2da5d151
tree0394436f6c54cdd22be56df2f04f65ed6f715a20
parent396f0165672c6a74d7379027d344b83b5f05948c
idpf: fix transaction timeouts on reset

Restore the call to idpf_vc_xn_shutdown() at the beginning of
idpf_vc_core_deinit() provided the function is not called on remove.
In the reset path the mailbox is destroyed, leading to all transactions
timing out.

Fixes: 09d0fb5cb30e ("idpf: deinit virtchnl transaction manager after vport and vectors")
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/idpf_virtchnl.c