[PATCH openEuler-5.10 84/99] iavf: Refactor iavf state machine tracking