Home
last modified time | relevance | path

Searched refs:lmt_info (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k.c30 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()
138 struct otx2_lmt_info *lmt_info; in cn10k_sqe_flush() local
142 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, smp_processor_id()); in cn10k_sqe_flush()
147 val = (lmt_info->lmt_id & 0x7FF); in cn10k_sqe_flush()
154 memcpy((u64 *)lmt_info->lmt_addr, sq->sqe_base, size); in cn10k_sqe_flush()
Dotx2_common.h255 struct otx2_lmt_info __percpu *lmt_info; member
701 struct otx2_lmt_info *lmt_info; in __cn10k_aura_freeptr() local
705 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, smp_processor_id()); in __cn10k_aura_freeptr()
708 val = (lmt_info->lmt_id & 0x7FF) | BIT_ULL(63); in __cn10k_aura_freeptr()
725 memcpy((u64 *)lmt_info->lmt_addr, ptrs, sizeof(u64) * num_ptrs); in __cn10k_aura_freeptr()
Dotx2_pf.c2934 if (pf->hw.lmt_info) in otx2_probe()
2935 free_percpu(pf->hw.lmt_info); in otx2_probe()
3096 if (pf->hw.lmt_info) in otx2_remove()
3097 free_percpu(pf->hw.lmt_info); in otx2_remove()