Searched refs:mac_to_index_bmap (Results 1 – 2 of 2) sorted by relevance
260 index = id * lmac->mac_to_index_bmap.max; in cgx_lmac_addr_set()315 idx = rvu_alloc_rsrc(&lmac->mac_to_index_bmap); in cgx_lmac_addr_add()321 index = id * lmac->mac_to_index_bmap.max + idx; in cgx_lmac_addr_add()359 set_bit(0, lmac->mac_to_index_bmap.bmap); in cgx_lmac_addr_reset()363 index = id * lmac->mac_to_index_bmap.max + index; in cgx_lmac_addr_reset()393 if (index >= lmac->mac_to_index_bmap.max) in cgx_lmac_addr_update()397 if (!test_bit(index, lmac->mac_to_index_bmap.bmap)) in cgx_lmac_addr_update()402 index = id * lmac->mac_to_index_bmap.max + index; in cgx_lmac_addr_update()426 if (index >= lmac->mac_to_index_bmap.max) in cgx_lmac_addr_del()433 rvu_free_rsrc(&lmac->mac_to_index_bmap, index); in cgx_lmac_addr_del()[all …]
35 struct rsrc_bmap mac_to_index_bmap; member