Skip to contentSkip to conversation

bnx2x: Fixing a typo: added a missing RSS enablement

PATCH Applied Dmitry Kravkov 5 participants 6 messages Oct 12, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bnx2x: Fixing a typo: added a missing RSS enablement

---
 drivers/net/bnx2x/bnx2x_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/bnx2x/bnx2x_main.c +1 -0
index 7a9556b..ead524b 100644
@@ -2486,6 +2486,7 @@ void bnx2x_pf_init(struct bnx2x *bp)
 	 * if (is_eth_multi(bp))
 	 *	flags |= FUNC_FLG_RSS;
 	 */
+	flags |= FUNC_FLG_RSS;
 
 	/* function setup */
 	if (flags & FUNC_FLG_RSS) {
Signature · 1 line
1.7.1
Tested-by on v1 1/1
#1 lore raw
Quoted 13 lines · Dmitry Kravkov
---
 drivers/net/bnx2x/bnx2x_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/bnx2x/bnx2x_main.c +0 -0
index 7a9556b..ead524b 100644

drivers/net/bnx2x/bnx2x_main.c void bnx2x_pf_init(struct bnx2x *bp) · line 2492

Quoted 7 lines
drivers/net/bnx2x/bnx2x_main.c +1 -0
@@ -2486,6 +2486,7 @@ void bnx2x_pf_init(struct bnx2x *bp)
 	 * if (is_eth_multi(bp))
 	 *	flags |= FUNC_FLG_RSS;
 	 */
+	flags |= FUNC_FLG_RSS;
 
 	/* function setup */
 	if (flags & FUNC_FLG_RSS) {

Thanks, this solved the problem.

#3 lore raw
In reply to Dmitry Kravkov
Quoted 13 lines · Dmitry Kravkov
---
 drivers/net/bnx2x/bnx2x_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/bnx2x/bnx2x_main.c +0 -0
index 7a9556b..ead524b 100644

drivers/net/bnx2x/bnx2x_main.c void bnx2x_pf_init(struct bnx2x *bp) · line 2492

Quoted 7 lines
drivers/net/bnx2x/bnx2x_main.c +1 -0
@@ -2486,6 +2486,7 @@ void bnx2x_pf_init(struct bnx2x *bp)
 	 * if (is_eth_multi(bp))
 	 *	flags |= FUNC_FLG_RSS;
 	 */
+	flags |= FUNC_FLG_RSS;
 
 	/* function setup */
 	if (flags & FUNC_FLG_RSS) {

Then the "if (flags & FUNC_FLG_RSS)" test should be removed.

maintainer
#4 lore raw

From: Joe Perches <[email protected]>
Date: Tue, 12 Oct 2010 12:26:19 -0700

Quoted 11 lines · Dmitry Kravkov

drivers/net/bnx2x/bnx2x_main.c void bnx2x_pf_init(struct bnx2x *bp) · line 2492

Quoted 8 lines
drivers/net/bnx2x/bnx2x_main.c +1 -0
@@ -2486,6 +2486,7 @@ void bnx2x_pf_init(struct bnx2x *bp)
 	 * if (is_eth_multi(bp))
 	 *	flags |= FUNC_FLG_RSS;
 	 */
+	flags |= FUNC_FLG_RSS;
 
 	/* function setup */
 	if (flags & FUNC_FLG_RSS) {

Then the "if (flags & FUNC_FLG_RSS)" test should be removed.

Yeah it probably should. If necessary it could be added back later.

#5 lore raw
Quoted 22 lines

-----Original Message-----
From: David Miller [mailto:[email protected]]
Sent: Tuesday, October 12, 2010 9:32 PM
To: [email protected]
Cc: Dmitry Kravkov; [email protected]; [email protected]; Vladislav Zolotarov; Eilon Greenstein
Subject: Re: [PATCH net-next] bnx2x: Fixing a typo: added a missing RSS enablement

From: Joe Perches <[email protected]>
Date: Tue, 12 Oct 2010 12:26:19 -0700

Quoted 7 lines · Dmitry Kravkov
Quoted 6 lines
drivers/net/bnx2x/bnx2x_main.c +1 -0
@@ -2486,6 +2486,7 @@ void bnx2x_pf_init(struct bnx2x *bp)
 	 * if (is_eth_multi(bp))
 	 *	flags |= FUNC_FLG_RSS;
 	 */
+	flags |= FUNC_FLG_RSS;
 
Quoted 7 lines
Quoted 4 lines

drivers/net/bnx2x/bnx2x_main.c void bnx2x_pf_init(struct bnx2x *bp) · line 2492

Quoted 2 lines
drivers/net/bnx2x/bnx2x_main.c +0 -0
 	/* function setup */
 	if (flags & FUNC_FLG_RSS) {

Then the "if (flags & FUNC_FLG_RSS)" test should be removed.

Yeah it probably should. If necessary it could be added back later.

Thanks, Joe. We will consider removing this "if" and will post an appropriate patch. Most likely in the close patch series we have promised to respin... ;)

Thanks to all, guys.
vlad