編譯使用ethtool

ethtool 是用於查詢及設置網卡參數的命令。   使用ethtool需要兩個條件: 1)網卡驅動支持ethtool,實現了ethtool的接口函數 2)用戶安裝ethtool可執行程序   dwmac驅動已在stmmac_ethtool.c中實現了相關函數,現在我們只需要在編譯ethtool工具,在用戶空間使用即可。     1. 下載ethtool https://mirrors.edge.
相關文章
相關標籤/搜索