On Sat, May 09, 2020 at 06:41:05PM +0200, Andrew Lunn wrote:
+/* For ingress (Host -> KSZ8863), 1 byte is added before FCS.
+ * ---
+ * DA(6bytes)|SA(6bytes)||Data(nbytes)|tag0(1byte)|tag1(1byte)|FCS(4bytes)
+ * -
> +/* For ingress (Host -> KSZ8863), 1 byte is added before FCS.
> + *
> ---
> + *
> DA(6bytes)|SA(6bytes)||Data(nbytes)|tag0(1byte)|tag1(1byte)|FCS(4bytes)
> + *
> ---
Add DSA tag code for Microchip KSZ8863 switch.
Reviewed-by: Florian Fainelli
Signed-off-by: Michael Grzeschik
---
v1 -> v2: - fixed __be16 handling
v2 -> v3: - nothing
include/net/dsa.h | 2 ++
net/dsa/tag_ksz.c | 57 +++
2 files changed, 59 inserti