pcnet32 和 vmxnet 都可以驱动设备。
$ lspci -k
...
02:01.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
Subsystem: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
Flags: bus master, medium devsel, latency 64, IRQ 19
I/O ports at 2000 [size=128]
[virtual] Expansion ROM at dc400000 [disabled] [size=64K]
Kernel driver in use: vmxnet
Kernel modules: vmxnet, pcnet32
两个内核模块都已加载,
$ lsmod | grep net
pcnet32 32644 0
vmxnet 17696 0
mii 5212 1 pcnet32
如您所见,使用的内核驱动程序是 vmxnet。内核中是否有任何策略/算法如何从候选人中进行选择?