linux/drivers/net/ethernet/atheros
Tobias Regnery 185aceefd8 alx: work around hardware bug in interrupt fallback path
If requesting msi-x interrupts fails in alx_request_irq we fall back to
a single tx queue and msi or legacy interrupts.

Currently the adapter stops working in this case and we get tx watchdog
timeouts. For reasons unknown the adapter gets confused when we load the
dma adresses to the chip in alx_init_ring_ptrs twice: the first time with
multiple queues and the second time in the fallback case with a single
queue.

To fix this move the the call to alx_reinit_rings (which calls
alx_init_ring_ptrs) after alx_request_irq. At this time it is clear how
much tx queues we have and which dma addresses we use.

Fixes: d768319cd4 ("alx: enable multiple tx queues")
Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-24 15:27:58 -05:00
..
alx alx: work around hardware bug in interrupt fallback path 2017-01-24 15:27:58 -05:00
atl1c net: atheros: atl1c: use new api ethtool_{get|set}_link_ksettings 2016-11-14 13:37:42 -05:00
atl1e net: atheros: atl1e: use new api ethtool_{get|set}_link_ksettings 2016-11-13 13:53:01 -05:00
atlx net: atheros: atl2: use new api ethtool_{get|set}_link_ksettings 2016-11-14 13:37:43 -05:00
Kconfig
Makefile