diff options
author | Ong Boon Leong <boon.leong.ong@intel.com> | 2021-03-26 01:39:15 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-25 17:37:30 -0700 |
commit | b42446b9b37ba444ba12d89dd9d45c2b68768f24 (patch) | |
tree | 70b4f00bb4094576e3bb558320fc60b02b00e2bc /drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | |
parent | 8532f613bc78b6e0e32b486e720848d3f5569287 (diff) | |
download | lwn-b42446b9b37ba444ba12d89dd9d45c2b68768f24.tar.gz lwn-b42446b9b37ba444ba12d89dd9d45c2b68768f24.zip |
stmmac: intel: add support for multi-vector msi and msi-x
Intel mgbe controller supports multi-vector interrupts:
msi_rx_vec 0,2,4,6,8,10,12,14
msi_tx_vec 1,3,5,7,9,11,13,15
msi_sfty_ue_vec 26
msi_sfty_ce_vec 27
msi_lpi_vec 28
msi_mac_vec 29
During probe(), the driver will starts with request allocation for
multi-vector interrupts. If it fails, then it will automatically fallback
to request allocation for single interrupts.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Co-developed-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_main.c')
0 files changed, 0 insertions, 0 deletions