Home
last modified time | relevance | path

Searched refs:CGX_OFFSET (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Dcgx.h26 #define CGX_OFFSET(x) ((x) * MAX_LMAC_PER_CGX) macro
Drvu_cgx.c45 return rvu->cgxlmac2pf_map[CGX_OFFSET(cgx_id) + lmac_id]; in cgxlmac_to_pfmap()
101 rvu->cgxlmac2pf_map[CGX_OFFSET(cgx) + lmac] = 1 << pf; in rvu_map_cgx_lmac_pf()