Patchwork [net-2.6,6/6] be2net: fix to get RxQ IDs 0 and 1.

login
register
mail settings
Submitter Ajit Khaparde
Date Aug. 22, 2010, 9:28 a.m.
Message ID <20100822092754.GA22346@serverengines.com>
Download mbox | patch
Permalink /patch/62367/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Ajit Khaparde - Aug. 22, 2010, 9:28 a.m.
Under certain configurations, it is possible to get RxQ IDs from
firmware which are not 0 and 1. This change ensures RxQ IDs 0 & 1
for the be2net network interfaces.

Signed-off-by: Somnath K<somnathk@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
 drivers/net/benet/be_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 949d9a1..f1b1454 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -2137,7 +2137,8 @@  static int be_setup(struct be_adapter *adapter)
 	if (be_physfn(adapter)) {
 		cap_flags |= BE_IF_FLAGS_MCAST_PROMISCUOUS |
 				BE_IF_FLAGS_PROMISCUOUS |
-				BE_IF_FLAGS_PASS_L3L4_ERRORS;
+				BE_IF_FLAGS_PASS_L3L4_ERRORS |
+				BE_IF_FLAGS_RSS;
 		en_flags |= BE_IF_FLAGS_PASS_L3L4_ERRORS;
 	}