tg3: Report the correct number of RSS queues through tg3_get_rxnfc
authorSiva Reddy Kallam <siva.kallam@broadcom.com>
Wed, 3 Aug 2016 04:14:00 +0000 (09:44 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Aug 2016 18:56:18 +0000 (11:56 -0700)
commit9ce6fd7a81e6f787756be2f4b85f4f7bb3658de3
treeb347afb8e9a916f51b03f006dada6fd242d86dc3
parent087d7a8c917491e6e7feb707a858d624bf5b5f14
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>
drivers/net/ethernet/broadcom/tg3.c