Searched refs:cntr_req (Results 1 – 2 of 2) sorted by relevance
3608 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in __rvu_mcam_add_counter_to_rule() local3612 cntr_req.hdr.pcifunc = pcifunc; in __rvu_mcam_add_counter_to_rule()3613 cntr_req.contig = true; in __rvu_mcam_add_counter_to_rule()3614 cntr_req.count = 1; in __rvu_mcam_add_counter_to_rule()3620 err = __npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in __rvu_mcam_add_counter_to_rule()3755 struct npc_mcam_alloc_counter_req cntr_req; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local3793 cntr_req.hdr.pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3794 cntr_req.contig = true; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3795 cntr_req.count = 1; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()3797 rc = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
2112 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in npc_install_mcam_drop_rule() local2162 cntr_req.hdr.pcifunc = 0; /* AF request */ in npc_install_mcam_drop_rule()2163 cntr_req.contig = true; in npc_install_mcam_drop_rule()2164 cntr_req.count = 1; in npc_install_mcam_drop_rule()2165 err = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, in npc_install_mcam_drop_rule()