Skip to content

net: dsa: mv88e6xxx: add PCL support

Vivien Didelot netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: dsa: mv88e6xxx: complete ATU state definitionsdrivers/net/dsa/mv88e6xxx/chip.c drivers/net/dsa/mv88e6xxx/global1.h drivers/net/dsa/mv88e6xxx/global1_atu.c+41 -271 reply
2/3net: dsa: mv88e6xxx: introduce .port_set_policydrivers/net/dsa/mv88e6xxx/chip.c drivers/net/dsa/mv88e6xxx/chip.h drivers/net/dsa/mv88e6xxx/port.c +1 more+121 -12 replies
3/3net: dsa: mv88e6xxx: add RXNFC supportdrivers/net/dsa/mv88e6xxx/chip.c drivers/net/dsa/mv88e6xxx/chip.h+226 -04 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAndrew LunnFlorian Fainelli
1/3R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] 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

Vivien Didelot (3):
net: dsa: mv88e6xxx: complete ATU state definitions
net: dsa: mv88e6xxx: introduce .port_set_policy
net: dsa: mv88e6xxx: add RXNFC support

 drivers/net/dsa/mv88e6xxx/chip.c        | 241 ++++++++++++++++++++++--
 drivers/net/dsa/mv88e6xxx/chip.h        |  35 ++++
 drivers/net/dsa/mv88e6xxx/global1.h     |  43 +++--
 drivers/net/dsa/mv88e6xxx/global1_atu.c |   6 +-
 drivers/net/dsa/mv88e6xxx/port.c        |  74 ++++++++
 drivers/net/dsa/mv88e6xxx/port.h        |  17 +-
 6 files changed, 388 insertions(+), 28 deletions(-)
Signature · 1 line
2.23.0