]> 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)
commitcbb2e081b35482c245aa20bfa0580e40f992ac18
treeb347afb8e9a916f51b03f006dada6fd242d86dc3
parentf3db44dd1f779cfe53b332c28bd3120d4d14ce99
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