编译使用ethtool

ethtool 是用于查询及设置网卡参数的命令。   使用ethtool需要两个条件: 1)网卡驱动支持ethtool,实现了ethtool的接口函数 2)用户安装ethtool可执行程序   dwmac驱动已在stmmac_ethtool.c中实现了相关函数,现在我们只需要在编译ethtool工具,在用户空间使用即可。     1. 下载ethtool https://mirrors.edge.
相关文章
相关标签/搜索