]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
i40e: Lower some message levels
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 18 Mar 2016 19:18:14 +0000 (12:18 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 17:40:54 +0000 (10:40 -0700)
Orabug: 23176970

These conditions can happen any time VFs are enabled or disabled and are
not really indicative of fatal problems unless they happen continuously.

Lower the log level so that people don't get scared.

Change-ID: I1ceb4adbd10d03cbeed54d1f5b7f20d60328351d
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 18b7af57d9c1165c2b8f13ec4668d6d7f51708cf)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

index 169c256fd6ba2e8207126e10433210cbe45fb3db..9924503c88f54025815dc5976eebf675e23d07b6 100644 (file)
@@ -1232,8 +1232,8 @@ static int i40e_vc_send_msg_to_vf(struct i40e_vf *vf, u32 v_opcode,
        /* single place to detect unsuccessful return values */
        if (v_retval) {
                vf->num_invalid_msgs++;
-               dev_err(&pf->pdev->dev, "VF %d failed opcode %d, error: %d\n",
-                       vf->vf_id, v_opcode, v_retval);
+               dev_info(&pf->pdev->dev, "VF %d failed opcode %d, retval: %d\n",
+                        vf->vf_id, v_opcode, v_retval);
                if (vf->num_invalid_msgs >
                    I40E_DEFAULT_NUM_INVALID_MSGS_ALLOWED) {
                        dev_err(&pf->pdev->dev,
@@ -1251,9 +1251,9 @@ static int i40e_vc_send_msg_to_vf(struct i40e_vf *vf, u32 v_opcode,
        aq_ret = i40e_aq_send_msg_to_vf(hw, abs_vf_id,  v_opcode, v_retval,
                                        msg, msglen, NULL);
        if (aq_ret) {
-               dev_err(&pf->pdev->dev,
-                       "Unable to send the message to VF %d aq_err %d\n",
-                       vf->vf_id, pf->hw.aq.asq_last_status);
+               dev_info(&pf->pdev->dev,
+                        "Unable to send the message to VF %d aq_err %d\n",
+                        vf->vf_id, pf->hw.aq.asq_last_status);
                return -EIO;
        }