[PATCH 6.17 454/563] net: macb: move ring size computation to functions