EthSwt

Articles on the AUTOSAR EthSwt Driver — software and hardware

19 von 19 Teilen verfügbar
Teil 1 lesen →

New to EthSwt? The overview article explains when an ECU needs a switch driver instead of a plain EthTrcv at all, before the following parts go into detail.

  1. 1
    EthSwt Part 1 — Fundamentals, SWS & Architecture in the AUTOSAR Ethernet Stack

    The opening post of the EthSwt tutorial series: the module's state machine, the configuration classes as defined by the SWS, and where EthSwt sits between EthIf and the switch ports in the AUTOSAR stack.

    verfügbar
  2. 2
    EthSwt Part 2 — API & Initialization Sequence

    The concrete EthSwt function calls: the init sequence with its background task, port modes, link state, and what to watch for when EthSwt interacts with EthTrcv on switch ports.

    verfügbar
  3. 3
    EthSwt Part 3 — ARXML Configuration in Practice

    The real ARXML container structure of EthSwt: EthSwtPort, EthSwtPortIngress and the actual VLAN parameters — including a complete configuration example.

    verfügbar
  4. 4
    EthSwt Part 4 — VLAN Management, Mirroring & Diagnostics

    Toggling VLANs at runtime, EthSwt's surprisingly powerful port-mirror configuration, MAC learning modes, and diagnostics via MIB counters.

    verfügbar
  5. 5
    EthSwt Hardware Architecture — Switch Chip Design for Software Engineers

    The three hardware variants for switch/PHY arrangements defined by the AUTOSAR SWS, the forwarding engine, and typical switch chips in practice.

    verfügbar
  6. 6
    EthSwt Hardware Deep Dive — Port Interfaces and Signal Processing at the PCB Level

    Host-side interfaces (RGMII/SGMII) to the switch, internal forwarding paths, PCB and power aspects of multi-port chips, and the path a frame takes through the switch.

    verfügbar
  7. 7
    EthSwt — Bring-Up: What Can Go Wrong?

    Typical failure patterns during EthSwt chip bring-up — from a port that won't come up to a host interface that doesn't respond — with concrete debugging paths.

    verfügbar
  8. 8
    EthSwt — Access via SPI

    How EthSwt accesses a switch chip via SPI: the real EthSwtSpi/EthSwtSpiSequence configuration and the generic register-access APIs that abstract MII and SPI alike.

    verfügbar
  9. 9
    EthSwt — Access via SMI (Switch Management Interface)

    The real EthSwt_ReadMmd/WriteMmd API for Clause 45 register access over the SMI — including emulation via Clause 22 operations if the hardware doesn't natively support Clause 45.

    verfügbar
  10. 10
    EthSwt — Access via Ethernet Management Frames (Special EtherType)

    Vendor mechanisms for switch configuration via special Ethernet frames — and the important distinction from EthSwt_SetMgmtInfo, the real AUTOSAR mechanism for port-specific frame handling.

    verfügbar
  11. 11
    EthSwt — TSN Stream Identification, Filtering & Policing

    How EthSwt identifies Ethernet frames as streams using AND-linked filter rules, and which filter actions (drop, block-source, VLAN modification, egress redirection) can follow.

    verfügbar
  12. 12
    EthSwt — Interaction with the Firewall Module

    How EthSwt supplies the AUTOSAR Firewall module with StreamHandleIdentifiers and bucket statistics so it can raise security events to the IdsM — including the DRAFT-status APIs behind this functionality.

    verfügbar
  13. 13
    EthSwt — Time-Aware Shaping & Frame Preemption (TSN)

    Cascaded egress schedulers, credit-based shaping and enhanced transmission selection, plus IEEE 802.1Q frame preemption — the core AUTOSAR mechanisms for deterministic Ethernet in the switch.

    verfügbar
  14. 14
    EthSwt — MACsec Directly in the Switch (Line-Rate Encryption per Port)

    How EthSwt manages secure channels and secure associations per switch port, with bypass lists for management traffic and a shared MKA key infrastructure with EthTrcv.

    verfügbar
  15. 15
    EthSwt — Global Time & Clock Synchronization Between Cascaded Switches

    How EthSwt provides port-specific hardware timestamps for EthTSyn, and how cascaded switches synchronize their internal clocks over uplink ports to avoid separate path-delay measurement.

    verfügbar
  16. 16
    EthSwt — The ARL Table & MAC Learning (SVL/IVL) in Detail

    The two MAC learning modes defined by IEEE 802.1Q and AUTOSAR — SVL and IVL — the start-up learning phase, and the two-phase query pattern of EthSwt_GetArlTable.

    verfügbar
  17. 17
    EthSwt — Diagnostics, Loopback & Test Modes on Switch Ports

    The surprising fact-check finding: most of EthSwt's port diagnostic APIs are pure forwarders to the referenced EthTrcv instance, not switch-native functionality.

    verfügbar
  18. 18
    EthSwt — Internal Switch Fabric Architecture for Software Engineers

    What's actually inside a switch chip's silicon? Shared-memory vs. crossbar fabric, the lookup engine, buffer architecture, egress queues in hardware, and the embedded management core.

    verfügbar
  19. 19
    EthSwt — Switch Stacking (Multiple Switches as One Logical Unit)

    Real switch stacking distinguished from the cascading already covered: shared FDB/management plane, dedicated stacking links, and what this means for EthSwt from an AUTOSAR perspective.

    verfügbar