Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37187a01 authored by Tobias Regnery's avatar Tobias Regnery Committed by David S. Miller
Browse files

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: d768319c ("alx: enable multiple tx queues")
Signed-off-by: default avatarTobias Regnery <tobias.regnery@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f1db5c10
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -984,6 +984,7 @@ static int alx_realloc_resources(struct alx_priv *alx)
	alx_free_rings(alx);
	alx_free_napis(alx);
	alx_disable_advanced_intr(alx);
	alx_init_intr(alx, false);

	err = alx_alloc_napis(alx);
	if (err)