通过查看系统驱动目录中是否包含对应的网卡芯片模块文件,以redhat linux为例,目录一般在/lib/modules/release/kernel/drivers/net/下,其中release是内核版本。其中以“ko”结尾的文件是网卡芯片对应的驱动,其他文件是驱动程序的目录。
一般情况下,broadcom芯片对应的驱动程序名类似tg3.ko、bnx2.ko、和bcm57xx等,而intel芯片对应的程序名类似e1000.ko、e1000e.ko等,VIA芯片对应的类似via-rhine.ko、via-velocity.ko等,RealTek芯片对应的类似8139.ko、8139too.ko等。
虚拟机e1000 和e1000e的区别
e1000是最早在linux上为intel 网卡e1000写的驱动,只支持PCI设备bai,e1000e是新写的驱动,增加了对PCI-E设备的支持:
Linux
currently has two drivers for Intel's e1000 network adapters, called
"e1000" and "e1000e". The former driver, being the older of the two,
supports all older, PCI-based e1000 adapters. The e1000e driver, instead, supports PCI-Express adapters. It
is a newer driver which is seen as being better written and easier to
maintain. It is intended that all new hardware will be supported by this
driver, and that, in particular, all PCI-Express hardware will use it.
网友评论