net/bnxt: add mapper support for wildcard TCAM
authorKishore Padmanabha <kishore.padmanabha@broadcom.com>
Mon, 26 Oct 2020 03:56:09 +0000 (20:56 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:03 +0000 (23:35 +0100)
commit7e604e7f9c534a62c7c6e2a41ba03afc4a803ed5
treeabf9cb7ec251eb3205f7e8758c1177500d12ce6c
parente9a705c3a426acd2321274fb1e5004d7940094f8
net/bnxt: add mapper support for wildcard TCAM

Added support for the key and mask fields encoding for the
wildcard TCAM entry. Also add internal function to post process
the key/mask blobs for wildcard TCAM table. The size of the
wildcard TCAM slice is 80 bytes.

Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_ulp/ulp_mapper.c
drivers/net/bnxt/tf_ulp/ulp_utils.c
drivers/net/bnxt/tf_ulp/ulp_utils.h