Skip to content

ocelot: support PTP Ethernet frames trapping

Yangbo Lu netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 9 repliesIn review
  2. v13 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- Added PTP Ethernet frames trapping support patch.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ocelot_ace: drop member port from ocelot_ace_rule structuredrivers/net/ethernet/mscc/ocelot_ace.c drivers/net/ethernet/mscc/ocelot_ace.h drivers/net/ethernet/mscc/ocelot_flower.c+10 -100 replies
2/4ocelot_ace: fix ingress ports setting for ruledrivers/net/ethernet/mscc/ocelot_ace.c drivers/net/ethernet/mscc/ocelot_ace.h drivers/net/ethernet/mscc/ocelot_flower.c+3 -30 replies
3/4ocelot_ace: fix action of trapdrivers/net/ethernet/mscc/ocelot_ace.c+3 -34 replies
4/4ocelot: add VCAP IS2 rule to trap PTP Ethernet framesdrivers/net/ethernet/mscc/ocelot.c+28 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [v2, 0/4] ocelot: support PTP Ethernet frames trapping

This patch-set is to support PTP Ethernet frames trapping. Before that, fix some issues and improve the ocelot_ace driver for using.

---
Changes for v2:
- Added PTP Ethernet frames trapping support patch.

Yangbo Lu (4):
ocelot_ace: drop member port from ocelot_ace_rule structure
ocelot_ace: fix ingress ports setting for rule
ocelot_ace: fix action of trap
ocelot: add VCAP IS2 rule to trap PTP Ethernet frames

 drivers/net/ethernet/mscc/ocelot.c        | 28 ++++++++++++++++++++++++++++
 drivers/net/ethernet/mscc/ocelot_ace.c    | 20 ++++++++++----------
 drivers/net/ethernet/mscc/ocelot_ace.h    |  4 ++--
 drivers/net/ethernet/mscc/ocelot_flower.c |  8 ++++----
 4 files changed, 44 insertions(+), 16 deletions(-)
Signature · 1 line
2.7.4