[PATCH 5.13 058/104] ionic: fix up dim accounting for tx and rx