Skip to content

Commit

Permalink
[Temp] fix: ixgbe is noisy
Browse files Browse the repository at this point in the history
temporarily block fwsm=0, it's noisy in dmesg

Signed-off-by: Han Gao <[email protected]>
  • Loading branch information
RevySR committed Oct 7, 2023
1 parent 12d5008 commit 3396e43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7999,9 +7999,11 @@ static bool ixgbe_check_fw_error(struct ixgbe_adapter *adapter)
/* read fwsm.ext_err_ind register and log errors */
fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM(hw));

/* temporarily block fwsm=0, it's noisy in dmesg */
if (fwsm & IXGBE_FWSM_EXT_ERR_IND_MASK ||
!(fwsm & IXGBE_FWSM_FW_VAL_BIT))
e_dev_warn("Warning firmware error detected FWSM: 0x%08X\n",
if (fwsm)
e_dev_warn("Warning firmware error detected FWSM: 0x%08X\n",
fwsm);

if (hw->mac.ops.fw_recovery_mode && hw->mac.ops.fw_recovery_mode(hw)) {
Expand Down

0 comments on commit 3396e43

Please sign in to comment.