Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58375
b: refs/heads/master
c: e1fd907
h: refs/heads/master
i:
  58373: 9c952b9
  58371: 0d42e50
  58367: a5b0452
v: v3
  • Loading branch information
Linas Vepstas authored and Jeff Garzik committed Jul 9, 2007
1 parent 0c0c03a commit baad5d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e0a6e2598ac08d14c3388567eae9a4ccea1244f
refs/heads/master: e1fd9070729765910b144ffcf74ca199c766509b
3 changes: 2 additions & 1 deletion trunk/drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,6 @@ spider_net_poll(struct net_device *netdev, int *budget)
int packets_to_do, packets_done = 0;
int no_more_packets = 0;

spider_net_cleanup_tx_ring(card);
packets_to_do = min(*budget, netdev->quota);

while (packets_to_do) {
Expand All @@ -1310,6 +1309,8 @@ spider_net_poll(struct net_device *netdev, int *budget)
spider_net_refill_rx_chain(card);
spider_net_enable_rxdmac(card);

spider_net_cleanup_tx_ring(card);

/* if all packets are in the stack, enable interrupts and return 0 */
/* if not, return 1 */
if (no_more_packets) {
Expand Down

0 comments on commit baad5d3

Please sign in to comment.