]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85fcb57dffd0c906baf36930fc9a98122bfe1603
treec210fb880d9545fa47541eba077bf7671e09a8c3
parent6a070a89efbf12106aea723986509f5eb2a15990
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