i40e: Change MSIX to MSI-X
authorCatherine Sullivan <catherine.sullivan@intel.com>
Fri, 21 Feb 2014 03:29:17 +0000 (19:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Feb 2014 17:38:26 +0000 (12:38 -0500)
Fix inconsistent use of MSIX and MSI-X in messages.

Change-ID: Iae9ffb42819677c34544719044ed77632e06147d
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c

index 5259a602add0c336a392b48f763d06b550bf2770..0d340d2f4d5ed5706d38837a2becb04f4beda603 100644 (file)
@@ -5925,7 +5925,7 @@ static int i40e_init_msix(struct i40e_pf *pf)
 
        } else if (vec == I40E_MIN_MSIX) {
                /* Adjust for minimal MSIX use */
-               dev_info(&pf->pdev->dev, "Features disabled, not enough MSIX vectors\n");
+               dev_info(&pf->pdev->dev, "Features disabled, not enough MSI-X vectors\n");
                pf->flags &= ~I40E_FLAG_VMDQ_ENABLED;
                pf->num_vmdq_vsis = 0;
                pf->num_vmdq_qps = 0;
@@ -6054,7 +6054,7 @@ static void i40e_init_interrupt_scheme(struct i40e_pf *pf)
 
        if (!(pf->flags & I40E_FLAG_MSIX_ENABLED) &&
            (pf->flags & I40E_FLAG_MSI_ENABLED)) {
-               dev_info(&pf->pdev->dev, "MSIX not available, trying MSI\n");
+               dev_info(&pf->pdev->dev, "MSI-X not available, trying MSI\n");
                err = pci_enable_msi(pf->pdev);
                if (err) {
                        dev_info(&pf->pdev->dev, "MSI init failed - %d\n", err);
@@ -6063,7 +6063,7 @@ static void i40e_init_interrupt_scheme(struct i40e_pf *pf)
        }
 
        if (!(pf->flags & (I40E_FLAG_MSIX_ENABLED | I40E_FLAG_MSI_ENABLED)))
-               dev_info(&pf->pdev->dev, "MSIX and MSI not available, falling back to Legacy IRQ\n");
+               dev_info(&pf->pdev->dev, "MSI-X and MSI not available, falling back to Legacy IRQ\n");
 
        /* track first vector for misc interrupts */
        err = i40e_get_lump(pf, pf->irq_pile, 1, I40E_PILE_VALID_BIT-1);
@@ -6090,7 +6090,8 @@ static int i40e_setup_misc_vector(struct i40e_pf *pf)
                                  i40e_intr, 0, pf->misc_int_name, pf);
                if (err) {
                        dev_info(&pf->pdev->dev,
-                                "request_irq for msix_misc failed: %d\n", err);
+                                "request_irq for %s failed: %d\n",
+                                pf->misc_int_name, err);
                        return -EFAULT;
                }
        }
index c4185f09431f522524396ddd47aec179e9722c6b..1e0171c9db4272da19ccf448ea43e9443040d35b 100644 (file)
@@ -524,7 +524,8 @@ static int i40evf_request_misc_irq(struct i40evf_adapter *adapter)
                          adapter->misc_vector_name, netdev);
        if (err) {
                dev_err(&adapter->pdev->dev,
-                       "request_irq for msix_aq failed: %d\n", err);
+                       "request_irq for %s failed: %d\n",
+                       adapter->misc_vector_name, err);
                free_irq(adapter->msix_entries[0].vector, netdev);
        }
        return err;