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>
This commit is contained in:

committed by
David S. Miller

parent
a0373aef3e
commit
dc39a78b3c
@@ -84,6 +84,11 @@ struct alx_priv {
|
||||
|
||||
struct alx_hw hw;
|
||||
|
||||
/* msi-x vectors */
|
||||
int num_vec;
|
||||
struct msix_entry *msix_entries;
|
||||
char irq_lbl[IFNAMSIZ + 8];
|
||||
|
||||
/* all descriptor memory */
|
||||
struct {
|
||||
dma_addr_t dma;
|
||||
|
Reference in New Issue
Block a user