Lines Matching refs:pfvf
15 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_validate() local
18 if (!pfvf->flow_cfg) { in otx2_dl_mcam_count_validate()
24 flow_cfg = pfvf->flow_cfg; in otx2_dl_mcam_count_validate()
38 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_set() local
40 if (!pfvf->flow_cfg) in otx2_dl_mcam_count_set()
43 otx2_alloc_mcam_entries(pfvf, ctx->val.vu16); in otx2_dl_mcam_count_set()
44 otx2_tc_alloc_ent_bitmap(pfvf); in otx2_dl_mcam_count_set()
53 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_get() local
56 if (!pfvf->flow_cfg) { in otx2_dl_mcam_count_get()
61 flow_cfg = pfvf->flow_cfg; in otx2_dl_mcam_count_get()
86 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_devlink_info_get() local
88 if (is_otx2_vf(pfvf->pcifunc)) in otx2_devlink_info_get()
98 int otx2_register_dl(struct otx2_nic *pfvf) in otx2_register_dl() argument
105 sizeof(struct otx2_devlink), pfvf->dev); in otx2_register_dl()
107 dev_warn(pfvf->dev, "devlink_alloc failed\n"); in otx2_register_dl()
113 otx2_dl->pfvf = pfvf; in otx2_register_dl()
114 pfvf->dl = otx2_dl; in otx2_register_dl()
119 dev_err(pfvf->dev, in otx2_register_dl()
132 void otx2_unregister_dl(struct otx2_nic *pfvf) in otx2_unregister_dl() argument
134 struct otx2_devlink *otx2_dl = pfvf->dl; in otx2_unregister_dl()