public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 00/11] Support PTP over UDP with the ocelot-8021q DSA tagging protocol
@ 2022-02-16 14:30 Vladimir Oltean
  2022-02-16 14:30 ` [PATCH net-next 01/11] net: mscc: ocelot: use a consistent cookie for MRP traps Vladimir Oltean
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Vladimir Oltean @ 2022-02-16 14:30 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Jakub Kicinski, Andrew Lunn, Vivien Didelot,
	Florian Fainelli, Claudiu Manoil, Alexandre Belloni,
	Horatiu Vultur, UNGLinuxDriver, Xiaoliang Yang, Yangbo Lu,
	Michael Walle

The alternative tag_8021q-based tagger for Ocelot switches, added here:
https://patchwork.kernel.org/project/netdevbpf/cover/20210129010009.3959398-1-olteanv@gmail.com/

gained support for PTP over L2 here:
https://patchwork.kernel.org/project/netdevbpf/cover/20210213223801.1334216-1-olteanv@gmail.com/

mostly as a minimum viable requirement. That PTP support was mostly
self-contained code that installed some rules to replicate PTP packets
on the CPU queue, in felix_setup_mmio_filtering().

However ocelot-8021q starts to look more interesting for general purpose
usage, so it is now time to reduce the technical debt by integrating the
PTP traps used by Felix for tag_8021q with the rest of the Ocelot driver.

There is further consolidation of traps to be done. The cookies used by
MRP traps overlap with the cookies used for tag_8021q PTP traps, so
those features could not be used at the same time.

Vladimir Oltean (11):
  net: mscc: ocelot: use a consistent cookie for MRP traps
  net: mscc: ocelot: consolidate cookie allocation for private VCAP
    rules
  net: mscc: ocelot: delete OCELOT_MRP_CPUQ
  net: mscc: ocelot: use a single VCAP filter for all MRP traps
  net: mscc: ocelot: avoid overlap in VCAP IS2 between PTP and MRP traps
  net: dsa: felix: use DSA port iteration helpers
  net: mscc: ocelot: keep traps in a list
  net: mscc: ocelot: annotate which traps need PTP timestamping
  net: dsa: felix: remove dead code in felix_setup_mmio_filtering()
  net: dsa: felix: update destinations of existing traps with
    ocelot-8021q
  net: dsa: tag_ocelot_8021q: calculate TX checksum in software for
    deferred packets

 drivers/net/dsa/ocelot/felix.c            | 272 +++++++++-------------
 drivers/net/ethernet/mscc/ocelot.c        |  50 ++--
 drivers/net/ethernet/mscc/ocelot.h        |   6 +
 drivers/net/ethernet/mscc/ocelot_flower.c |   3 +
 drivers/net/ethernet/mscc/ocelot_mrp.c    |  56 ++---
 drivers/net/ethernet/mscc/ocelot_vcap.c   |   1 +
 include/soc/mscc/ocelot.h                 |   3 +-
 include/soc/mscc/ocelot_vcap.h            |  16 ++
 net/dsa/tag_ocelot_8021q.c                |   7 +
 9 files changed, 194 insertions(+), 220 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-02-17 14:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-16 14:30 [PATCH net-next 00/11] Support PTP over UDP with the ocelot-8021q DSA tagging protocol Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 01/11] net: mscc: ocelot: use a consistent cookie for MRP traps Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 02/11] net: mscc: ocelot: consolidate cookie allocation for private VCAP rules Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 03/11] net: mscc: ocelot: delete OCELOT_MRP_CPUQ Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 04/11] net: mscc: ocelot: use a single VCAP filter for all MRP traps Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 05/11] net: mscc: ocelot: avoid overlap in VCAP IS2 between PTP and " Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 06/11] net: dsa: felix: use DSA port iteration helpers Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 07/11] net: mscc: ocelot: keep traps in a list Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 08/11] net: mscc: ocelot: annotate which traps need PTP timestamping Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 09/11] net: dsa: felix: remove dead code in felix_setup_mmio_filtering() Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 10/11] net: dsa: felix: update destinations of existing traps with ocelot-8021q Vladimir Oltean
2022-02-16 14:30 ` [PATCH net-next 11/11] net: dsa: tag_ocelot_8021q: calculate TX checksum in software for deferred packets Vladimir Oltean
2022-02-16 14:55 ` [PATCH net-next 00/11] Support PTP over UDP with the ocelot-8021q DSA tagging protocol Vladimir Oltean
2022-02-17 14:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox