mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-10 18:19:22 -04:00
iwlwifi: pcie: request one more interrupt vector
We want to request an interrupt vector for RSS queue per CPU, one vector for fallback queue, and one for non-rx interrupts. Future patch will make sure that no RSS traffic is directed to fallback queue. This will enable us to enable fast path on traffic that otherwise would have been received on the fallback queue. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
committed by
Emmanuel Grumbach
parent
0df1391fee
commit
013a67ea69
@@ -1435,7 +1435,7 @@ static void iwl_pcie_set_interrupt_capa(struct pci_dev *pdev,
|
||||
int ret, i;
|
||||
|
||||
if (trans->cfg->mq_rx_supported) {
|
||||
max_vector = min_t(u32, (num_possible_cpus() + 1),
|
||||
max_vector = min_t(u32, (num_possible_cpus() + 2),
|
||||
IWL_MAX_RX_HW_QUEUES);
|
||||
for (i = 0; i < max_vector; i++)
|
||||
trans_pcie->msix_entries[i].entry = i;
|
||||
|
||||
Reference in New Issue
Block a user