net/bnxt: fix setting max RSS contexts
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 24 Oct 2019 07:44:18 +0000 (13:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:22 +0000 (19:23 +0200)
commit32e970c1668ddfb892a5fda35ab962f27ba62d9f
treea558a197125b8eb8fac2849d9ef31414fce8c1be
parent7d4e9e2606752678aacc96e017ebc3c44a260ff1
net/bnxt: fix setting max RSS contexts

Configure max RSS contexts in case the firmware indicates a maximal
resource reservation strategy.

Fixes: 6d8109bcb398 ("net/bnxt: check VF resources if resource manager is enabled")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c
drivers/net/bnxt/bnxt_hwrm.h