diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h index 4c4b5717a627..b8548370f1c7 100644 --- a/drivers/net/ethernet/intel/ice/ice.h +++ b/drivers/net/ethernet/intel/ice/ice.h | |||
@@ -76,6 +76,8 @@ extern const char ice_drv_ver[]; | |||
76 | #define ICE_MIN_INTR_PER_VF (ICE_MIN_QS_PER_VF + 1) | 76 | #define ICE_MIN_INTR_PER_VF (ICE_MIN_QS_PER_VF + 1) |
77 | #define ICE_DFLT_INTR_PER_VF (ICE_DFLT_QS_PER_VF + 1) | 77 | #define ICE_DFLT_INTR_PER_VF (ICE_DFLT_QS_PER_VF + 1) |
78 | 78 | ||
79 | #define ICE_MAX_RESET_WAIT 20 | ||
80 | |||
79 | #define ICE_VSIQF_HKEY_ARRAY_SIZE ((VSIQF_HKEY_MAX_INDEX + 1) * 4) | 81 | #define ICE_VSIQF_HKEY_ARRAY_SIZE ((VSIQF_HKEY_MAX_INDEX + 1) * 4) |
80 | 82 | ||
81 | #define ICE_DFLT_NETIF_M (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK) | 83 | #define ICE_DFLT_NETIF_M (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK) |
@@ -189,7 +191,6 @@ struct ice_vsi { | |||
189 | u64 tx_linearize; | 191 | u64 tx_linearize; |
190 | DECLARE_BITMAP(state, __ICE_STATE_NBITS); | 192 | DECLARE_BITMAP(state, __ICE_STATE_NBITS); |
191 | DECLARE_BITMAP(flags, ICE_VSI_FLAG_NBITS); | 193 | DECLARE_BITMAP(flags, ICE_VSI_FLAG_NBITS); |
192 | unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; | ||
193 | unsigned int current_netdev_flags; | 194 | unsigned int current_netdev_flags; |
194 | u32 tx_restart; | 195 | u32 tx_restart; |
195 | u32 tx_busy; | 196 | u32 tx_busy; |
@@ -369,5 +370,6 @@ int ice_set_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size); | |||
369 | int ice_get_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size); | 370 | int ice_get_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size); |
370 | void ice_fill_rss_lut(u8 *lut, u16 rss_table_size, u16 rss_size); | 371 | void ice_fill_rss_lut(u8 *lut, u16 rss_table_size, u16 rss_size); |
371 | void ice_print_link_msg(struct ice_vsi *vsi, bool isup); | 372 | void ice_print_link_msg(struct ice_vsi *vsi, bool isup); |
373 | void ice_napi_del(struct ice_vsi *vsi); | ||
372 | 374 | ||
373 | #endif /* _ICE_H_ */ | 375 | #endif /* _ICE_H_ */ |