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

The current implementation erroneously passes the address of the
beginning of RSS table for each 64-entry context instead of the
address of the appropriate suitable for the context. This results
in only the first 64 receive queues being used. Fix by passing the
correct address for each context.

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_hwrm.c