Linux through the NIC driver and version number information

Source: Internet
Author: User


Check card manufacturer and signal

View basic information: LSPCI

View Details: LSPCI-VVV # 3 Small composition V

View card information: LSPCI | grep Ethernet

View Network card Drivers

View network card driver information: LSPCI-VVV # Find specific information about the NIC device. Includes NIC driver

# LSMOD Lists all drivers that are loaded. Includes NIC driver

View NIC driver version number

View module information: Modifo<module name> # includes version information

or # ethtool-i <device name>

The NIC driver version number in RHEL 6.3:

# Modinfo IGB

FileName:/lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/igb/igb.ko

Version:3.2.10-k

License:gpl

Description:intel (R) Gigabit Ethernet Network Driver

# Modinfo e1000e

FileName:/lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/e1000e/e1000e.ko

Version:1.9.5-k

License:gpl

Description:intel (R) pro/1000 Network Driver

Author:intel Corporation,<[email protected]>

# Modinfo e1000

FileName:/lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/e1000/e1000.ko

Version:8.0.35-napi

License:gpl

Description:intel (R) pro/1000 Network Driver

# Modinfo Ixgbe

FileName:/lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/ixgbe/ixgbe.ko

Version:3.6.7-k

License:gpl

Description:intel (R) Gigabit PCI Express networkdriver

# Modinfo r8169

FileName:/lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/r8169.ko

Version:2.3lk-napi

License:gpl

Description:realtek RTL-8169 Gigabit Ethernet Driver

To view the number of network interface queues

To view interrupt information for the NIC interface: #cat/proc/interrupts | grep eth0

or # ethtool-s eth0

View the version of the NIC driver source code

Unzip the Intel network card driver source code. Open the *.spec file under the Unpacked folder to view the driver version number.

For example: After extracting the e1000-8.0.35.tar.gz NIC driver, view the E1000.spec file.

name:e1000

Summary:intel (R) Gigabit Ethernet Connection

version:8.0.35

Release:1

Source:%{name}-%{version}.tar.gz

Vendor:intel Corporation

License:gpl

Exclusiveos:linux

Group:system Environment/kernel

In the drive source src folder, look for:

#grep drv_version * # Forlinux

#findstr drv_version * # for Windows

A line defining the driver version number can also be found in E1000_MAIN.C:

#define Drv_version "8.0.35" Drv_napi drv_debug drv_hw_perf

In the e1000e src folder under the netdev.c file:

#define Drv_version "3.0.4.1" drv_extraversion

IGB_MAIN.C:

#define MAJ 5

#define MIN 2

#define BUILD 9.4

#define DRV_VERSION__STRINGIFY (MAJ) "." __stringify (MIN) "." \

IXGBE_MAIN.C:

#define Drv_version __stringify (3.22.3) driveriovdrv_hw_perf FP GA \

Copyright notice: This article Bo Master original article. Blog, not reproduced without consent.

Linux through the NIC driver and version number information

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.