Skip to content

Commit 3dd3e23

Browse files
caildavem330
authored andcommitted
net: aquantia: add link interrupt fields
Declare macroes and nic fields to support link interrupt handling Signed-off-by: Nikita Danilov <[email protected]> Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4c01315 commit 3dd3e23

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

drivers/net/ethernet/aquantia/atlantic/aq_hw.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ struct aq_stats_s {
8888
#define AQ_HW_IRQ_MSI 2U
8989
#define AQ_HW_IRQ_MSIX 3U
9090

91+
#define AQ_HW_SERVICE_IRQS 1U
92+
9193
#define AQ_HW_POWER_STATE_D0 0U
9294
#define AQ_HW_POWER_STATE_D3 3U
9395

drivers/net/ethernet/aquantia/atlantic/aq_nic.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ struct aq_nic_cfg_s {
2626
u64 features;
2727
u32 rxds; /* rx ring size, descriptors # */
2828
u32 txds; /* tx ring size, descriptors # */
29-
u32 vecs; /* vecs==allocated irqs */
29+
u32 vecs; /* allocated rx/tx vectors */
30+
u32 link_irq_vec;
3031
u32 irq_type;
3132
u32 itr;
3233
u16 rx_itr;

0 commit comments

Comments
 (0)