There are 2 modes of Layer 1 capture
Mode 1) Layer 1 Trace
The Layer 1 Tracer (highlighted in Green) sits in parallel to the the main capture system this is shown below.
.png?sv=2022-11-02&spr=https&st=2025-11-26T04%3A47%3A33Z&se=2025-11-26T04%3A58%3A33Z&sr=c&sp=r&sig=P%2FJ5Q%2FRN%2B9WBwdV8B%2FYStVJLF89LxiH5BhXloVvjdL4%3D)
This mode allows full traditional PCAP (Layer2) based packet capture, with a addition of a small Layer 1 Trace buffer that can capture small fragments of corrupted or undefined layer 1 traffic.
Mode 2) Layer 1 Packet in Packet
In Layer 1 Packet in packet mode, the full layer 1 traffic is captured and written directly on disk as packet. For example in 10G mode packets 64 cycles of XGMII Control and Data into a single 640B packet that gets written to disk.
Layer 1 Packet in Packet requires an FPGA bitstream change, that can be done using
fmadiocli "config system fpga mode capture-4x10G-l1"The raw data is packed into a packet as as shown below
.png?sv=2022-11-02&spr=https&st=2025-11-26T04%3A47%3A33Z&se=2025-11-26T04%3A58%3A33Z&sr=c&sp=r&sig=P%2FJ5Q%2FRN%2B9WBwdV8B%2FYStVJLF89LxiH5BhXloVvjdL4%3D)
What is shown above is how the the XGMII Control (Green) and XGMII Data (Blue) gets packed into a single packet.
Data is then visible using wireshark per below. The hilighted section clearly shows the full lazyer1 capture trace, including all idles, preamble, SOF/EOF
.png?sv=2022-11-02&spr=https&st=2025-11-26T04%3A47%3A33Z&se=2025-11-26T04%3A58%3A33Z&sr=c&sp=r&sig=P%2FJ5Q%2FRN%2B9WBwdV8B%2FYStVJLF89LxiH5BhXloVvjdL4%3D)