Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_nix.c134 if (*nixlf < 0) in nix_get_nixlf()
861 if (!pfvf->nixlf || nixlf < 0) in rvu_nix_blk_aq_enq_inst()
923 inst.lf = nixlf; in rvu_nix_blk_aq_enq_inst()
1313 if (nixlf < 0) in rvu_mbox_handler_nix_lf_alloc()
1534 if (nixlf < 0) in rvu_mbox_handler_nix_lf_free()
1980 int nixlf; in rvu_mbox_handler_nix_txsch_alloc() local
2116 if (nixlf < 0) in nix_txschq_free()
2205 if (nixlf < 0) in nix_txschq_free_one()
2935 if (nixlf < 0) in nix_update_mce_rule()
4601 int nixlf; in rvu_nix_lf_ptp_tx_cfg() local
[all …]
A Drvu.h186 bool nixlf; /* Only one NIXLF per RVU_FUNC */ member
763 int nixlf, u64 chan, u8 *mac_addr);
765 int nixlf, u64 chan, u8 chan_cnt);
766 void rvu_npc_enable_promisc_entry(struct rvu *rvu, u16 pcifunc, int nixlf,
769 int nixlf, u64 chan);
770 void rvu_npc_enable_bcast_entry(struct rvu *rvu, u16 pcifunc, int nixlf,
774 void rvu_npc_enable_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf,
777 int nixlf, int type, bool enable);
778 void rvu_npc_disable_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf);
779 void rvu_npc_free_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf);
[all …]
A Drvu_npc.c144 int nixlf) in npc_get_ucast_mcam_index() argument
388 int bank, nixlf, index; in npc_get_default_entry_action() local
613 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_install_ucast_entry()
664 nixlf, NIXLF_PROMISC_ENTRY); in rvu_npc_install_promisc_entry()
730 int nixlf, bool enable) in rvu_npc_enable_promisc_entry() argument
743 nixlf, NIXLF_PROMISC_ENTRY); in rvu_npc_enable_promisc_entry()
748 int nixlf, u64 chan) in rvu_npc_install_bcast_match_entry() argument
775 nixlf, NIXLF_BCAST_ENTRY); in rvu_npc_install_bcast_match_entry()
967 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_update_flowkey_alg_idx()
1034 nixlf, type); in npc_enadis_default_mce_entry()
[all …]
A Drvu_debugfs.c1512 int nixlf, id, all; in rvu_dbg_nix_queue_ctx_display() local
1517 nixlf = rvu->rvu_dbg.nix_cq_ctx.lf; in rvu_dbg_nix_queue_ctx_display()
1523 nixlf = rvu->rvu_dbg.nix_sq_ctx.lf; in rvu_dbg_nix_queue_ctx_display()
1529 nixlf = rvu->rvu_dbg.nix_rq_ctx.lf; in rvu_dbg_nix_queue_ctx_display()
1578 ctype_string, nixlf, aq_req.qidx); in rvu_dbg_nix_queue_ctx_display()
1630 rvu->rvu_dbg.nix_cq_ctx.lf = nixlf; in write_nix_queue_ctx()
1636 rvu->rvu_dbg.nix_sq_ctx.lf = nixlf; in write_nix_queue_ctx()
1642 rvu->rvu_dbg.nix_rq_ctx.lf = nixlf; in write_nix_queue_ctx()
1661 int nixlf, id = 0, ret; in rvu_dbg_nix_queue_ctx_write() local
1687 &nixlf, &id, &all); in rvu_dbg_nix_queue_ctx_write()
[all …]
A Drvu.c369 pfvf->nixlf = attach ? true : false; in rvu_update_rsrc_map()
370 num_lfs = pfvf->nixlf; in rvu_update_rsrc_map()
1223 return pfvf->nixlf ? 1 : 0; in rvu_get_rsrc_mapcount()
1245 return pfvf->nixlf ? 1 : 0; in is_blktype_attached()
1584 } else if (req->nixlf) { in rvu_check_rsrc_availability()
1702 if (attach->nixlf) in rvu_mbox_handler_attach_resources()
2001 int blkaddr, nixlf; in rvu_mbox_handler_set_vf_perm() local
2021 nixlf = rvu_get_lf(rvu, &hw->block[blkaddr], in rvu_mbox_handler_set_vf_perm()
2023 if (nixlf < 0) in rvu_mbox_handler_set_vf_perm()
2025 npc_enadis_default_mce_entry(rvu, target, nixlf, in rvu_mbox_handler_set_vf_perm()
[all …]
A Drvu_npc_fs.c1012 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow() argument
1047 entry_index = npc_get_nixlf_mcam_index(mcam, target, nixlf, in npc_install_flow()
1160 int blkaddr, nixlf, err; in rvu_mbox_handler_npc_install_flow() local
1218 err = nix_get_nixlf(rvu, target, &nixlf, NULL); in rvu_mbox_handler_npc_install_flow()
1247 err = npc_install_flow(rvu, blkaddr, target, nixlf, pfvf, in rvu_mbox_handler_npc_install_flow()
A Dmbox.h359 u8 nixlf:1; member
376 u8 nixlf:1; member
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_common.c1035 struct nix_lf_alloc_req *nixlf; in otx2_config_nix() local
1043 if (!nixlf) in otx2_config_nix()
1047 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix()
1048 nixlf->sq_cnt = pfvf->hw.tot_tx_queues; in otx2_config_nix()
1049 nixlf->cq_cnt = pfvf->qset.cq_cnt; in otx2_config_nix()
1050 nixlf->rss_sz = MAX_RSS_INDIR_TBL_SIZE; in otx2_config_nix()
1051 nixlf->rss_grps = MAX_RSS_GROUPS; in otx2_config_nix()
1052 nixlf->xqe_sz = NIX_XQESZ_W16; in otx2_config_nix()
1057 nixlf->npa_func = RVU_DEFAULT_PF_FUNC; in otx2_config_nix()
1068 &nixlf->hdr); in otx2_config_nix()
[all …]

Completed in 60 milliseconds