Home
last modified time | relevance | path

Searched refs:lmac_per_cgx (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cn10k.c295 hw->lmac_per_cgx = (nix_const >> 8) & 0xFULL; in rvu_set_channels_base()
296 hw->cgx_links = hw->cgx * hw->lmac_per_cgx; in rvu_set_channels_base()
523 for (lmac = 0; lmac < hw->lmac_per_cgx; lmac++) { in rvu_rpm_set_channels()
Drvu.h345 u8 lmac_per_cgx; member
584 (cgxid * hw->lmac_per_cgx + lmacid) * cgx_chans + chan; in rvu_nix_chan_cgx()
Drvu_nix.c323 rsp->tx_link = cgx_id * hw->lmac_per_cgx + lmac_id; in nix_interface_init()
539 bpid = (cgx_id * hw->lmac_per_cgx * lmac_chan_cnt) + in rvu_nix_get_bpid()
1735 return (cgx_id * hw->lmac_per_cgx) + lmac_id; in nix_get_tx_link()
3915 link = (cgx * hw->lmac_per_cgx) + lmac; in rvu_mbox_handler_nix_set_hw_frs()
4030 slink = cgx * hw->lmac_per_cgx; in nix_link_config()