DSA tagging driver for NXP SJA1110
Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 0 repliesApplied 10/10
- v210 patches 4 repliesSuperseded
- v110 patches 2 repliesSuperseded
Changes in v3 from the cover letter
Rebase in front of the "Port the SJA1105 DSA driver to XPCS" series which seems to have stalled for now.
Patches in v3 All 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | net: dsa: sja1105: enable the TTEthernet engine on SJA1110drivers/ | +2 | 0 replies | Applied |
| 2/10 | net: dsa: sja1105: allow RX timestamps to be taken on all ports for SJA1110drivers/ drivers/ drivers/ | +22 | 0 replies | Applied |
| 3/10 | net: dsa: generalize overhead for taggers that use both headers and trailersDocumentation/ include/ net/ +18 more | +49 | 0 replies | Applied |
| 4/10 | net: dsa: tag_sja1105: stop resetting network and transport headersnet/ | +0 | 0 replies | Applied |
| 5/10 | net: dsa: tag_8021q: remove shim declarationsinclude/ | +0 | 0 replies | Applied |
| 6/10 | net: dsa: tag_8021q: refactor RX VLAN parsing into a dedicated functioninclude/ net/ net/ +1 more | +39 | 0 replies | Applied |
| 7/10 | net: dsa: sja1105: make SJA1105_SKB_CB fit a full timestampdrivers/ include/ net/ | +3 | 0 replies | Applied |
| 8/10 | net: dsa: add support for the SJA1110 native tagging protocoldrivers/ drivers/ drivers/ +5 more | +240 | 0 replies | Applied |
| 9/10 | net: dsa: sja1105: add the RX timestamping procedure for SJA1110drivers/ drivers/ drivers/ +1 more | +40 | 0 replies | Applied |
| 10/10 | net: dsa: sja1105: implement TX timestamping for SJA1110drivers/ drivers/ drivers/ +3 more | +156 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 net-next 00/10] DSA tagging driver for NXP SJA1110
From: Vladimir Oltean <[email protected]>
This series adds support for tagging data and control packets on the new NXP SJA1110 switch (supported by the sja1105 driver). Up to this point it used the sja1105 driver, which allowed it to send data packets, but not PDUs as those required by STP and PTP.
To accommodate this new tagger which has both a header and a trailer, we need to refactor the entire DSA tagging scheme, to replace the "overhead" concept with separate "needed_headroom" and "needed_tailroom" concepts, so that SJA1110 can declare its need for both.
There is also some consolidation work for the receive path of tag_8021q and its callers (sja1105 and ocelot-8021q).
Changes in v3:
Rebase in front of the "Port the SJA1105 DSA driver to XPCS" series which seems to have stalled for now.
Changes in v2:
Export the dsa_8021q_rcv and sja1110_process_meta_tstamp symbols to avoid build errors as modules.
Vladimir Oltean (10):
net: dsa: sja1105: enable the TTEthernet engine on SJA1110
net: dsa: sja1105: allow RX timestamps to be taken on all ports for
SJA1110
net: dsa: generalize overhead for taggers that use both headers and
trailers
net: dsa: tag_sja1105: stop resetting network and transport headers
net: dsa: tag_8021q: remove shim declarations
net: dsa: tag_8021q: refactor RX VLAN parsing into a dedicated
function
net: dsa: sja1105: make SJA1105_SKB_CB fit a full timestamp
net: dsa: add support for the SJA1110 native tagging protocol
net: dsa: sja1105: add the RX timestamping procedure for SJA1110
net: dsa: sja1105: implement TX timestamping for SJA1110
Documentation/networking/dsa/dsa.rst | 21 +- drivers/net/dsa/sja1105/sja1105.h | 4 + drivers/net/dsa/sja1105/sja1105_main.c | 35 +- drivers/net/dsa/sja1105/sja1105_ptp.c | 97 +++++- drivers/net/dsa/sja1105/sja1105_ptp.h | 13 + drivers/net/dsa/sja1105/sja1105_spi.c | 28 ++ .../net/dsa/sja1105/sja1105_static_config.c | 1 + .../net/dsa/sja1105/sja1105_static_config.h | 1 + include/linux/dsa/8021q.h | 79 +---- include/linux/dsa/sja1105.h | 26 +- include/net/dsa.h | 8 +- net/core/flow_dissector.c | 2 +- net/dsa/dsa_priv.h | 5 + net/dsa/master.c | 6 +- net/dsa/slave.c | 10 +- net/dsa/tag_8021q.c | 23 ++ net/dsa/tag_ar9331.c | 2 +- net/dsa/tag_brcm.c | 6 +- net/dsa/tag_dsa.c | 4 +- net/dsa/tag_gswip.c | 2 +- net/dsa/tag_hellcreek.c | 3 +- net/dsa/tag_ksz.c | 9 +- net/dsa/tag_lan9303.c | 2 +- net/dsa/tag_mtk.c | 2 +- net/dsa/tag_ocelot.c | 4 +- net/dsa/tag_ocelot_8021q.c | 20 +- net/dsa/tag_qca.c | 2 +- net/dsa/tag_rtl4_a.c | 2 +- net/dsa/tag_sja1105.c | 312 ++++++++++++++++-- net/dsa/tag_trailer.c | 3 +- net/dsa/tag_xrs700x.c | 3 +- 31 files changed, 551 insertions(+), 184 deletions(-)
Signature · 1 line
2.25.1