nic驱动程序如何将上/下网络链接发送到用户空间?

时间:2019-04-01 14:36:50

标签: linux-device-driver embedded-linux

我将mt7621与Openwrt一起使用。默认gsw驱动程序可以获取交换机端口链接的上/下信息。但是在用户空间中,udev / netifd无法接收任何netlink消息。还有其他一些nic驱动程序可以参考。我想更改默认驱动程序以支持netlink。

dmesgenter image description here

https://github.com/openwrt/openwrt/blob/master/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7621.c

0 个答案:

没有答案
相关问题