[PATCH openEuler-5.10 099/118] net: dsa: b53: Fix calculating number of switch ports