]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit37187a016c37d7e550544544dba25399ce4589c9
tree561cd169a70c272f9f6ab340d95235e7f92ae871
parentf1db5c101cd48b5555ed9e061dcc49ed329812ea
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: d768319cd427 ("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