net/bnxt: fix stats counter resource
The flow counters is reduced from 8192 to 6912 for Whitney for compatibility with different versions of FW. The FW resource manager splits resources for flow offload and other use cases. A higher value used for flow offload by the PMD can cause overriding the resources set aside by FW. This in turn can lead to FW rejecting filter creation requests during initialization. Use a smaller safe value to avoid these issues. Fixes: 6fad9115101c ("net/bnxt: reorganize ULP template directory structure") Cc: stable@dpdk.org Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
c18b1b1f99
commit
9967ac7f84
@ -1154,7 +1154,7 @@ struct bnxt_ulp_resource_resv_info ulp_resource_resv_list[] = {
|
||||
.direction = TF_DIR_RX,
|
||||
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
|
||||
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
|
||||
.count = 8192
|
||||
.count = 6912
|
||||
},
|
||||
{
|
||||
.app_id = 0,
|
||||
@ -1298,7 +1298,7 @@ struct bnxt_ulp_resource_resv_info ulp_resource_resv_list[] = {
|
||||
.direction = TF_DIR_TX,
|
||||
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
|
||||
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
|
||||
.count = 8192
|
||||
.count = 6912
|
||||
},
|
||||
{
|
||||
.app_id = 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user