Merge branch 'tc-gate-offload-for-SJA1105-DSA-switch'
authorDavid S. Miller <davem@davemloft.net>
Fri, 8 May 2020 00:31:57 +0000 (17:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 May 2020 00:31:57 +0000 (17:31 -0700)
commiteb55d7b65f1735dfb39fb14e47007d3c8fb74c43
tree7291c4c01e4c92710866db5cf84a67e0972a461d
parentbb206a0869b7f1e7c853d7b94e91510c321402c7
parent47cfa3af4e23f5ea29ed9202557c428b43742c57
Merge branch 'tc-gate-offload-for-SJA1105-DSA-switch'

Vladimir Oltean says:

====================
tc-gate offload for SJA1105 DSA switch

Expose the TTEthernet hardware features of the switch using standard
tc-flower actions: trap, drop, redirect and gate.

v1 was submitted at:
https://patchwork.ozlabs.org/project/netdev/cover/20200503211035.19363-1-olteanv@gmail.com/

v2 was submitted at:
https://patchwork.ozlabs.org/project/netdev/cover/20200503211035.19363-1-olteanv@gmail.com/

Changes in v3:
Made sure there are no compilation warnings when
CONFIG_NET_DSA_SJA1105_TAS or CONFIG_NET_DSA_SJA1105_VL are disabled.

Changes in v2:
Using a newly introduced dsa_port_from_netdev public helper.
====================

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