linux - 如何知道哪个接口(interface)绑定(bind)到哪个内核模块?

标签 linux kernel-module network-interface

<分区>

如题所示,

How to know wihch interface is bound to which kernel module?

我怀疑信息应该在/sys 目录中的某处,但我找不到。

最佳答案

看看这个:

# ethtool -i eth0
driver: e1000e
version: 1.5.1-k
firmware-version: 5.6-2
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes

所以 eth0 的驱动程序是 e1000e。

关于linux - 如何知道哪个接口(interface)绑定(bind)到哪个内核模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19786056/

相关文章:

linux - Sed 在正则表达式中有一个空格

python - 在 Amazon Linux 上安装 Scipy 时出错

c - 通过内核访问 block 级存储

java - 我怎样才能只获得 IPv4 地址

linux - 在Docker文件中使用pip安装AWS CLI

c++ - 在 C++ 类中使用线程的段错误

linux-kernel - 从内核模块到设备的 I/O 失败并显示 EFAULT

freebsd - 执行 "Warning: Object directory not changed from original"命令时关于 "make"的问题

android - 如何确定Android中的Wifi,3G,4G(LTE)和VPN是哪个网络接口(interface)?

.net - 如何在.NET中以编程方式选择连接到互联网的网卡