net: aquantia: add link interrupt fields
Declare macroes and nic fields to support link interrupt handling Signed-off-by: Nikita Danilov <ndanilov@aquantia.com> Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
4c0131539f
Коммит
3dd3e236d7
|
@ -88,6 +88,8 @@ struct aq_stats_s {
|
|||
#define AQ_HW_IRQ_MSI 2U
|
||||
#define AQ_HW_IRQ_MSIX 3U
|
||||
|
||||
#define AQ_HW_SERVICE_IRQS 1U
|
||||
|
||||
#define AQ_HW_POWER_STATE_D0 0U
|
||||
#define AQ_HW_POWER_STATE_D3 3U
|
||||
|
||||
|
|
|
@ -26,7 +26,8 @@ struct aq_nic_cfg_s {
|
|||
u64 features;
|
||||
u32 rxds; /* rx ring size, descriptors # */
|
||||
u32 txds; /* tx ring size, descriptors # */
|
||||
u32 vecs; /* vecs==allocated irqs */
|
||||
u32 vecs; /* allocated rx/tx vectors */
|
||||
u32 link_irq_vec;
|
||||
u32 irq_type;
|
||||
u32 itr;
|
||||
u16 rx_itr;
|
||||
|
|
Загрузка…
Ссылка в новой задаче