[PATCH 6.1 011/167] net: dsa: add support for mac_prepare() and mac_finish() calls