Searched refs:MAX_LMAC_PER_CGX (Results 1 – 3 of 3) sorted by relevance
24 #define MAX_LMAC_PER_CGX 4 macro26 #define CGX_OFFSET(x) ((x) * MAX_LMAC_PER_CGX)
102 if (cgx_cnt_max > 0xF || MAX_LMAC_PER_CGX > 0xF) in rvu_map_cgx_lmac_pf()109 size = (cgx_cnt_max * MAX_LMAC_PER_CGX + 1) * sizeof(u8); in rvu_map_cgx_lmac_pf()119 cgx_cnt_max * MAX_LMAC_PER_CGX * sizeof(u16), in rvu_map_cgx_lmac_pf()
59 struct lmac *lmac_idmap[MAX_LMAC_PER_CGX];96 if (!cgx || lmac_id >= MAX_LMAC_PER_CGX) in lmac_pdata()866 if (cgx->lmac_count > MAX_LMAC_PER_CGX) in cgx_lmac_init()867 cgx->lmac_count = MAX_LMAC_PER_CGX; in cgx_lmac_init()