net/bnxt: support EM/EEM
authorPete Spreadborough <peter.spreadborough@broadcom.com>
Wed, 15 Apr 2020 08:18:49 +0000 (13:48 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:08 +0000 (13:57 +0200)
commit69c410b8448d216239e95fce46bfe2c3ae81ff64
tree771ee51a7a3897b8e6edbef8f1aa0f568989f06f
parentdba3ca8b304f9b8029612e8fab549220fbe49b1c
net/bnxt: support EM/EEM

- Add TruFlow flow memory support
- Exact Match (EM) adds the capability to manage and manipulate
  data flows using on chip memory.
- Extended Exact Match (EEM) behaves similarly to EM, but at a
  vastly increased scale by using host DDR, with performance
  trade-off due to the need to access off-chip memory.

Signed-off-by: Pete Spreadborough <peter.spreadborough@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
13 files changed:
drivers/net/bnxt/Makefile
drivers/net/bnxt/tf_core/lookup3.h [new file with mode: 0644]
drivers/net/bnxt/tf_core/stack.c [new file with mode: 0644]
drivers/net/bnxt/tf_core/stack.h [new file with mode: 0644]
drivers/net/bnxt/tf_core/tf_core.c
drivers/net/bnxt/tf_core/tf_core.h
drivers/net/bnxt/tf_core/tf_em.c [new file with mode: 0644]
drivers/net/bnxt/tf_core/tf_em.h [new file with mode: 0644]
drivers/net/bnxt/tf_core/tf_ext_flow_handle.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_tbl.c
drivers/net/bnxt/tf_core/tf_tbl.h