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.c3163 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in __rvu_mcam_add_counter_to_rule() local
3167 cntr_req.hdr.pcifunc = pcifunc; in __rvu_mcam_add_counter_to_rule()
3168 cntr_req.contig = true; in __rvu_mcam_add_counter_to_rule()
3169 cntr_req.count = 1; in __rvu_mcam_add_counter_to_rule()
3175 err = __npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in __rvu_mcam_add_counter_to_rule()
3281 struct npc_mcam_alloc_counter_req cntr_req; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local
3319 cntr_req.hdr.pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3320 cntr_req.contig = true; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3321 cntr_req.count = 1; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3323 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.c1713 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in npc_install_mcam_drop_rule() local
1761 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()