net: dsa: change tag_protocol to an enum