net/bnxt: add Stingray support to core layer
authorPeter Spreadborough <peter.spreadborough@broadcom.com>
Mon, 26 Oct 2020 03:56:02 +0000 (20:56 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:03 +0000 (23:35 +0100)
commit0f27fe09ddcf500ab7fa34a1e67dec969c01b70d
treed1e31df203ba9e4a89c9155ef80da28bc6e9817f
parent397df9c4d186c5d7c8ea210b6fbdbd9851b9aebb
net/bnxt: add Stingray support to core layer

- Moved P4 chip specific code under the P4 directory
- Added P45 skeleton code for SR to build on
- Add SR support in TRUFLOW core layer.
The TRUFLOW core or the tf-core is a shim layer which communicates with
the CFA block in the hardware.

Signed-off-by: Peter Spreadborough <peter.spreadborough@broadcom.com>
Signed-off-by: Jay Ding <jay.ding@broadcom.com>
Reviewed-by: Farah Smith <farah.smith@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/hcapi/hcapi_cfa.h
drivers/net/bnxt/tf_core/cfa_resource_types.h
drivers/net/bnxt/tf_core/tf_core.c
drivers/net/bnxt/tf_core/tf_core.h
drivers/net/bnxt/tf_core/tf_device.c
drivers/net/bnxt/tf_core/tf_device_p4.c
drivers/net/bnxt/tf_core/tf_device_p4.h
drivers/net/bnxt/tf_core/tf_device_p45.h [new file with mode: 0644]
drivers/net/bnxt/tf_core/tf_em.h