Searched refs:lbkid (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/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 | 243 u8 lbkid; /* NIX0/1 lbk link ID */ member 587 static inline u16 rvu_nix_chan_lbk(struct rvu *rvu, u8 lbkid, in rvu_nix_chan_lbk() argument 595 return NIX_CHAN_LBK_CHX(lbkid, chan); in rvu_nix_chan_lbk() 597 return rvu->hw->lbk_chan_base + lbkid * lbk_chans + chan; in rvu_nix_chan_lbk()
|
D | rvu_cn10k.c | 351 u64 offset, int lbkid, u16 chans) in __rvu_lbk_set_chans() argument 360 cfg |= FIELD_PREP(LBK_LINK_CFG_ID_MASK, lbkid); in __rvu_lbk_set_chans()
|
D | rvu_nix.c | 297 int pkind, pf, vf, lbkid, vfid; in nix_interface_init() local 345 lbkid = 0; in nix_interface_init() 347 lbkid = vf & 0x1 ? 0 : 1; in nix_interface_init() 366 lbkid = !lbkid; in nix_interface_init() 372 pfvf->rx_chan_base = rvu_nix_chan_lbk(rvu, lbkid, vf); in nix_interface_init() 374 rvu_nix_chan_lbk(rvu, lbkid, vf - 1) : in nix_interface_init() 375 rvu_nix_chan_lbk(rvu, lbkid, vf + 1); in nix_interface_init() 378 rsp->tx_link = hw->cgx_links + lbkid; in nix_interface_init() 379 pfvf->lbkid = lbkid; in nix_interface_init() 3919 link = hw->cgx_links + pfvf->lbkid; in rvu_mbox_handler_nix_set_hw_frs()
|