]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-hsr-offload'
authorDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:24:45 +0000 (13:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:24:45 +0000 (13:24 -0800)
commite4cf461b55153c610f0a44684c922b3ac24a4693
treec210fb880d9545fa47541eba077bf7671e09a8c3
parent66b197a9741fd928daa144398ff78abc92805d8b
parent85fcb57dffd0c906baf36930fc9a98122bfe1603
Merge branch 'dsa-hsr-offload'

George McCollister says:

====================
add HSR offloading support for DSA switches

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.

Changes since RFC:
 * Split hsr and dsa patches. (Florian Fainelli)

Changes since v1:
 * Fixed some typos/wording. (Vladimir Oltean)
 * eliminate IFF_HSR and use is_hsr_master instead. (Vladimir Oltean)
 * Make hsr_handle_sup_frame handle skb_std as well (required when offloading)
 * Don't add hsr tag for HSR v0 supervisory frames.
 * Fixed tag insertion offloading for PRP.

Changes since v2:
 * Return -EOPNOTSUPP instead of 0 in dsa_switch_hsr_join and
   dsa_switch_hsr_leave. (Vladimir Oltean)
 * Only allow ports 1 and 2 to be HSR/PRP redundant ports. (Tobias Waldekranz)
 * Set and remove HSR features for both redundant ports. (Vladimir Oltean)
 * Change port_hsr_leave() to return int instead of void.
 * Remove hsr_init_skb() proto argument. (Vladimir Oltean)
===================

Signed-off-by: David S. Miller <davem@davemloft.net>