[PATCH openEuler-5.10 43/68] ionic: fix up dim accounting for tx and rx