Ethernet splits packet processing (MAC), encoding (PCS), and signaling (PHY) — debug the right layer.
MAC: framing, CRC, flow control (pause frames), address filtering.
PCS: mode-specific encoding, synchronisation and lane alignment; 10GBASE-R uses 64b/66b.
PHY: SerDes, equalization, auto-negotiation.
Compare the idea of layers with PCIe, while retaining Ethernet-specific MAC, PCS and physical-medium roles.
At the PCS boundary within the PHY architecture, not at the application payload boundary.