Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150367
b: refs/heads/master
c: 18af3e7
h: refs/heads/master
i:
  150365: a727bf1
  150363: f80b0d9
  150359: b5d7140
  150351: 9557237
  150335: 8973956
v: v3
  • Loading branch information
Brice Goglin authored and David S. Miller committed May 25, 2009
1 parent e7a2a2a commit 5146a20
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: 38aab07c14adbf3c7257793d764a91923341e96a
refs/heads/master: 18af3e7c4535be88f864fc4bcff9a97fb4ae3731
3 changes: 2 additions & 1 deletion trunk/drivers/net/myri10ge/myri10ge.c
Original file line number Diff line number Diff line change
Expand Up @@ -1422,6 +1422,7 @@ myri10ge_clean_rx_done(struct myri10ge_slice_state *ss, int budget)
{
struct myri10ge_rx_done *rx_done = &ss->rx_done;
struct myri10ge_priv *mgp = ss->mgp;
struct net_device *netdev = mgp->dev;
unsigned long rx_bytes = 0;
unsigned long rx_packets = 0;
unsigned long rx_ok;
Expand Down Expand Up @@ -1455,7 +1456,7 @@ myri10ge_clean_rx_done(struct myri10ge_slice_state *ss, int budget)
ss->stats.rx_packets += rx_packets;
ss->stats.rx_bytes += rx_bytes;

if (myri10ge_lro)
if (netdev->features & NETIF_F_LRO)
lro_flush_all(&rx_done->lro_mgr);

/* restock receive rings if needed */
Expand Down

0 comments on commit 5146a20

Please sign in to comment.