net/bnxt: add functions to clear TCAM regions
authorFarah Smith <farah.smith@broadcom.com>
Sun, 30 May 2021 08:58:56 +0000 (14:28 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 8 Jul 2021 00:01:55 +0000 (02:01 +0200)
commit4e61f0f42c5048f821077937b8e283e061496e41
tree3a7bf5508a387a3fdd85c5b5e21fcf0256f28b4e
parente32312d124dc69d8b37dc70f517db8ea62787806
net/bnxt: add functions to clear TCAM regions

Add TRUFLOW API to clear either the hi or the low regions
in WildCard TCAM for ungraceful exit cleanup.

Signed-off-by: Farah Smith <farah.smith@broadcom.com>
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Jay Ding <jay.ding@broadcom.com>
Reviewed-by: Peter Spreadborough <peter.spreadborough@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.h
drivers/net/bnxt/tf_core/tf_device_p4.c
drivers/net/bnxt/tf_core/tf_device_p58.c
drivers/net/bnxt/tf_core/tf_tcam_shared.c
drivers/net/bnxt/tf_core/tf_tcam_shared.h
drivers/net/bnxt/tf_core/tf_util.h