bnx2x: Fixing a typo: added a missing RSS enablement
Subsystems (2)
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
@@ -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
Quoted 13 lines · Dmitry Kravkov
Reported-by Eric Dumazet <[email protected]>Signed-off-by Dmitry Kravkov <[email protected]>Signed-off-by Vladislav Zolotarov <[email protected]>--- drivers/net/bnx2x/bnx2x_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/net/bnx2x/bnx2x_main.c +0
-0
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.
Quoted 13 lines · Dmitry Kravkov
Reported-by Eric Dumazet <[email protected]>Signed-off-by Dmitry Kravkov <[email protected]>Signed-off-by Vladislav Zolotarov <[email protected]>--- drivers/net/bnx2x/bnx2x_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/net/bnx2x/bnx2x_main.c +0
-0
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.
From: Eric Dumazet <[email protected]>
Date: Tue, 12 Oct 2010 21:18:49 +0200
Quoted 5 lines · Dmitry Kravkov
Quoted 4 lines
Reported-by Eric Dumazet <[email protected]>Signed-off-by Dmitry Kravkov <[email protected]>Signed-off-by Vladislav Zolotarov <[email protected]>
...
Quoted 3 lines
Thanks, this solved the problem.
Tested-by Eric Dumazet <[email protected]>
Applied, thanks guys.
David Miller
maintainerFrom: 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.
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 enablementFrom: Joe Perches <[email protected]>
Date: Tue, 12 Oct 2010 12:26:19 -0700Quoted 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