diff options
author | Siva Reddy Kallam <siva.kallam@broadcom.com> | 2016-08-03 09:44:00 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-03 11:56:18 -0700 |
commit | 9ce6fd7a81e6f787756be2f4b85f4f7bb3658de3 (patch) | |
tree | b347afb8e9a916f51b03f006dada6fd242d86dc3 /drivers/net/ethernet/broadcom/tg3.c | |
parent | 087d7a8c917491e6e7feb707a858d624bf5b5f14 (diff) | |
download | linux-stable-9ce6fd7a81e6f787756be2f4b85f4f7bb3658de3.tar.gz linux-stable-9ce6fd7a81e6f787756be2f4b85f4f7bb3658de3.tar.bz2 linux-stable-9ce6fd7a81e6f787756be2f4b85f4f7bb3658de3.zip |
tg3: Report the correct number of RSS queues through tg3_get_rxnfc
This patch remove the wrong substraction from info->data in
tg3_get_rxnfc function. Without this patch, the number of RSS
queues reported is less by one.
Reported-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: Siva Reddy Kallam <siva.kallam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index f3c6c915e423..659261218d9f 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -12552,10 +12552,6 @@ static int tg3_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, info->data = TG3_RSS_MAX_NUM_QS; } - /* The first interrupt vector only - * handles link interrupts. - */ - info->data -= 1; return 0; default: |