net-next: dsa: add Qualcomm tag RX/TX handler
Add support for the 2-bytes Qualcomm tag that gigabit switches such as the QCA8337/N might insert when receiving packets, or that we need to insert while targeting specific switch ports. The tag is inserted directly behind the ethernet header. Reviewed-by:Andrew Lunn <andrew@lunn.ch> Reviewed-by:
Florian Fainelli <f.fainelli@gmail.com> Signed-off-by:
John Crispin <john@phrozen.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/dsa.h 1 addition, 0 deletionsinclude/net/dsa.h
- net/dsa/Kconfig 3 additions, 0 deletionsnet/dsa/Kconfig
- net/dsa/Makefile 1 addition, 0 deletionsnet/dsa/Makefile
- net/dsa/dsa.c 3 additions, 0 deletionsnet/dsa/dsa.c
- net/dsa/dsa_priv.h 2 additions, 0 deletionsnet/dsa/dsa_priv.h
- net/dsa/tag_qca.c 138 additions, 0 deletionsnet/dsa/tag_qca.c
Loading
Please register or sign in to comment