Skip to content

Commit 321421b

Browse files
sboob93anguy11
authored andcommitted
iavf: Fix for the false positive ASQ/ARQ errors while issuing VF reset
While issuing VF Reset from the guest OS, the VF driver prints logs about critical / Overflow error detection. This is not an actual error since the VF_MBX_ARQLEN register is set to all FF's for a short period of time and the VF would catch the bits set if it was reading the register during that spike of time. This patch introduces an additional check to ignore this condition since the VF is in reset. Fixes: 19b73d8 ("i40evf: Add additional check for reset") Signed-off-by: Surabhi Boob <[email protected]> Tested-by: Tony Brelinski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 131b0ed commit 321421b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/intel/iavf/iavf_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ static void iavf_adminq_task(struct work_struct *work)
24092409

24102410
/* check for error indications */
24112411
val = rd32(hw, hw->aq.arq.len);
2412-
if (val == 0xdeadbeef) /* indicates device in reset */
2412+
if (val == 0xdeadbeef || val == 0xffffffff) /* device in reset */
24132413
goto freedom;
24142414
oldval = val;
24152415
if (val & IAVF_VF_ARQLEN1_ARQVFE_MASK) {

0 commit comments

Comments
 (0)