]> git.baikalelectronics.ru Git - kernel.git/commit
alx: prepare interrupt functions for multiple queues
authorTobias Regnery <tobias.regnery@gmail.com>
Tue, 15 Nov 2016 11:43:12 +0000 (12:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 03:46:30 +0000 (22:46 -0500)
commit1673419af0e69bb481769748ad9cb50d932f38cc
treed45c84395a15a1825925b6548291120de2c3700c
parent7d574c066c8e43f09e7a2f468f92fa455b60c624
alx: prepare interrupt functions for multiple queues

Extend the interrupt bringup code and the interrupt handler for msi-x
interrupts in order to handle multiple queues.

We must change the poll function because with multiple queues it is possible
that an alx_napi structure has only a tx or only a rx queue pointer.

Based on the downstream driver at github.com/qca/alx

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