Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/af/
Dcgx.h24 #define MAX_LMAC_PER_CGX 4 macro
26 #define CGX_OFFSET(x) ((x) * MAX_LMAC_PER_CGX)
Dcgx.c59 struct lmac *lmac_idmap[MAX_LMAC_PER_CGX];
96 if (!cgx || lmac_id >= MAX_LMAC_PER_CGX) in lmac_pdata()
720 if (cgx->lmac_count > MAX_LMAC_PER_CGX) in cgx_lmac_init()
721 cgx->lmac_count = MAX_LMAC_PER_CGX; in cgx_lmac_init()
Drvu_cgx.c72 if (cgx_cnt_max > 0xF || MAX_LMAC_PER_CGX > 0xF) in rvu_map_cgx_lmac_pf()
79 size = (cgx_cnt_max * MAX_LMAC_PER_CGX + 1) * sizeof(u8); in rvu_map_cgx_lmac_pf()
89 cgx_cnt_max * MAX_LMAC_PER_CGX * sizeof(u16), in rvu_map_cgx_lmac_pf()
Drvu_nix.c1091 schq_base = (cgx_id * MAX_LMAC_PER_CGX + lmac_id) * 2; in rvu_get_tl1_schqs()
1094 schq_base = rvu->cgx_cnt_max * MAX_LMAC_PER_CGX * 2; in rvu_get_tl1_schqs()