Searched refs:cntr_req (Results 1 – 2 of 2) sorted by relevance
3160 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in __rvu_mcam_add_counter_to_rule() local3164 cntr_req.hdr.pcifunc = pcifunc; in __rvu_mcam_add_counter_to_rule()3165 cntr_req.contig = true; in __rvu_mcam_add_counter_to_rule()3166 cntr_req.count = 1; in __rvu_mcam_add_counter_to_rule()3172 err = __npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in __rvu_mcam_add_counter_to_rule()3278 struct npc_mcam_alloc_counter_req cntr_req; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local3316 cntr_req.hdr.pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3317 cntr_req.contig = true; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3318 cntr_req.count = 1; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3320 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()