Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c5794 struct nix_ipolicer *ipolicer; in nix_setup_ipolicers() local
5800 hw->cap.ipolicer = false; in nix_setup_ipolicers()
5804 hw->cap.ipolicer = true; in nix_setup_ipolicers()
5805 nix_hw->ipolicer = devm_kcalloc(rvu->dev, BAND_PROF_NUM_LAYERS, in nix_setup_ipolicers()
5806 sizeof(*ipolicer), GFP_KERNEL); in nix_setup_ipolicers()
5807 if (!nix_hw->ipolicer) in nix_setup_ipolicers()
5813 ipolicer = &nix_hw->ipolicer[layer]; in nix_setup_ipolicers()
5816 ipolicer->band_prof.max = cfg & 0XFFFF; in nix_setup_ipolicers()
5819 ipolicer->band_prof.max = (cfg >> 16) & 0XFFFF; in nix_setup_ipolicers()
5822 ipolicer->band_prof.max = (cfg >> 32) & 0XFFFF; in nix_setup_ipolicers()
[all …]
H A Drvu_debugfs.c2644 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_ctx_display() local
2650 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_ctx_display()
2662 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_ctx_display()
2664 for (idx = 0; idx < ipolicer->band_prof.max; idx++) { in rvu_dbg_nix_band_prof_ctx_display()
2665 if (is_rsrc_free(&ipolicer->band_prof, idx)) in rvu_dbg_nix_band_prof_ctx_display()
2679 pcifunc = ipolicer->pfvf_map[idx]; in rvu_dbg_nix_band_prof_ctx_display()
2698 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_rsrc_display() local
2703 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_rsrc_display()
2714 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_rsrc_display()
2716 ipolicer->band_prof.max, in rvu_dbg_nix_band_prof_rsrc_display()
[all …]
H A Drvu.h406 struct nix_ipolicer *ipolicer; member
429 bool ipolicer; member