]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
bnx2x: Don't prevent RSS configuration in INT#x and MSI interrupt modes.
authorVladislav Zolotarov <vladz@broadcom.com>
Sun, 9 Jan 2011 02:19:40 +0000 (02:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Jan 2011 23:47:22 +0000 (15:47 -0800)
Don't prevent RSS configuration in INT#x and MSI interrupt modes. Otherwise
Rx hash key won't be available.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_main.c

index 489a5512a04d037c153b2dd02d04749128a24500..3866468aeb042751d105c3eac8e641cbde9e3ecb 100644 (file)
@@ -8751,13 +8751,6 @@ static int __devinit bnx2x_init_bp(struct bnx2x *bp)
                dev_err(&bp->pdev->dev, "MCP disabled, "
                                        "must load devices in order!\n");
 
-       /* Set multi queue mode */
-       if ((multi_mode != ETH_RSS_MODE_DISABLED) &&
-           ((int_mode == INT_MODE_INTx) || (int_mode == INT_MODE_MSI))) {
-               dev_err(&bp->pdev->dev, "Multi disabled since int_mode "
-                                       "requested is not MSI-X\n");
-               multi_mode = ETH_RSS_MODE_DISABLED;
-       }
        bp->multi_mode = multi_mode;
        bp->int_mode = int_mode;