net/bnxt: implement IF tables set and get
authorJay Ding <jay.ding@broadcom.com>
Thu, 2 Jul 2020 23:28:15 +0000 (16:28 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:27 +0000 (23:38 +0200)
commitf3502f5cd2818b96c47a9ec80510b2c186821298
treee3dfc39c32f931b09654dccc1b2c2186bf258e7e
parentd0d22f1f062d6d08839601397e74d2aeb6b5a72c
net/bnxt: implement IF tables set and get

- Implement set/get for PROF_SPIF_CTXT, LKUP_PF_DFLT_ARP,
  PROF_PF_ERR_ARP with tunneled HWRM messages
- Add IF table for PROF_PARIF_DFLT_ARP
- Fix page size offset in the HCAPI code
- Fix Entry offset calculation

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>
21 files changed:
drivers/net/bnxt/hcapi/cfa_p40_tbl.h
drivers/net/bnxt/hcapi/hcapi_cfa_defs.h
drivers/net/bnxt/hcapi/hcapi_cfa_p4.c
drivers/net/bnxt/hcapi/hcapi_cfa_p4.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_em_common.c
drivers/net/bnxt/tf_core/tf_em_host.c
drivers/net/bnxt/tf_core/tf_identifier.c
drivers/net/bnxt/tf_core/tf_if_tbl.c [new file with mode: 0644]
drivers/net/bnxt/tf_core/tf_if_tbl.h [new file with mode: 0644]
drivers/net/bnxt/tf_core/tf_msg.c
drivers/net/bnxt/tf_core/tf_msg.h
drivers/net/bnxt/tf_core/tf_session.c