@@ -96,6 +96,7 @@ extern const char ice_drv_ver[];
9696#define ICE_TX_DESC (R , i ) (&(((struct ice_tx_desc *)((R)->desc))[i]))
9797#define ICE_RX_DESC (R , i ) (&(((union ice_32b_rx_flex_desc *)((R)->desc))[i]))
9898#define ICE_TX_CTX_DESC (R , i ) (&(((struct ice_tx_ctx_desc *)((R)->desc))[i]))
99+ #define ICE_TX_FDIRDESC (R , i ) (&(((struct ice_fltr_desc *)((R)->desc))[i]))
99100
100101/* Macro for each VSI in a PF */
101102#define ice_for_each_vsi (pf , i ) \
@@ -216,6 +217,7 @@ enum ice_state {
216217 __ICE_CFG_BUSY ,
217218 __ICE_SERVICE_SCHED ,
218219 __ICE_SERVICE_DIS ,
220+ __ICE_FD_FLUSH_REQ ,
219221 __ICE_OICR_INTR_DIS , /* Global OICR interrupt disabled */
220222 __ICE_MDD_VF_PRINT_PENDING , /* set when MDD event handle */
221223 __ICE_VF_RESETS_DISABLED , /* disable resets during ice_remove */
@@ -557,6 +559,8 @@ void ice_print_link_msg(struct ice_vsi *vsi, bool isup);
557559const char * ice_stat_str (enum ice_status stat_err );
558560const char * ice_aq_str (enum ice_aq_err aq_err );
559561void ice_vsi_manage_fdir (struct ice_vsi * vsi , bool ena );
562+ int ice_add_fdir_ethtool (struct ice_vsi * vsi , struct ethtool_rxnfc * cmd );
563+ int ice_del_fdir_ethtool (struct ice_vsi * vsi , struct ethtool_rxnfc * cmd );
560564int ice_get_ethtool_fdir_entry (struct ice_hw * hw , struct ethtool_rxnfc * cmd );
561565int
562566ice_get_fdir_fltr_ids (struct ice_hw * hw , struct ethtool_rxnfc * cmd ,
0 commit comments