*/
                                ice_print_vf_rx_mdd_event(vf);
                                mutex_lock(&vf->cfg_lock);
-                               ice_reset_vf(vf, false);
+                               ice_reset_vf(vf, 0);
                                mutex_unlock(&vf->cfg_lock);
                        }
                }
 
                if (reg & BIT(bit_idx)) {
                        /* GLGEN_VFLRSTAT bit will be cleared in ice_reset_vf */
                        mutex_lock(&vf->cfg_lock);
-                       ice_reset_vf(vf, true);
+                       ice_reset_vf(vf, ICE_VF_RESET_VFLR);
                        mutex_unlock(&vf->cfg_lock);
                }
        }
 static void ice_vc_reset_vf(struct ice_vf *vf)
 {
        ice_vc_notify_vf_reset(vf);
-       ice_reset_vf(vf, false);
+       ice_reset_vf(vf, 0);
 }
 
 /**
 static void ice_vc_reset_vf_msg(struct ice_vf *vf)
 {
        if (test_bit(ICE_VF_STATE_INIT, vf->vf_states))
-               ice_reset_vf(vf, false);
+               ice_reset_vf(vf, 0);
 }
 
 /**
 
 /**
  * ice_reset_vf - Reset a particular VF
  * @vf: pointer to the VF structure
- * @is_vflr: true if VFLR was issued, false if not
+ * @flags: flags controlling behavior of the reset
+ *
+ * Flags:
+ *   ICE_VF_RESET_VFLR - Indicates a reset is due to VFLR event
  *
  * Returns 0 if the VF is currently in reset, if the resets are disabled, or
  * if the VF resets successfully. Returns an error code if the VF fails to
  * rebuild.
  */
-int ice_reset_vf(struct ice_vf *vf, bool is_vflr)
+int ice_reset_vf(struct ice_vf *vf, u32 flags)
 {
        struct ice_pf *pf = vf->pf;
        struct ice_vsi *vsi;
 
        /* Set VF disable bit state here, before triggering reset */
        set_bit(ICE_VF_STATE_DIS, vf->vf_states);
-       ice_trigger_vf_reset(vf, is_vflr, false);
+       ice_trigger_vf_reset(vf, flags & ICE_VF_RESET_VFLR, false);
 
        vsi = ice_get_vf_vsi(vf);
 
 
        struct devlink_port devlink_port;
 };
 
+/* Flags for controlling behavior of ice_reset_vf */
+enum ice_vf_reset_flags {
+       ICE_VF_RESET_VFLR = BIT(0), /* Indicate a VFLR reset */
+};
+
 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf)
 {
        return vf->port_vlan_info.vid;
 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m);
 int
 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m);
-int ice_reset_vf(struct ice_vf *vf, bool is_vflr);
+int ice_reset_vf(struct ice_vf *vf, u32 flags);
 void ice_reset_all_vfs(struct ice_pf *pf);
 #else /* CONFIG_PCI_IOV */
 static inline struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id)
        return -EOPNOTSUPP;
 }
 
-static inline int ice_reset_vf(struct ice_vf *vf, bool is_vflr)
+static inline int ice_reset_vf(struct ice_vf *vf, u32 flags)
 {
        return 0;
 }