Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c950 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in rvu_mcam_add_counter_to_rule() local
954 cntr_req.hdr.pcifunc = pcifunc; in rvu_mcam_add_counter_to_rule()
955 cntr_req.contig = true; in rvu_mcam_add_counter_to_rule()
956 cntr_req.count = 1; in rvu_mcam_add_counter_to_rule()
962 err = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, in rvu_mcam_add_counter_to_rule()
1474 struct npc_mcam_alloc_counter_req cntr_req = { 0 }; in npc_install_mcam_drop_rule() local
1522 cntr_req.hdr.pcifunc = 0; /* AF request */ in npc_install_mcam_drop_rule()
1523 cntr_req.contig = true; in npc_install_mcam_drop_rule()
1524 cntr_req.count = 1; in npc_install_mcam_drop_rule()
1525 err = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in npc_install_mcam_drop_rule()
Drvu_npc.c3098 struct npc_mcam_alloc_counter_req cntr_req; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local
3140 cntr_req.hdr.pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3141 cntr_req.contig = true; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3142 cntr_req.count = 1; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3144 rc = rvu_mbox_handler_npc_mcam_alloc_counter(rvu, &cntr_req, &cntr_rsp); in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()