Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c1024 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in rvu_mcam_add_counter_to_rule() local
1028 cntr_req.hdr.pcifunc = pcifunc; in rvu_mcam_add_counter_to_rule()
1029 cntr_req.contig = true; in rvu_mcam_add_counter_to_rule()
1030 cntr_req.count = 1; in rvu_mcam_add_counter_to_rule()
1036 err = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, in rvu_mcam_add_counter_to_rule()
1595 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in npc_install_mcam_drop_rule() local
1643 cntr_req.hdr.pcifunc = 0; /* AF request */ in npc_install_mcam_drop_rule()
1644 cntr_req.contig = true; in npc_install_mcam_drop_rule()
1645 cntr_req.count = 1; in npc_install_mcam_drop_rule()
1646 err = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in npc_install_mcam_drop_rule()
Drvu_npc.c3120 struct npc_mcam_alloc_counter_req cntr_req; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local
3162 cntr_req.hdr.pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3163 cntr_req.contig = true; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3164 cntr_req.count = 1; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3166 rc = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()