Searched refs:sa2pf_map (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs_cnf10kb.c | 187 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 D | mcs.c | 325 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 D | mcs.h | 112 u16 *sa2pf_map; member
|
H A D | mcs_rvu_if.c | 669 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()
|