iflib is already a module, but it is unconditionally compiled into the kernel. There are drivers which do not need iflib(4), and there are situations where somebody might not want iflib in kernel because of using the corresponding driver as module.
Details
Details
- Reviewers
shurd marius manu sbruno erj - Group Reviewers
Intel Networking manpages - Commits
- rS343617: Make iflib a loadable module.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 22285
Event Timeline
Comment Actions
sys/dev/ixgbe/if_ixv.c appears to be missing a "MODULE_DEPEND(ixv, iflib, 1, 1, 1);" but while you are at it, you could remove its netmap dependency (now already provided by iflib.c) instead
sys/arm64/conf/GENERIC | ||
---|---|---|
148 |
Likewise for other GENERIC kernel config files. |
Comment Actions
You could also just drop "PCI", because iflib supposedly would support non-PCI ethernet devices. The devices that use it just happen to all present themselves on the PCI bus...