by planteen · 9y ago · 0 comments
I recently debugged packet issues after 100gbps port speed change to 25gbps, to 10 gbps issues. Breakdown the issue to sub-system components - check phy, mac loopback, check link status on both side of the QSFP connections before and after speed changes, check counters (A LOT of them), enable debug packet to send to CPU with special command. Check all the VLAN, port settings, configuration commands over and over again. Enable debugging on kernel driver to track down every bytes/bits of every packet. Use tcpudmp on linux socket layer when one gets to that point.
Instead of oscilloscope, today's SOC does have a lot of counters inside that help one identifies issues.
For complex issue, one does get tremendous high when the issue was ID and resolved.
I find getting a little high really helps with long debugging sessions.