Skip to content

Commit 9ce6fd7

Browse files
siva-kallamdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Siva Reddy Kallam <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 087d7a8 commit 9ce6fd7

File tree

1 file changed

+0
-4
lines changed
  • drivers/net/ethernet/broadcom

1 file changed

+0
-4
lines changed

drivers/net/ethernet/broadcom/tg3.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12552,10 +12552,6 @@ static int tg3_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info,
1255212552
info->data = TG3_RSS_MAX_NUM_QS;
1255312553
}
1255412554

12555-
/* The first interrupt vector only
12556-
* handles link interrupts.
12557-
*/
12558-
info->data -= 1;
1255912555
return 0;
1256012556

1256112557
default:

0 commit comments

Comments
 (0)