net/bnxt: support WC TCAM shared session
authorJay Ding <jay.ding@broadcom.com>
Sun, 30 May 2021 08:58:55 +0000 (14:28 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 8 Jul 2021 00:01:55 +0000 (02:01 +0200)
commite32312d124dc69d8b37dc70f517db8ea62787806
tree54f6d2dfbe71d8a7ca36e0de5965f9a018a0ce7c
parent0bb109e715ead79403138611e0932c71be6cbd3f
net/bnxt: support WC TCAM shared session

If the session shares WC TCAM entries with others,
specify it in the session name by attach "-wc_tcam".
Firmware will flush the shared WC TCAM entries if
the last shared session using them is closed.

Signed-off-by: Jay Ding <jay.ding@broadcom.com>
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Farah Smith <farah.smith@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_core/tf_msg.c
drivers/net/bnxt/tf_core/tf_session.c