]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-dsa-mv88e6xxx-add-PCL-support'
authorDavid S. Miller <davem@davemloft.net>
Tue, 10 Sep 2019 15:53:31 +0000 (16:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Sep 2019 15:53:31 +0000 (16:53 +0100)
commit07d24241264bb19b5518a6d45da13b85c71a3f20
tree4eb25a6df0f3b1d7a0188b0f556ed5cfed549f3c
parentb1d6a2754ce2ecc98118cb490a3a467ccb17e160
parent253560b465bbe4f2138833dbb49af59104e48367
Merge branch 'net-dsa-mv88e6xxx-add-PCL-support'

Vivien Didelot says:

====================
net: dsa: mv88e6xxx: add PCL support

This small series implements the ethtool RXNFC operations in the
mv88e6xxx DSA driver to configure a port's Layer 2 Policy Control List
(PCL) supported by models such as 88E6352 and 88E6390 and equivalent.

This allows to configure a port to discard frames based on a configured
destination or source MAC address and an optional VLAN, with e.g.:

    # ethtool --config-nfc lan1 flow-type ether src 00:11:22:33:44:55 action -1
====================

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