]> git.baikalelectronics.ru Git - kernel.git/commit
alx: fix fallback to msi or legacy interrupts
authorTobias Regnery <tobias.regnery@gmail.com>
Tue, 24 Jan 2017 13:34:23 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 20:27:58 +0000 (15:27 -0500)
commit3022c292d66ad8abf799d5e588957647b796cecb
tree561cd169a70c272f9f6ab340d95235e7f92ae871
parent65143b4d40c5280302b883bba042a1981ee26467
alx: fix fallback to msi or legacy interrupts

If requesting msi-x interrupts fails we should fall back to msi or
legacy interrupts. However alx_realloc_ressources don't call
alx_init_intr, so we fail to set the right number of tx queues.
This results in watchdog timeouts and a nonfunctional adapter.

Fixes: b84772222f05 ("alx: enable multiple tx queues")
Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/main.c