net: dsa: xrs700x: add HSR offloading support
authorGeorge McCollister <george.mccollister@gmail.com>
Wed, 10 Feb 2021 01:02:13 +0000 (19:02 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:24:45 +0000 (13:24 -0800)
commitbd62e6f5e6a98f1657cf9c3b632bdb7a2e78d42c
treec210fb880d9545fa47541eba077bf7671e09a8c3
parent18596f504a3e56c4f8e132b2a437cbe23a3f4635
net: dsa: xrs700x: add HSR offloading support

Add offloading for HSR/PRP (IEC 62439-3) tag insertion, tag removal
forwarding and duplication supported by the xrs7000 series switches.

Only HSR v1 and PRP v1 are supported by the xrs7000 series switches (HSR
v0 is not).

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/xrs700x/xrs700x.c
drivers/net/dsa/xrs700x/xrs700x_reg.h
net/dsa/tag_xrs700x.c