华清远见
传输超时 当发生传送超时, 驱动必须在接口统计量中标记这个错误, 并安排设备被复位到一个干净的能发送新报文的状态 . 当一个超时发生在 snull, 驱动调用 snull_interrupt 来填充"丢失"的中断并用 netif_wake_queue 重启队列 .net_dev>watchdog_timeo = TX_TIMEOUT; static const struct net_device_ops netdev_ops = { ... .ndo_tx_timeout = xxx_tx_timeout, ...}; xxx_tx_timeout (struct net_device *dev){ ... netif_wake_queue(dev);}
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库Liunx网络驱动编程(7)在线全文阅读。
相关推荐: