OSDN Git Service

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)
commite0eac25460902a4eda07c0e9b3e749d198e074fa
treed45c84395a15a1825925b6548291120de2c3700c
parent702e84185f472457912c641d8c0cc0cc786310eb
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