]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
i40evf: make messages less dire
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 23 Apr 2014 04:50:00 +0000 (04:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Jun 2014 08:59:52 +0000 (01:59 -0700)
Depending on the timing of what the PF driver is doing, it make take a
few tries before the VF driver is able to communicate with the PF driver
on init or reset recovery. In order to prevent confusion, make the most
common messages less scary by lowering them to a less terrifying log
level and indicate that the driver will retry.

Change-ID: I1ec22aa59a68f4469aabe14775a1bfc1ab4b7f2f
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c

index d24f40f1673ae9edc946f10d976c51645156f796..f6a2bdc54660ea87b0aea58f7f626924665bb342 100644 (file)
@@ -1963,7 +1963,7 @@ static void i40evf_init_task(struct work_struct *work)
                }
                err = i40evf_check_reset_complete(hw);
                if (err) {
-                       dev_err(&pdev->dev, "Device is still in reset (%d)\n",
+                       dev_info(&pdev->dev, "Device is still in reset (%d), retrying\n",
                                err);
                        goto err;
                }
@@ -1996,7 +1996,7 @@ static void i40evf_init_task(struct work_struct *work)
                /* aq msg sent, awaiting reply */
                err = i40evf_verify_api_ver(adapter);
                if (err) {
-                       dev_err(&pdev->dev, "Unable to verify API version (%d)\n",
+                       dev_info(&pdev->dev, "Unable to verify API version (%d), retrying\n",
                                err);
                        goto err;
                }