net/bnxt: add 64B SRAM record management with RM
authorFarah Smith <farah.smith@broadcom.com>
Sun, 30 May 2021 08:58:41 +0000 (14:28 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 7 Jul 2021 23:57:01 +0000 (01:57 +0200)
commit20339b09cf71bc195dc6cf3facacbc5548505fd5
tree2cf5b4893727c30e28d52932e5de887064314f9c
parent902fa8b50d609150f717394ba0c5b72890c66d9b
net/bnxt: add 64B SRAM record management with RM

HCAPI RM now manages 64Byte records instead of 8Byte.
Truflow core RM will manage the same. The tf_tbl core
APIs now return 8B pointer addresses. These can
be used directly as SRAM pointers in Action Records.
When communicating with the firmware 8 byte addresses
will be used.

Signed-off-by: Farah Smith <farah.smith@broadcom.com>
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_core/tf_device.h
drivers/net/bnxt/tf_core/tf_device_p4.c
drivers/net/bnxt/tf_core/tf_device_p58.c
drivers/net/bnxt/tf_core/tf_device_p58.h
drivers/net/bnxt/tf_core/tf_rm.h
drivers/net/bnxt/tf_core/tf_tbl.c