diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2014-05-10 00:49:05 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-06-08 05:01:31 -0400 |
commit | 635ae1e3f55f215648b086855a83ab42361af4cd (patch) | |
tree | 953dd52a4ae770d698f62a6caff4bf4116ecb199 /drivers/net/ethernet/intel/i40evf/i40evf_main.c | |
parent | 249c8b8d7e2d1bf9505dc46458537e77326c24fd (diff) |
i40evf: remove bogus comment
This comment is just plain false. VF drivers require MSI-X or they won't
get interrupts at all.
Change-ID: Iaea5e30b6926948aa834a3c506d9a9223d9e3e29
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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40evf_main.c')
-rw-r--r-- | drivers/net/ethernet/intel/i40evf/i40evf_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c index 360a91188437..c8ad8385d271 100644 --- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c +++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c | |||
@@ -1130,9 +1130,6 @@ static int i40evf_set_interrupt_capability(struct i40evf_adapter *adapter) | |||
1130 | v_budget = min_t(int, pairs, (int)(num_online_cpus() * 2)) + NONQ_VECS; | 1130 | v_budget = min_t(int, pairs, (int)(num_online_cpus() * 2)) + NONQ_VECS; |
1131 | v_budget = min_t(int, v_budget, (int)adapter->vf_res->max_vectors); | 1131 | v_budget = min_t(int, v_budget, (int)adapter->vf_res->max_vectors); |
1132 | 1132 | ||
1133 | /* A failure in MSI-X entry allocation isn't fatal, but it does | ||
1134 | * mean we disable MSI-X capabilities of the adapter. | ||
1135 | */ | ||
1136 | adapter->msix_entries = kcalloc(v_budget, | 1133 | adapter->msix_entries = kcalloc(v_budget, |
1137 | sizeof(struct msix_entry), GFP_KERNEL); | 1134 | sizeof(struct msix_entry), GFP_KERNEL); |
1138 | if (!adapter->msix_entries) { | 1135 | if (!adapter->msix_entries) { |