diff options
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 4b44a8efac8c..d743d0ed5c2e 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -187,6 +187,7 @@ struct ixgbe_q_vector { | |||
187 | u8 tx_itr; | 187 | u8 tx_itr; |
188 | u8 rx_itr; | 188 | u8 rx_itr; |
189 | u32 eitr; | 189 | u32 eitr; |
190 | u32 v_idx; /* vector index in list */ | ||
190 | }; | 191 | }; |
191 | 192 | ||
192 | /* Helper macros to switch between ints/sec and what the register uses. | 193 | /* Helper macros to switch between ints/sec and what the register uses. |
@@ -230,7 +231,7 @@ struct ixgbe_adapter { | |||
230 | struct vlan_group *vlgrp; | 231 | struct vlan_group *vlgrp; |
231 | u16 bd_number; | 232 | u16 bd_number; |
232 | struct work_struct reset_task; | 233 | struct work_struct reset_task; |
233 | struct ixgbe_q_vector q_vector[MAX_MSIX_Q_VECTORS]; | 234 | struct ixgbe_q_vector *q_vector[MAX_MSIX_Q_VECTORS]; |
234 | char name[MAX_MSIX_COUNT][IFNAMSIZ + 9]; | 235 | char name[MAX_MSIX_COUNT][IFNAMSIZ + 9]; |
235 | struct ixgbe_dcb_config dcb_cfg; | 236 | struct ixgbe_dcb_config dcb_cfg; |
236 | struct ixgbe_dcb_config temp_dcb_cfg; | 237 | struct ixgbe_dcb_config temp_dcb_cfg; |
@@ -367,10 +368,8 @@ extern int ixgbe_setup_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *) | |||
367 | extern void ixgbe_free_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 368 | extern void ixgbe_free_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); |
368 | extern void ixgbe_free_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 369 | extern void ixgbe_free_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); |
369 | extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); | 370 | extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); |
370 | extern void ixgbe_reset_interrupt_capability(struct ixgbe_adapter *adapter); | ||
371 | extern int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter); | 371 | extern int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter); |
372 | void ixgbe_napi_add_all(struct ixgbe_adapter *adapter); | 372 | extern void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter); |
373 | void ixgbe_napi_del_all(struct ixgbe_adapter *adapter); | ||
374 | extern void ixgbe_write_eitr(struct ixgbe_adapter *, int, u32); | 373 | extern void ixgbe_write_eitr(struct ixgbe_adapter *, int, u32); |
375 | 374 | ||
376 | #endif /* _IXGBE_H_ */ | 375 | #endif /* _IXGBE_H_ */ |