@@ -96,6 +96,7 @@ extern const char ice_drv_ver[];
96
96
#define ICE_TX_DESC (R , i ) (&(((struct ice_tx_desc *)((R)->desc))[i]))
97
97
#define ICE_RX_DESC (R , i ) (&(((union ice_32b_rx_flex_desc *)((R)->desc))[i]))
98
98
#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]))
99
100
100
101
/* Macro for each VSI in a PF */
101
102
#define ice_for_each_vsi (pf , i ) \
@@ -216,6 +217,7 @@ enum ice_state {
216
217
__ICE_CFG_BUSY ,
217
218
__ICE_SERVICE_SCHED ,
218
219
__ICE_SERVICE_DIS ,
220
+ __ICE_FD_FLUSH_REQ ,
219
221
__ICE_OICR_INTR_DIS , /* Global OICR interrupt disabled */
220
222
__ICE_MDD_VF_PRINT_PENDING , /* set when MDD event handle */
221
223
__ICE_VF_RESETS_DISABLED , /* disable resets during ice_remove */
@@ -557,6 +559,8 @@ void ice_print_link_msg(struct ice_vsi *vsi, bool isup);
557
559
const char * ice_stat_str (enum ice_status stat_err );
558
560
const char * ice_aq_str (enum ice_aq_err aq_err );
559
561
void 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 );
560
564
int ice_get_ethtool_fdir_entry (struct ice_hw * hw , struct ethtool_rxnfc * cmd );
561
565
int
562
566
ice_get_fdir_fltr_ids (struct ice_hw * hw , struct ethtool_rxnfc * cmd ,
0 commit comments