i40e: Remove a FW workaround
authorCatherine Sullivan <[email protected]>
Sat, 8 Mar 2014 06:51:11 +0000 (06:51 +0000)
committerJeff Kirsher <[email protected]>
Tue, 22 Apr 2014 04:12:10 +0000 (21:12 -0700)
Remove the FW workaround to increment the number of msix vectors.

Signed-off-by: Catherine Sullivan <[email protected]>
Acked-by: Shannon Nelson <[email protected]>
Tested-by: Kavindya Deegala <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_main.c

index 7f16f12323a7f3c89d2707c7569a82f94fdd780f..7beef103aabcc6e54caf4fe6464b951b129ab301 100644 (file)
@@ -5223,9 +5223,6 @@ static int i40e_get_capabilities(struct i40e_pf *pf)
                }
        } while (err);
 
-       /* increment MSI-X count because current FW skips one */
-       pf->hw.func_caps.num_msix_vectors++;
-
        if (((pf->hw.aq.fw_maj_ver == 2) && (pf->hw.aq.fw_min_ver < 22)) ||
            (pf->hw.aq.fw_maj_ver < 2)) {
                pf->hw.func_caps.num_msix_vectors++;