Home
last modified time | relevance | path

Searched refs:cntr_req (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c3904 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in __rvu_mcam_add_counter_to_rule() local
3908 cntr_req.hdr.pcifunc = pcifunc; in __rvu_mcam_add_counter_to_rule()
3909 cntr_req.contig = true; in __rvu_mcam_add_counter_to_rule()
3910 cntr_req.count = 1; in __rvu_mcam_add_counter_to_rule()
3916 err = __npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in __rvu_mcam_add_counter_to_rule()
4044 struct npc_mcam_alloc_counter_req cntr_req; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local
4082 cntr_req.hdr.pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
4083 cntr_req.contig = true; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
4084 cntr_req.count = 1; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
4086 rc = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
H A Drvu_npc_fs.c2127 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in npc_install_mcam_drop_rule() local
2177 cntr_req.hdr.pcifunc = 0; /* AF request */ in npc_install_mcam_drop_rule()
2178 cntr_req.contig = true; in npc_install_mcam_drop_rule()
2179 cntr_req.count = 1; in npc_install_mcam_drop_rule()
2180 err = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, in npc_install_mcam_drop_rule()