[PATCH v7 4/8] net: dsa: allow rcv() and xmit() to be optional