Searched refs:lbkid (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_switch.c | 45 u8 lbkid; in rvu_switch_install_tx_rule() local 55 lbkid = pfvf->nix_blkaddr == BLKADDR_NIX0 ? 0 : 1; in rvu_switch_install_tx_rule() 64 req.index = (lbkid << 8) | RVU_SWITCH_LBK_CHAN; in rvu_switch_install_tx_rule()
|
D | rvu.h | 246 u8 lbkid; /* NIX0/1 lbk link ID */ member 590 static inline u16 rvu_nix_chan_lbk(struct rvu *rvu, u8 lbkid, in rvu_nix_chan_lbk() argument 598 return NIX_CHAN_LBK_CHX(lbkid, chan); in rvu_nix_chan_lbk() 600 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 | 298 int pkind, pf, vf, lbkid, vfid; in nix_interface_init() local 338 lbkid = 0; in nix_interface_init() 340 lbkid = vf & 0x1 ? 0 : 1; in nix_interface_init() 359 lbkid = !lbkid; in nix_interface_init() 365 pfvf->rx_chan_base = rvu_nix_chan_lbk(rvu, lbkid, vf); in nix_interface_init() 367 rvu_nix_chan_lbk(rvu, lbkid, vf - 1) : in nix_interface_init() 368 rvu_nix_chan_lbk(rvu, lbkid, vf + 1); in nix_interface_init() 371 rsp->tx_link = hw->cgx_links + lbkid; in nix_interface_init() 372 pfvf->lbkid = lbkid; in nix_interface_init() 3928 link = hw->cgx_links + pfvf->lbkid; in rvu_mbox_handler_nix_set_hw_frs()
|