Commit e3282a0f authored by Aleksandr Loktionov's avatar Aleksandr Loktionov Committed by sanglipeng
Browse files

i40e: fix i40e_setup_misc_vector() error handling

stable inclusion
from stable-v5.10.179
commit 880c09bc2f0b6d0f3f3d995508a1c06177eb7d73
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8C809

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=880c09bc2f0b6d0f3f3d995508a1c06177eb7d73



--------------------------------

[ Upstream commit c86c00c6 ]

Add error handling of i40e_setup_misc_vector() in i40e_rebuild().
In case interrupt vectors setup fails do not re-open vsi-s and
do not bring up vf-s, we have no interrupts to serve a traffic
anyway.

Fixes: 41c445ff ("i40e: main driver core")
Signed-off-by: default avatarAleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 5097f2d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment