diff options
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h index b5252eb8a6c7..49572dcdba87 100644 --- a/drivers/net/ethernet/intel/i40e/i40e.h +++ b/drivers/net/ethernet/intel/i40e/i40e.h | |||
@@ -347,9 +347,9 @@ struct i40e_vsi { | |||
347 | u32 rx_buf_failed; | 347 | u32 rx_buf_failed; |
348 | u32 rx_page_failed; | 348 | u32 rx_page_failed; |
349 | 349 | ||
350 | /* These are arrays of rings, allocated at run-time */ | 350 | /* These are containers of ring pointers, allocated at run-time */ |
351 | struct i40e_ring *rx_rings; | 351 | struct i40e_ring **rx_rings; |
352 | struct i40e_ring *tx_rings; | 352 | struct i40e_ring **tx_rings; |
353 | 353 | ||
354 | u16 work_limit; | 354 | u16 work_limit; |
355 | /* high bit set means dynamic, use accessor routines to read/write. | 355 | /* high bit set means dynamic, use accessor routines to read/write. |
@@ -366,7 +366,7 @@ struct i40e_vsi { | |||
366 | u8 dtype; | 366 | u8 dtype; |
367 | 367 | ||
368 | /* List of q_vectors allocated to this VSI */ | 368 | /* List of q_vectors allocated to this VSI */ |
369 | struct i40e_q_vector *q_vectors; | 369 | struct i40e_q_vector **q_vectors; |
370 | int num_q_vectors; | 370 | int num_q_vectors; |
371 | int base_vector; | 371 | int base_vector; |
372 | 372 | ||
@@ -422,8 +422,9 @@ struct i40e_q_vector { | |||
422 | 422 | ||
423 | u8 num_ringpairs; /* total number of ring pairs in vector */ | 423 | u8 num_ringpairs; /* total number of ring pairs in vector */ |
424 | 424 | ||
425 | char name[IFNAMSIZ + 9]; | ||
426 | cpumask_t affinity_mask; | 425 | cpumask_t affinity_mask; |
426 | struct rcu_head rcu; /* to avoid race with update stats on free */ | ||
427 | char name[IFNAMSIZ + 9]; | ||
427 | } ____cacheline_internodealigned_in_smp; | 428 | } ____cacheline_internodealigned_in_smp; |
428 | 429 | ||
429 | /* lan device */ | 430 | /* lan device */ |
@@ -544,6 +545,7 @@ static inline void i40e_dbg_init(void) {} | |||
544 | static inline void i40e_dbg_exit(void) {} | 545 | static inline void i40e_dbg_exit(void) {} |
545 | #endif /* CONFIG_DEBUG_FS*/ | 546 | #endif /* CONFIG_DEBUG_FS*/ |
546 | void i40e_irq_dynamic_enable(struct i40e_vsi *vsi, int vector); | 547 | void i40e_irq_dynamic_enable(struct i40e_vsi *vsi, int vector); |
548 | void i40e_irq_dynamic_enable_icr0(struct i40e_pf *pf); | ||
547 | int i40e_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd); | 549 | int i40e_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd); |
548 | void i40e_vlan_stripping_disable(struct i40e_vsi *vsi); | 550 | void i40e_vlan_stripping_disable(struct i40e_vsi *vsi); |
549 | int i40e_vsi_add_vlan(struct i40e_vsi *vsi, s16 vid); | 551 | int i40e_vsi_add_vlan(struct i40e_vsi *vsi, s16 vid); |