Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159326
b: refs/heads/master
c: 4403b37
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin LaHaise authored and David S. Miller committed Aug 5, 2009
1 parent 1d302de commit 0882b31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 36e89d73e54c8db79d0fd1636cab9236eea7aae9
refs/heads/master: 4403b371888d5947ed08200ee6351441a188a5c7
6 changes: 6 additions & 0 deletions trunk/drivers/net/vxge/vxge-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,12 @@ vxge_xmit(struct sk_buff *skb, struct net_device *dev)
goto _exit2;
}

/* Last TXD? Stop tx queue to avoid dropping packets. TX
* completion will resume the queue.
*/
if (avail == 1)
vxge_stop_tx_queue(fifo);

status = vxge_hw_fifo_txdl_reserve(fifo_hw, &dtr, &dtr_priv);
if (unlikely(status != VXGE_HW_OK)) {
vxge_debug_tx(VXGE_ERR,
Expand Down

0 comments on commit 0882b31

Please sign in to comment.