Skip to content
Commit 347b5650 authored by Eryk Rybak's avatar Eryk Rybak Committed by Tony Nguyen
Browse files

i40e: Fix kernel oops when i40e driver removes VF's

Fix the reason of kernel oops when i40e driver removed VFs.
Added new __I40E_VFS_RELEASING state to signalize releasing
process by PF, that it makes possible to exit of reset VF procedure.
Without this patch, it is possible to suspend the VFs reset by
releasing VFs resources procedure. Retrying the reset after the
timeout works on the freed VF memory causing a kernel oops.

Fixes: d43d60e5

 ("i40e: ensure reset occurs when disabling VF")
Signed-off-by: default avatarEryk Rybak <eryk.roch.rybak@intel.com>
Signed-off-by: default avatarGrzegorz Szczurek <grzegorzx.szczurek@intel.com>
Reviewed-by: default avatarAleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: default avatarKonrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 90449e98
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