]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40e: fix i40e_setup_misc_vector() error handling
authorAleksandr Loktionov <aleksandr.loktionov@intel.com>
Mon, 3 Apr 2023 05:13:18 +0000 (07:13 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 17 Apr 2023 17:13:03 +0000 (10:13 -0700)
commitc86c00c6935505929cc9adb29ddb85e48c71f828
tree808425314e95d41284ebcc2a23ee7fd4f1355d68
parent8485d093b076e59baff424552e8aecfc5bd2d261
i40e: fix i40e_setup_misc_vector() error handling

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: 41c445ff0f48 ("i40e: main driver core")
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c