]> asedeno.scripts.mit.edu Git - linux.git/commit
bnx2x: Do not handle requests from VFs after parity
authorManish Chopra <manishc@marvell.com>
Wed, 11 Dec 2019 17:59:55 +0000 (09:59 -0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 14 Dec 2019 20:59:16 +0000 (12:59 -0800)
commit7113f796bbbced2470cd6d7379d50d7a7a78bf34
treee50adb6c869661ccfba2241543817b17d6c1a90a
parented56dd8f60cf3d56ca1416288b09eec27bdd5413
bnx2x: Do not handle requests from VFs after parity

Parity error from the hardware will cause PF to lose the state
of their VFs due to PF's internal reload and hardware reset following
the parity error. Restrict any configuration request from the VFs after
the parity as it could cause unexpected hardware behavior, only way
for VFs to recover would be to trigger FLR on VFs and reload them.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c