net/bnxt: add shadow and search capability to TCAM
authorMike Baucom <michael.baucom@broadcom.com>
Thu, 23 Jul 2020 11:56:20 +0000 (17:26 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
commit7d5d5b877582ee30e64946ee788d21d50d03ae2e
tree802b0dfb03404fe977cac5121bd0facb6582b0e5
parent54b20f94cd847c713c2c9bca281295f5d1d0663f
net/bnxt: add shadow and search capability to TCAM

- Add TCAM shadow tables for searching
- Add Search API to allow reuse of TCAM entries

Signed-off-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_core/tf_core.c
drivers/net/bnxt/tf_core/tf_core.h
drivers/net/bnxt/tf_core/tf_device_p4.c
drivers/net/bnxt/tf_core/tf_shadow_tcam.c
drivers/net/bnxt/tf_core/tf_shadow_tcam.h
drivers/net/bnxt/tf_core/tf_tcam.c
drivers/net/bnxt/tf_core/tf_tcam.h