Home
last modified time | relevance | path

Searched refs:nixlf (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_nix.c144 if (*nixlf < 0) in nix_get_nixlf()
1064 if (!pfvf->nixlf || nixlf < 0) in rvu_nix_blk_aq_enq_inst()
1517 if (nixlf < 0) in rvu_mbox_handler_nix_lf_alloc()
1744 if (nixlf < 0) in rvu_mbox_handler_nix_lf_free()
2233 int nixlf; in rvu_mbox_handler_nix_txsch_alloc() local
2497 nixlf, smq); in nix_smq_flush()
2539 if (nixlf < 0) in nix_txschq_free()
2628 if (nixlf < 0) in nix_txschq_free_one()
3566 if (nixlf < 0) in nix_update_mce_rule()
5389 int nixlf; in rvu_nix_lf_ptp_tx_cfg() local
[all …]
A Drvu_npc.c123 int nixlf) in npc_get_ucast_mcam_index() argument
369 int bank, nixlf, index; in npc_get_default_entry_action() local
627 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_install_ucast_entry()
746 int nixlf, bool enable) in rvu_npc_enable_promisc_entry() argument
764 int nixlf, u64 chan) in rvu_npc_install_bcast_match_entry() argument
799 nixlf, NIXLF_BCAST_ENTRY); in rvu_npc_install_bcast_match_entry()
1019 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_update_flowkey_alg_idx()
1087 nixlf, type); in npc_enadis_default_mce_entry()
1124 nixlf, NIXLF_UCAST_ENTRY); in npc_enadis_default_entries()
1141 if (nixlf < 0) in rvu_npc_disable_default_entries()
[all …]
A Drvu.h246 bool nixlf; /* Only one NIXLF per RVU_FUNC */ member
1019 int blkaddr, int nixlf);
1026 int nixlf, u64 chan, u8 *mac_addr);
1028 int nixlf, u64 chan, u8 chan_cnt);
1029 void rvu_npc_enable_promisc_entry(struct rvu *rvu, u16 pcifunc, int nixlf,
1032 int nixlf, u64 chan);
1035 void rvu_npc_enable_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf,
1039 int nixlf, int type, bool enable);
1040 void rvu_npc_disable_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf);
1042 void rvu_npc_free_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf);
[all …]
A Drvu_rep.c142 rvu_read64(rvu, blkaddr, NIX_AF_LFX_RX_STATX(nixlf, reg))
145 rvu_read64(rvu, blkaddr, NIX_AF_LFX_TX_STATX(nixlf, reg))
152 int nixlf, blkaddr, err; in rvu_mbox_handler_nix_lf_stats() local
156 err = nix_get_nixlf(rvu, pcifunc, &nixlf, &blkaddr); in rvu_mbox_handler_nix_lf_stats()
321 int err, nixlf, i; in rvu_rep_install_mcam_rules() local
352 err = nix_get_nixlf(rvu, pcifunc, &nixlf, NULL); in rvu_rep_install_mcam_rules()
A Drvu_debugfs.c1676 int qidx, nixlf, rc, id, max_id = 0; in rvu_dbg_nix_tm_tree_display() local
1684 nixlf = rvu->rvu_dbg.nix_tm_ctx.lf; in rvu_dbg_nix_tm_tree_display()
1726 u64 nixlf; in rvu_dbg_nix_tm_tree_write() local
1742 rvu->rvu_dbg.nix_tm_ctx.lf = nixlf; in rvu_dbg_nix_tm_tree_write()
1950 int nixlf, lvl, schq; in rvu_dbg_nix_tm_topo_display() local
1953 nixlf = rvu->rvu_dbg.nix_tm_ctx.lf; in rvu_dbg_nix_tm_topo_display()
1983 u64 nixlf; in rvu_dbg_nix_tm_topo_write() local
1999 rvu->rvu_dbg.nix_tm_ctx.lf = nixlf; in rvu_dbg_nix_tm_topo_write()
2281 int nixlf, id, all; in rvu_dbg_nix_queue_ctx_display() local
2430 int nixlf, id = 0, ret; in rvu_dbg_nix_queue_ctx_write() local
[all …]
A Drvu.c374 pfvf->nixlf = attach ? true : false; in rvu_update_rsrc_map()
375 num_lfs = pfvf->nixlf; in rvu_update_rsrc_map()
1257 return pfvf->nixlf ? 1 : 0; in rvu_get_rsrc_mapcount()
1279 return pfvf->nixlf ? 1 : 0; in is_blktype_attached()
1620 } else if (req->nixlf) { in rvu_check_rsrc_availability()
1738 if (attach->nixlf) in rvu_mbox_handler_attach_resources()
2048 int blkaddr, nixlf; in rvu_mbox_handler_set_vf_perm() local
2068 nixlf = rvu_get_lf(rvu, &hw->block[blkaddr], in rvu_mbox_handler_set_vf_perm()
2070 if (nixlf < 0) in rvu_mbox_handler_set_vf_perm()
2072 npc_enadis_default_mce_entry(rvu, target, nixlf, in rvu_mbox_handler_set_vf_perm()
[all …]
A Drvu_npc_fs.c1238 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow() argument
1279 entry_index = npc_get_nixlf_mcam_index(mcam, target, nixlf, in npc_install_flow()
1403 int blkaddr, nixlf, err; in rvu_mbox_handler_npc_install_flow() local
1495 err = nix_get_nixlf(rvu, target, &nixlf, NULL); in rvu_mbox_handler_npc_install_flow()
1524 err = npc_install_flow(rvu, blkaddr, target, nixlf, pfvf, in rvu_mbox_handler_npc_install_flow()
A Drvu_npc_hash.c1744 int rc, nixlf; in rvu_npc_exact_mac_addr_set() local
1772 rc = nix_get_nixlf(rvu, req->hdr.pcifunc, &nixlf, NULL); in rvu_npc_exact_mac_addr_set()
1775 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_exact_mac_addr_set()
A Dmbox.h465 u8 nixlf:1; member
482 u8 nixlf:1; member
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_common.c1219 struct nix_lf_alloc_req *nixlf; in otx2_config_nix() local
1226 nixlf = otx2_mbox_alloc_msg_nix_lf_alloc(&pfvf->mbox); in otx2_config_nix()
1227 if (!nixlf) in otx2_config_nix()
1231 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix()
1232 nixlf->sq_cnt = otx2_get_total_tx_queues(pfvf); in otx2_config_nix()
1233 nixlf->cq_cnt = pfvf->qset.cq_cnt; in otx2_config_nix()
1234 nixlf->rss_sz = MAX_RSS_INDIR_TBL_SIZE; in otx2_config_nix()
1235 nixlf->rss_grps = MAX_RSS_GROUPS; in otx2_config_nix()
1241 nixlf->npa_func = RVU_DEFAULT_PF_FUNC; in otx2_config_nix()
1252 &nixlf->hdr); in otx2_config_nix()
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
A Dmbox_init.c392 int blkaddr, int nixlf) in rvu_alloc_cint_qint_mem() argument
409 rvu_write64(rvu, blkaddr, NIX_AF_LFX_CINTS_BASE(nixlf), in rvu_alloc_cint_qint_mem()
420 rvu_write64(rvu, blkaddr, NIX_AF_LFX_QINTS_BASE(nixlf), in rvu_alloc_cint_qint_mem()

Completed in 66 milliseconds