]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f524c7f54a2768142c5ce740326267081328b80
treeb347afb8e9a916f51b03f006dada6fd242d86dc3
parent4441a79f9de4f38d9da17d65eaddd65031678095
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