Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256508
b: refs/heads/master
c: f5219d8
h: refs/heads/master
v: v3
  • Loading branch information
Vladislav Zolotarov authored and David S. Miller committed Jul 19, 2011
1 parent 8570b51 commit 334dc86
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 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: 019dbb4c0106f11b5c6543bffaedf10067e28398
refs/heads/master: f5219d8eb8b32eb32522063d2163f95e1cf7bb5c
4 changes: 3 additions & 1 deletion trunk/drivers/net/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2699,8 +2699,10 @@ static inline unsigned long bnx2x_get_q_flags(struct bnx2x *bp,
if (IS_FCOE_FP(fp))
__set_bit(BNX2X_Q_FLG_FCOE, &flags);

if (!fp->disable_tpa)
if (!fp->disable_tpa) {
__set_bit(BNX2X_Q_FLG_TPA, &flags);
__set_bit(BNX2X_Q_FLG_TPA_IPV6, &flags);
}

if (leading) {
__set_bit(BNX2X_Q_FLG_LEADING_RSS, &flags);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/bnx2x/bnx2x_sp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4240,7 +4240,7 @@ static void bnx2x_q_fill_setup_data_e2(struct bnx2x *bp,
/* Rx data */

/* IPv6 TPA supported for E2 and above only */
data->rx.tpa_en |= test_bit(BNX2X_Q_FLG_TPA, &params->flags) *
data->rx.tpa_en |= test_bit(BNX2X_Q_FLG_TPA_IPV6, &params->flags) *
CLIENT_INIT_RX_DATA_TPA_EN_IPV6;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/bnx2x/bnx2x_sp.h
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ enum bnx2x_queue_cmd {
/* queue SETUP + INIT flags */
enum {
BNX2X_Q_FLG_TPA,
BNX2X_Q_FLG_TPA_IPV6,
BNX2X_Q_FLG_STATS,
BNX2X_Q_FLG_ZERO_STATS,
BNX2X_Q_FLG_ACTIVE,
Expand Down

0 comments on commit 334dc86

Please sign in to comment.