net/bnxt: fix number of action records
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Sat, 31 Jul 2021 04:39:21 +0000 (21:39 -0700)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Sat, 31 Jul 2021 14:56:43 +0000 (16:56 +0200)
commit31a2db5a177649f4b979e148c89d9f248c0ca97a
tree523c81e2124708cd9ce2b212f6eb96cc026aa380
parentc4379ee599ef2f6feea914566bd494f66f7e8ad0
net/bnxt: fix number of action records

For Thor, the number of action records is being wrongly configured
to 128 because of incorrect definition of divider. This results in
an incorrect number of action records being negotiated with the FW.
Remove the divider from the templates and delete the logic which
uses the field in the resource manager logic.

Fixes: 3fe124d2536c ("net/bnxt: support Thor platform")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Tested-by: Shuanglin Wang <shuanglin.wang@broadcom.com>
drivers/net/bnxt/tf_core/tf_device_p58.h
drivers/net/bnxt/tf_core/tf_rm.c
drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_tbl.c