|
@@ -236,7 +236,7 @@ static void ntb_netdev_tx_timer(struct timer_list *t)
|
|
struct net_device *ndev = dev->ndev;
|
|
struct net_device *ndev = dev->ndev;
|
|
|
|
|
|
if (ntb_transport_tx_free_entry(dev->qp) < tx_stop) {
|
|
if (ntb_transport_tx_free_entry(dev->qp) < tx_stop) {
|
|
- mod_timer(&dev->tx_timer, jiffies + msecs_to_jiffies(tx_time));
|
|
|
|
|
|
+ mod_timer(&dev->tx_timer, jiffies + usecs_to_jiffies(tx_time));
|
|
} else {
|
|
} else {
|
|
/* Make sure anybody stopping the queue after this sees the new
|
|
/* Make sure anybody stopping the queue after this sees the new
|
|
* value of ntb_transport_tx_free_entry()
|
|
* value of ntb_transport_tx_free_entry()
|