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