net/bnxt: fix RSS table sizes
authorLance Richardson <lance.richardson@broadcom.com>
Thu, 18 Jul 2019 03:36:09 +0000 (09:06 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commit4ab48e8241e67f691b210d83029a339efa7ff344
treef25f916c432e6957b2f9c838cf0f2b44a770d313
parentce1d4562430d484e9bfbb2f00249ad2b7a965fe7
net/bnxt: fix RSS table sizes

RSS table size is variable with BCM57500-based adapters. Use correct
size when allocating memory for RSS state.

Fixes: 38412304b50a ("net/bnxt: enable RSS for thor-based controllers")

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_vnic.c