Searched refs:lbkid (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_switch.c | 56 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()
|
D | rvu.h | 276 u8 lbkid; /* NIX0/1 lbk link ID */ member 747 static inline u16 rvu_nix_chan_lbk(struct rvu *rvu, u8 lbkid, in rvu_nix_chan_lbk() argument 755 return NIX_CHAN_LBK_CHX(lbkid, chan); in rvu_nix_chan_lbk() 757 return rvu->hw->lbk_chan_base + lbkid * lbk_chans + chan; in rvu_nix_chan_lbk()
|
D | rvu_cn10k.c | 354 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()
|
D | rvu_nix.c | 334 int pkind, pf, vf, lbkid, vfid; in nix_interface_init() local 374 lbkid = 0; in nix_interface_init() 376 lbkid = vf & 0x1 ? 0 : 1; in nix_interface_init() 395 lbkid = !lbkid; in nix_interface_init() 401 pfvf->rx_chan_base = rvu_nix_chan_lbk(rvu, lbkid, vf); in nix_interface_init() 403 rvu_nix_chan_lbk(rvu, lbkid, vf - 1) : in nix_interface_init() 404 rvu_nix_chan_lbk(rvu, lbkid, vf + 1); in nix_interface_init() 407 rsp->tx_link = hw->cgx_links + lbkid; in nix_interface_init() 408 pfvf->lbkid = lbkid; in nix_interface_init() 4585 link = hw->cgx_links + pfvf->lbkid; in rvu_mbox_handler_nix_set_hw_frs()
|