Add support for offloading HSR/PRP (IEC 62439-3) tag insertion, tag removal, forwarding and duplication on DSA switches. This series adds offloading to the xrs700x DSA driver.
Resent. Jakub says "looks like this is not showing up in patchwork probably because of the ML server issue - please repost" Changes since RFC: * Split hsr and dsa patches. (Florian Fainelli) George McCollister (4): net: hsr: generate supervision frame without HSR tag net: hsr: add offloading support net: dsa: add support for offloading HSR net: dsa: xrs700x: add HSR offloading support Documentation/networking/netdev-features.rst | 20 +++++ drivers/net/dsa/xrs700x/xrs700x.c | 106 +++++++++++++++++++++++++++ drivers/net/dsa/xrs700x/xrs700x_reg.h | 5 ++ include/linux/if_hsr.h | 22 ++++++ include/linux/netdev_features.h | 9 +++ include/linux/netdevice.h | 13 ++++ include/net/dsa.h | 13 ++++ net/dsa/dsa_priv.h | 11 +++ net/dsa/port.c | 34 +++++++++ net/dsa/slave.c | 13 ++++ net/dsa/switch.c | 24 ++++++ net/dsa/tag_xrs700x.c | 7 +- net/ethtool/common.c | 4 + net/hsr/hsr_device.c | 44 ++--------- net/hsr/hsr_forward.c | 37 ++++++++-- net/hsr/hsr_forward.h | 1 + net/hsr/hsr_main.c | 14 ++++ net/hsr/hsr_main.h | 8 +- net/hsr/hsr_slave.c | 13 +++- 19 files changed, 343 insertions(+), 55 deletions(-) create mode 100644 include/linux/if_hsr.h -- 2.11.0