i40e: add NVM update events to AQ clean
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 19 Mar 2015 21:32:01 +0000 (14:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Mar 2015 21:52:04 +0000 (17:52 -0400)
Quit complaining about a couple of events that we actually expect to see
during an NVM update.

Reported-by: Stefan Assmann <sassmann@redhat.com>
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c

index c1eaab532c155cf22b012404f247c3f0eb37092e..bc87968098d911b0360589aa822f05e4cfae52df 100644 (file)
@@ -5896,6 +5896,10 @@ static void i40e_clean_adminq_subtask(struct i40e_pf *pf)
                case i40e_aqc_opc_send_msg_to_peer:
                        dev_info(&pf->pdev->dev, "ARQ: Msg from other pf\n");
                        break;
+               case i40e_aqc_opc_nvm_erase:
+               case i40e_aqc_opc_nvm_update:
+                       i40e_debug(&pf->hw, I40E_DEBUG_NVM, "ARQ NVM operation completed\n");
+                       break;
                default:
                        dev_info(&pf->pdev->dev,
                                 "ARQ Error: Unknown event 0x%04x received\n",