aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMitch Williams <[email protected]>2015-04-27 14:57:09 -0400
committerJeff Kirsher <[email protected]>2015-07-14 18:26:41 -0700
commit973371da4d66b96736143bd3f2b2ff2331faae8f (patch)
treefc73faa01c6a0db5f8ddc300c0bc2ebdc37bae99 /lib/memory-notifier-error-inject.c
parent489ce7a46306052ab4ef26c6305051c5f1b24bb4 (diff)
i40evf: Allow for an abundance of vectors
The driver currently only maps TX and RX queues to a single MSI-X vector per queue pair if there are exactly enough vectors for this. Unfortunately, if we have too many vectors it will fail and allocate queues to vectors in a suboptimal manner. Change the condition check to allow for excess vectors. In this case, the extras just won't be used. Change-ID: I23e1e2955c64739c86612db88a25583e6a7e0b17 Signed-off-by: Mitch Williams <[email protected]> Tested-by: Jim Young <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions