~/talk

In the Kernel Trenches: Mastering Ethernet Drivers on Linux

slides:none on file

Covers how a Linux Ethernet driver wires a net_device to hardware: setting up queues with alloc_etherdev_mqs, mapping SKBs with DMA or a page_pool, implementing NAPI poll, handling TX completions and PTP timestamping, and adding XDP hooks for early packet decisions. Shows ethtool/phylink/ioctl/TC/switchdev integration, where to expose features and stats, how to avoid link drops during config, and which tools (tcpdump/wireshark, netdev mailing list, kernel docs) actually debug and validate behavior.

AI-written summary · about

  1. 0:00Introduction to drivers
  2. 2:13Inside the controller
  3. 6:01Net device structure
  4. 9:35Data handling structures
  5. 12:22Memory management
  6. 13:54Transmit and receive path
  7. 16:33NAPI and polling
  8. 19:15Hardware timestamping
  9. 22:28Advanced queue management
  10. 28:19Control plane configuration
  11. 36:42Feature management
  12. 39:08Etthtool and traffic control
  13. 44:32PTP and advanced offloads
  14. 46:43PHY and PCS interaction
  15. 48:29Contribution and debugging
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.