net/bnxt: cleanup WC TCAM shared pool
authorFarah Smith <farah.smith@broadcom.com>
Sun, 30 May 2021 08:58:54 +0000 (14:28 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 8 Jul 2021 00:01:54 +0000 (02:01 +0200)
commit0bb109e715ead79403138611e0932c71be6cbd3f
tree0a4b895949e35ee3ec3a3aef18adb9bdf1122d8c
parentb08e34cd402538272a77b49d7daf9a9e4ce700c8
net/bnxt: cleanup WC TCAM shared pool

Clean up all allocated hi or lo pool TCAM regions on close.
Along with message cleanup and remove unnecessary multi-slice options
Also make sure that find next free entry should start from 0 first time.

Signed-off-by: Farah Smith <farah.smith@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>
drivers/net/bnxt/tf_core/tf_tcam_shared.c