Home
last modified time | relevance | path

Searched refs:sa2pf_map (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs.c325 if (map->sa2pf_map[id] != pcifunc) in mcs_clear_all_stats()
753 if (map->sa2pf_map[id] != pcifunc) in mcs_free_all_rsrc()
755 mcs_free_rsrc(&map->sa, map->sa2pf_map, id, pcifunc); in mcs_free_all_rsrc()
797 id = mcs_alloc_rsrc(&map->sa, map->sa2pf_map, pcifunc); in mcs_alloc_all_rsrc()
802 id = mcs_alloc_rsrc(&map->sa, map->sa2pf_map, pcifunc); in mcs_alloc_all_rsrc()
832 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cn10kb_mcs_tx_pn_wrapped_handler()
871 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cn10kb_mcs_tx_pn_thresh_reached_handler()
895 event.pcifunc = mcs->rx.sa2pf_map[event.sa_id]; in mcs_rx_pn_thresh_reached_handler()
1097 res->sa2pf_map = alloc_mem(mcs, hw->sa_entries); in mcs_alloc_struct_mem()
1098 if (!res->sa2pf_map) in mcs_alloc_struct_mem()
H A Dmcs_cnf10kb.c187 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
214 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cnf10kb_mcs_tx_pn_wrapped_handler()
H A Dmcs.h112 u16 *sa2pf_map; member
H A Dmcs_rvu_if.c669 rc = mcs_free_rsrc(&map->sa, map->sa2pf_map, req->rsrc_id, pcifunc); in rvu_mbox_handler_mcs_free_resources()
738 rsrc_id = mcs_alloc_rsrc(&map->sa, map->sa2pf_map, pcifunc); in rvu_mbox_handler_mcs_alloc_resources()