commit | f7c39e3d1e094af1c3e0676b76c00d8c1f8e7774 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Nov 10 15:22:53 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 13 10:34:54 2017 +0900 |
tree | 1babdd4f4841a2a1029a9455838cf2fe9b7c7987 | |
parent | 5ed4e3eb021762fee584ce65620bc822131c7aa0 [diff] |
net: dsa: tag_brcm: Prepare for supporting prepended tag In preparation for supporting the same Broadcom tag format, but instead of inserted between the MAC SA and EtherType, prepended to the Ethernet frame, restructure the code a little bit to make that possible and take an offset parameter. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>