Ethtool – Diagnostic Approach for Network Issues in Linux
Talkat Embedded Linux Conference @ Open Source Summit North America 2022 · on Friday, 2022-06-24· at 14:50· Room 201/202 (Level 2), JW Marriott Austin, 110 E 2nd Street Austin, TX 78701·
summary
Adds an ethtool extension that reads MMC registers via SIOCETHTOOL ioctl and get_string_set, with a userspace flag show MMC and a kernel hook estimac_get_mmc_stats that converts register values to 32‑bit bitmaps and prints each bit as enabled/disabled. Tested on DesignWare Ethernet QoS IP and a Synopsys automotive SoC, it detects an underflow interrupt that explains packet drops for frames >100 bytes, reports exact drop counts, and works end‑to‑end; upstreaming to mainline is planned.
AI-written summary · about
chapters (4)
related talks
41mBraiding Wires Into the Linux Network Stack - Recent Work on Embedded Networking
52mIn the Kernel Trenches: Mastering Ethernet Drivers on Linux
52mIn the Kernel Trenches: Mastering Ethernet Drivers on Linux
20mTeach an Old Network Driver New Tricks
58mTelco; Networking; Architecture; How to debug; Tips and Tricks
34mBridging the Gap Between Hardware and Software Tracing
46mNetworking: From the Ethernet MAC to the Link Partner
35mIntegrated PCIe monitoring and tracing facilities
