net/bnxt: add global config set and get functions
authorJay Ding <jay.ding@broadcom.com>
Thu, 2 Jul 2020 23:28:17 +0000 (16:28 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:27 +0000 (23:38 +0200)
commita11f87d3b2caac31623b9f0d190bd93465b27153
treedd16c934b772f13f744de8b0a3f1239a4f31907b
parentaa2be5093363b57a6ad102bad9732b08c8c1f5ab
net/bnxt: add global config set and get functions

- Add support to update global configuration for ACT_TECT
  and ACT_ABCR.
- Add support to allow Tunnel and Action global configuration.
- Remove register read and write operations.
- Remove the register read and write support.

Signed-off-by: Jay Ding <jay.ding@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
14 files changed:
drivers/net/bnxt/hcapi/hcapi_cfa.h
drivers/net/bnxt/meson.build
drivers/net/bnxt/tf_core/Makefile
drivers/net/bnxt/tf_core/hwrm_tf.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.h
drivers/net/bnxt/tf_core/tf_device_p4.c
drivers/net/bnxt/tf_core/tf_device_p4.h
drivers/net/bnxt/tf_core/tf_global_cfg.c [new file with mode: 0644]
drivers/net/bnxt/tf_core/tf_global_cfg.h [new file with mode: 0644]
drivers/net/bnxt/tf_core/tf_msg.c
drivers/net/bnxt/tf_core/tf_msg.h