alloc_req
pending_req = alloc_req(ring);
struct npc_mcam_alloc_entry_req alloc_req = { 0 };
alloc_req.contig = true;
alloc_req.count = rvu->cgx_mapped_pfs + rvu->cgx_mapped_vfs;
alloc_req.count = alloc_req.count * 4;
ret = rvu_mbox_handler_npc_mcam_alloc_entry(rvu, &alloc_req,
if (alloc_rsp.count != alloc_req.count) {
alloc_req.count, alloc_rsp.count);
rswitch->entry2pcifunc = kcalloc(alloc_req.count, sizeof(u16),
req = alloc_req(can_sleep); \
req = alloc_req(true);