Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368109
b: refs/heads/master
c: 6fac411
h: refs/heads/master
i:
  368107: 0c96e0e
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Mar 6, 2013
1 parent b8927a5 commit 1cf64d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: 82dc3c63c692b1e1d59378ecee948ac88e034aad
refs/heads/master: 6fac41157252220678b210fcb13e2c3dad7a912a
1 change: 0 additions & 1 deletion trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,6 @@ enum bnx2x_tpa_mode_t {
struct bnx2x_fastpath {
struct bnx2x *bp; /* parent */

#define BNX2X_NAPI_WEIGHT 128
struct napi_struct napi;
union host_hc_status_block status_blk;
/* chip independed shortcuts into sb structure */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ static inline void bnx2x_add_all_napi_cnic(struct bnx2x *bp)
/* Add NAPI objects */
for_each_rx_queue_cnic(bp, i)
netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi),
bnx2x_poll, BNX2X_NAPI_WEIGHT);
bnx2x_poll, NAPI_POLL_WEIGHT);
}

static inline void bnx2x_add_all_napi(struct bnx2x *bp)
Expand All @@ -844,7 +844,7 @@ static inline void bnx2x_add_all_napi(struct bnx2x *bp)
/* Add NAPI objects */
for_each_eth_queue(bp, i)
netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi),
bnx2x_poll, BNX2X_NAPI_WEIGHT);
bnx2x_poll, NAPI_POLL_WEIGHT);
}

static inline void bnx2x_del_all_napi_cnic(struct bnx2x *bp)
Expand Down

0 comments on commit 1cf64d7

Please sign in to comment.