Searched refs:lmt_info (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | cn10k.c | 30 struct otx2_lmt_info *lmt_info; in cn10k_lmtst_init() local 41 pfvf->hw.lmt_info = alloc_percpu(struct otx2_lmt_info); in cn10k_lmtst_init() 65 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, cpu); in cn10k_lmtst_init() 66 lmt_info->lmt_addr = ((u64)pfvf->hw.lmt_base + in cn10k_lmtst_init() 68 lmt_info->lmt_id = cpu * LMT_BURST_SIZE; in cn10k_lmtst_init() 145 struct otx2_lmt_info *lmt_info; in cn10k_sqe_flush() local 149 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, smp_processor_id()); in cn10k_sqe_flush() 154 val = (lmt_info->lmt_id & 0x7FF); in cn10k_sqe_flush() 161 memcpy((u64 *)lmt_info->lmt_addr, sq->sqe_base, size); in cn10k_sqe_flush()
|
| H A D | cn10k_ipsec.c | 384 struct otx2_lmt_info *lmt_info; in cn10k_cpt_inst_flush() local 387 lmt_info = per_cpu_ptr(pf->hw.lmt_info, smp_processor_id()); in cn10k_cpt_inst_flush() 392 val = (lmt_info->lmt_id & 0x7FF); in cn10k_cpt_inst_flush() 399 memcpy((u64 *)lmt_info->lmt_addr, inst, size); in cn10k_cpt_inst_flush()
|
| H A D | otx2_common.h | 271 struct otx2_lmt_info __percpu *lmt_info; member 756 struct otx2_lmt_info *lmt_info; in __cn10k_aura_freeptr() local 760 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, smp_processor_id()); in __cn10k_aura_freeptr() 763 val = (lmt_info->lmt_id & 0x7FF) | BIT_ULL(63); in __cn10k_aura_freeptr() 780 memcpy((u64 *)lmt_info->lmt_addr, ptrs, sizeof(u64) * num_ptrs); in __cn10k_aura_freeptr()
|
| H A D | rep.c | 817 if (priv->hw.lmt_info) in rvu_rep_probe() 818 free_percpu(priv->hw.lmt_info); in rvu_rep_probe() 839 if (priv->hw.lmt_info) in rvu_rep_remove() 840 free_percpu(priv->hw.lmt_info); in rvu_rep_remove()
|
| H A D | otx2_vf.c | 758 free_percpu(vf->hw.lmt_info); in otx2vf_probe() 814 free_percpu(vf->hw.lmt_info); in otx2vf_remove()
|
| H A D | otx2_pf.c | 3021 if (pf->hw.lmt_info) in otx2_init_rsrc() 3022 free_percpu(pf->hw.lmt_info); in otx2_init_rsrc() 3238 if (pf->hw.lmt_info) in otx2_probe() 3239 free_percpu(pf->hw.lmt_info); in otx2_probe() 3441 if (pf->hw.lmt_info) in otx2_remove() 3442 free_percpu(pf->hw.lmt_info); in otx2_remove()
|