The shared handle is set in the mapper params when generic resource
are created, this shall be used by application as a handle to the
shared resource like mirror handle.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
/* increment the reference count */
ULP_GEN_TBL_REF_CNT_INC(&gen_tbl_ent);
fdb_write = 1;
+ parms->shared_hndl = (uint64_t)tbl_idx << 32 | ckey;
break;
default:
BNXT_TF_DBG(ERR, "Invalid table opcode %x\n", tbl->tbl_opcode);
uint32_t parent_flow;
uint8_t tun_idx;
uint32_t app_priority;
+ uint64_t shared_hndl;
};
struct bnxt_ulp_mapper_create_parms {