Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_switch.c56 u8 lbkid; in rvu_switch_install_tx_rule() local
68 lbkid = pfvf->nix_blkaddr == BLKADDR_NIX0 ? 0 : 1; in rvu_switch_install_tx_rule()
77 req.index = (lbkid << 8) | RVU_SWITCH_LBK_CHAN; in rvu_switch_install_tx_rule()
Drvu.h257 u8 lbkid; /* NIX0/1 lbk link ID */ member
674 static inline u16 rvu_nix_chan_lbk(struct rvu *rvu, u8 lbkid, in rvu_nix_chan_lbk() argument
682 return NIX_CHAN_LBK_CHX(lbkid, chan); in rvu_nix_chan_lbk()
684 return rvu->hw->lbk_chan_base + lbkid * lbk_chans + chan; in rvu_nix_chan_lbk()
Drvu_cn10k.c354 u64 offset, int lbkid, u16 chans) in __rvu_lbk_set_chans() argument
363 cfg |= FIELD_PREP(LBK_LINK_CFG_ID_MASK, lbkid); in __rvu_lbk_set_chans()
Drvu_nix.c311 int pkind, pf, vf, lbkid, vfid; in nix_interface_init() local
351 lbkid = 0; in nix_interface_init()
353 lbkid = vf & 0x1 ? 0 : 1; in nix_interface_init()
372 lbkid = !lbkid; in nix_interface_init()
378 pfvf->rx_chan_base = rvu_nix_chan_lbk(rvu, lbkid, vf); in nix_interface_init()
380 rvu_nix_chan_lbk(rvu, lbkid, vf - 1) : in nix_interface_init()
381 rvu_nix_chan_lbk(rvu, lbkid, vf + 1); in nix_interface_init()
384 rsp->tx_link = hw->cgx_links + lbkid; in nix_interface_init()
385 pfvf->lbkid = lbkid; in nix_interface_init()
4284 link = hw->cgx_links + pfvf->lbkid; in rvu_mbox_handler_nix_set_hw_frs()