| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 144 if (*nixlf < 0) in nix_get_nixlf() 1063 if (!pfvf->nixlf || nixlf < 0) in rvu_nix_blk_aq_enq_inst() 1516 if (nixlf < 0) in rvu_mbox_handler_nix_lf_alloc() 1743 if (nixlf < 0) in rvu_mbox_handler_nix_lf_free() 2231 int nixlf; in rvu_mbox_handler_nix_txsch_alloc() local 2495 nixlf, smq); in nix_smq_flush() 2537 if (nixlf < 0) in nix_txschq_free() 2626 if (nixlf < 0) in nix_txschq_free_one() 3562 if (nixlf < 0) in nix_update_mce_rule() 5385 int nixlf; in rvu_nix_lf_ptp_tx_cfg() local [all …]
|
| H A D | rvu_npc.c | 123 int nixlf) in npc_get_ucast_mcam_index() argument 367 int bank, nixlf, index; in npc_get_default_entry_action() local 625 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_install_ucast_entry() 744 int nixlf, bool enable) in rvu_npc_enable_promisc_entry() argument 762 int nixlf, u64 chan) in rvu_npc_install_bcast_match_entry() argument 797 nixlf, NIXLF_BCAST_ENTRY); in rvu_npc_install_bcast_match_entry() 1035 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_update_flowkey_alg_idx() 1103 nixlf, type); in npc_enadis_default_mce_entry() 1137 nixlf, NIXLF_UCAST_ENTRY); in npc_enadis_default_entries() 1153 if (nixlf < 0) in rvu_npc_disable_default_entries() [all …]
|
| H A D | rvu.h | 218 bool nixlf; /* Only one NIXLF per RVU_FUNC */ member 965 int nixlf, u64 chan, u8 *mac_addr); 967 int nixlf, u64 chan, u8 chan_cnt); 968 void rvu_npc_enable_promisc_entry(struct rvu *rvu, u16 pcifunc, int nixlf, 971 int nixlf, u64 chan); 972 void rvu_npc_enable_bcast_entry(struct rvu *rvu, u16 pcifunc, int nixlf, 976 void rvu_npc_enable_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, 980 int nixlf, int type, bool enable); 981 void rvu_npc_disable_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf); 983 void rvu_npc_free_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf); [all …]
|
| H A D | rvu_rep.c | 140 rvu_read64(rvu, blkaddr, NIX_AF_LFX_RX_STATX(nixlf, reg)) 143 rvu_read64(rvu, blkaddr, NIX_AF_LFX_TX_STATX(nixlf, reg)) 150 int nixlf, blkaddr, err; in rvu_mbox_handler_nix_lf_stats() local 154 err = nix_get_nixlf(rvu, pcifunc, &nixlf, &blkaddr); in rvu_mbox_handler_nix_lf_stats() 319 int err, nixlf, i; in rvu_rep_install_mcam_rules() local 351 err = nix_get_nixlf(rvu, pcifunc, &nixlf, NULL); in rvu_rep_install_mcam_rules()
|
| H A D | rvu_debugfs.c | 1611 int qidx, nixlf, rc, id, max_id = 0; in rvu_dbg_nix_tm_tree_display() local 1619 nixlf = rvu->rvu_dbg.nix_tm_ctx.lf; in rvu_dbg_nix_tm_tree_display() 1661 u64 nixlf; in rvu_dbg_nix_tm_tree_write() local 1677 rvu->rvu_dbg.nix_tm_ctx.lf = nixlf; in rvu_dbg_nix_tm_tree_write() 1885 int nixlf, lvl, schq; in rvu_dbg_nix_tm_topo_display() local 1888 nixlf = rvu->rvu_dbg.nix_tm_ctx.lf; in rvu_dbg_nix_tm_topo_display() 1918 u64 nixlf; in rvu_dbg_nix_tm_topo_write() local 1934 rvu->rvu_dbg.nix_tm_ctx.lf = nixlf; in rvu_dbg_nix_tm_topo_write() 2216 int nixlf, id, all; in rvu_dbg_nix_queue_ctx_display() local 2365 int nixlf, id = 0, ret; in rvu_dbg_nix_queue_ctx_write() local [all …]
|
| H A D | rvu.c | 374 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() 1618 } else if (req->nixlf) { in rvu_check_rsrc_availability() 1736 if (attach->nixlf) in rvu_mbox_handler_attach_resources() 2043 int blkaddr, nixlf; in rvu_mbox_handler_set_vf_perm() local 2063 nixlf = rvu_get_lf(rvu, &hw->block[blkaddr], in rvu_mbox_handler_set_vf_perm() 2065 if (nixlf < 0) in rvu_mbox_handler_set_vf_perm() 2067 npc_enadis_default_mce_entry(rvu, target, nixlf, in rvu_mbox_handler_set_vf_perm() [all …]
|
| H A D | rvu_npc_fs.c | 1238 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()
|
| H A D | rvu_npc_hash.c | 1744 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()
|
| H A D | mbox.h | 456 u8 nixlf:1; member 473 u8 nixlf:1; member
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_common.c | 1227 struct nix_lf_alloc_req *nixlf; in otx2_config_nix() local 1234 nixlf = otx2_mbox_alloc_msg_nix_lf_alloc(&pfvf->mbox); in otx2_config_nix() 1235 if (!nixlf) in otx2_config_nix() 1239 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix() 1240 nixlf->sq_cnt = otx2_get_total_tx_queues(pfvf); in otx2_config_nix() 1241 nixlf->cq_cnt = pfvf->qset.cq_cnt; in otx2_config_nix() 1242 nixlf->rss_sz = MAX_RSS_INDIR_TBL_SIZE; in otx2_config_nix() 1243 nixlf->rss_grps = MAX_RSS_GROUPS; in otx2_config_nix() 1249 nixlf->npa_func = RVU_DEFAULT_PF_FUNC; in otx2_config_nix() 1260 &nixlf->hdr); in otx2_config_nix() [all …]
|