Searched refs:cntr_req (Results 1 – 2 of 2) sorted by relevance
3172 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in __rvu_mcam_add_counter_to_rule() local3176 cntr_req.hdr.pcifunc = pcifunc; in __rvu_mcam_add_counter_to_rule()3177 cntr_req.contig = true; in __rvu_mcam_add_counter_to_rule()3178 cntr_req.count = 1; in __rvu_mcam_add_counter_to_rule()3184 err = __npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in __rvu_mcam_add_counter_to_rule()3290 struct npc_mcam_alloc_counter_req cntr_req; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local3328 cntr_req.hdr.pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3329 cntr_req.contig = true; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3330 cntr_req.count = 1; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3332 rc = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
1713 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in npc_install_mcam_drop_rule() local1761 cntr_req.hdr.pcifunc = 0; /* AF request */ in npc_install_mcam_drop_rule()1762 cntr_req.contig = true; in npc_install_mcam_drop_rule()1763 cntr_req.count = 1; in npc_install_mcam_drop_rule()1764 err = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in npc_install_mcam_drop_rule()