diff options
author | Netanel Belgazal <netanel@amazon.com> | 2017-06-23 11:21:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-23 14:15:10 -0400 |
commit | 06443684daede6ded1fab8f8729249436fb0cd8e (patch) | |
tree | 6eaf3e369d014d4c12443c43f056174ebc8a6e67 /sound/oss/msnd_classic.h | |
parent | ad974baef2a17a170fe837ad19f10dcab63e9470 (diff) |
net: ena: allow the driver to work with small number of msix vectors
Current driver tries to allocate msix vectors as the number of the
negotiated io queues. (with another msix vector for management).
If pci_alloc_irq_vectors() fails, the driver aborts the probe
and the ENA network device is never brought up.
With this patch, the driver's logic will reduce the number of IO
queues to the number of allocated msix vectors (minus one for management)
instead of failing probe().
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/oss/msnd_classic.h')
0 files changed, 0 insertions, 0 deletions