Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189849
b: refs/heads/master
c: 94824f3
h: refs/heads/master
i:
  189847: e3a963a
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed Apr 8, 2010
1 parent 4309468 commit fa7d2a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 04b1a22350e1e6464c3109886385178d119dbbb4
refs/heads/master: 94824f3dbe0d3f62470603bbb18efb5510aaf07c
10 changes: 5 additions & 5 deletions trunk/drivers/net/cnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2334,13 +2334,13 @@ static int cnic_service_bnx2x(void *data, void *status_blk)
struct cnic_local *cp = dev->cnic_priv;
u16 prod = cp->kcq_prod_idx & MAX_KCQ_IDX;

prefetch(cp->status_blk.bnx2x);
prefetch(&cp->kcq[KCQ_PG(prod)][KCQ_IDX(prod)]);
if (likely(test_bit(CNIC_F_CNIC_UP, &dev->flags))) {
prefetch(cp->status_blk.bnx2x);
prefetch(&cp->kcq[KCQ_PG(prod)][KCQ_IDX(prod)]);

if (likely(test_bit(CNIC_F_CNIC_UP, &dev->flags)))
tasklet_schedule(&cp->cnic_irq_task);

cnic_chk_pkt_rings(cp);
cnic_chk_pkt_rings(cp);
}

return 0;
}
Expand Down

0 comments on commit fa7d2a7

Please sign in to comment.