net/bnxt: enable shadow tables during session open

Turn on shadow memory in the core to allow search before allocate.
This allows reuse of constrained resources.

Signed-off-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
Mike Baucom 2020-07-23 17:26:38 +05:30 committed by Ferruh Yigit
parent 14b8d6528c
commit 488130f73f

View file

@ -81,7 +81,7 @@ ulp_ctx_session_open(struct bnxt *bp,
return rc;
}
params.shadow_copy = false;
params.shadow_copy = true;
params.device_type = TF_DEVICE_TYPE_WH;
resources = &params.resources;
/** RX **/