Searched refs:nix_blkaddr (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_switch.c | 16 nix_hw = get_nix_hw(rvu->hw, pfvf->nix_blkaddr); in rvu_switch_enable_lbk_link() 18 rvu_nix_tx_tl2_cfg(rvu, pfvf->nix_blkaddr, pcifunc, in rvu_switch_enable_lbk_link() 68 lbkid = pfvf->nix_blkaddr == BLKADDR_NIX0 ? 0 : 1; in rvu_switch_install_tx_rule()
|
D | rvu_cpt.c | 618 int nix_blkaddr; in cpt_inline_ipsec_cfg_outbound() local 648 nix_blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NIX, nix_pf_func); in cpt_inline_ipsec_cfg_outbound() 649 nix_sel = (nix_blkaddr == BLKADDR_NIX0) ? 0 : 1; in cpt_inline_ipsec_cfg_outbound() 1145 int nix_blkaddr) in cpt_inline_inb_lf_cmd_send() argument 1199 rvu_write64(rvu, nix_blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), in cpt_inline_inb_lf_cmd_send() 1232 int nix_blkaddr, blkaddr; in rvu_cpt_ctx_flush() local 1238 nix_blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NIX, pcifunc); in rvu_cpt_ctx_flush() 1239 if (nix_blkaddr < 0) in rvu_cpt_ctx_flush() 1245 blkaddr = (nix_blkaddr == BLKADDR_NIX1) ? BLKADDR_CPT1 : BLKADDR_CPT0; in rvu_cpt_ctx_flush() 1250 rc = cpt_inline_inb_lf_cmd_send(rvu, blkaddr, nix_blkaddr); in rvu_cpt_ctx_flush()
|
D | rvu.h | 273 u8 nix_blkaddr; /* BLKADDR_NIX0/1 assigned to this PF */ member 528 int nix_blkaddr[MAX_NIX_BLKS]; member 904 int nix_get_nixlf(struct rvu *rvu, u16 pcifunc, int *nixlf, int *nix_blkaddr);
|
D | rvu_nix.c | 96 return rvu->nix_blkaddr[blkaddr]; in rvu_get_next_nix_blkaddr() 99 if (rvu->nix_blkaddr[i] == blkaddr) in rvu_get_next_nix_blkaddr() 100 return rvu->nix_blkaddr[i + 1]; in rvu_get_next_nix_blkaddr() 132 int nix_get_nixlf(struct rvu *rvu, u16 pcifunc, int *nixlf, int *nix_blkaddr) in nix_get_nixlf() argument 146 if (nix_blkaddr) in nix_get_nixlf() 147 *nix_blkaddr = blkaddr; in nix_get_nixlf() 204 int nix_blkaddr = 0, i = 0; in get_nix_hw() local 207 nix_blkaddr = rvu_get_next_nix_blkaddr(rvu, nix_blkaddr); in get_nix_hw() 208 while (nix_blkaddr) { in get_nix_hw() 209 if (blkaddr == nix_blkaddr && hw->nix) in get_nix_hw() [all …]
|
D | rvu.c | 869 rvu->nix_blkaddr[blkid] = blkaddr; in rvu_setup_nix_hw_resource() 1488 blkaddr = pf->nix_blkaddr; in rvu_get_nix_blkaddr() 1506 pfvf->nix_blkaddr = BLKADDR_NIX1; in rvu_get_nix_blkaddr() 1512 pfvf->nix_blkaddr = BLKADDR_NIX0; in rvu_get_nix_blkaddr() 1518 return pfvf->nix_blkaddr; in rvu_get_nix_blkaddr()
|
D | rvu_cgx.c | 116 pfvf->nix_blkaddr = BLKADDR_NIX0; in rvu_map_cgx_nix_block() 118 pfvf->nix_blkaddr = BLKADDR_NIX1; in rvu_map_cgx_nix_block()
|
D | rvu_npc.c | 137 if (pfvf->nix_blkaddr == blkaddr) in npc_get_ucast_mcam_index()
|
D | rvu_debugfs.c | 870 if (pfvf->nix_blkaddr == BLKADDR_NIX0) in rvu_dbg_rvu_pf_cgx_map_display()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.h | 505 int nix_blkaddr; member 623 blkaddr = nic->nix_blkaddr; in otx2_get_regaddr()
|
D | otx2_common.c | 1340 if (pfvf->nix_blkaddr == BLKADDR_NIX1) in otx2_aura_init() 1625 pfvf->nix_blkaddr = BLKADDR_NIX0; in otx2_attach_npa_nix() 1631 pfvf->nix_blkaddr = BLKADDR_NIX1; in otx2_attach_npa_nix()
|