alx: add msi-x support
authorTobias Regnery <tobias.regnery@gmail.com>
Fri, 9 Sep 2016 10:19:54 +0000 (12:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Sep 2016 03:51:21 +0000 (20:51 -0700)
commitdc39a78b3c6113dcad5e0f52e3b9deba7ad2fa3d
tree2753ff9db2e479f9e9e69a2cbb875fd85d61b307
parenta0373aef3ecf12d97a8332f953f0e16092f068b4
alx: add msi-x support

Add msi-x support to the alx driver. This is in preparation for multi queue
support.

msi-x interrupts are disabled by default because without multi queue support
there is no advantage over msi interrupts. The performance numbers observed
with iperf stay the same.

Based on information of 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/alx.h
drivers/net/ethernet/atheros/alx/hw.c
drivers/net/ethernet/atheros/alx/hw.h
drivers/net/ethernet/atheros/alx/main.c