How intel/ethernet-linux-igb works
igb is a Linux loadable Ethernet driver for Intel network adapters. The principal workflow is kernel/network-stack interaction with the driver, which configures the adapter and exposes a network interface for host networking. The source separates Linux-facing driver logic from shared and device-family hardware support, with additional management, virtualization, timestamping, and ethtool features. The README documents SR-IOV and IEEE 1588 support. Some feature files and most driver call paths were not sampled, so uncertain links are omitted.
Main entry points: igb_main.c Device and packet driver · igb.h Driver state and interfaces · e1000_api.c Hardware API · igb_param.c Module parameters
Components 23
Linux driver
- Device and packet driver
src/igb_main.c - Driver state and interfaces
src/igb.h - Module parameters
src/igb_param.c
Hardware support
- Hardware API
src/e1000_api.c - MAC operations
src/e1000_mac.c - PHY operations
src/e1000_phy.c - NVM operations
src/e1000_nvm.c - 82575 family support
src/e1000_82575.c - i210 support
src/e1000_i210.c - Management interface
src/e1000_manage.c - VF mailbox
src/e1000_mbx.c
Driver features
- Ethtool controls
src/igb_ethtool.c - PTP timestamping
src/igb_ptp.c - VMDq virtualization
src/igb_vmdq.c - Hardware monitoring
src/igb_hwmon.c - Proc filesystem
src/igb_procfs.c - Debug filesystem
src/igb_debugfs.c
Kernel compatibility
- Kernel API backports
src/kcompat_impl.h - Kernel compatibility layer
src/kcompat.c - XArray backport
src/kcompat_xarray.c - Packing backport
src/kcompat_packing.c
Other components
- Linux networking
- Intel Ethernet adapter
Connections 10
- Linux networking → Device and packet driver: uses driver
README - Device and packet driver → Linux networking: provides interface
README - Device and packet driver → Intel Ethernet adapter: configures adapter
README - Device and packet driver → Module parameters: accepts parameters
README - Device and packet driver → PTP timestamping: supports timestamping
README - Device and packet driver → VMDq virtualization: references VMDq interface
src/igb_main.c - Device and packet driver → Driver state and interfaces: includes driver definitions
src/igb_main.c - Driver state and interfaces → Hardware API: includes hardware API
src/igb.h - Hardware API → Intel Ethernet adapter: accesses hardware
- Device and packet driver → Ethtool controls: exposes controls