Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c4662 struct nix_ipolicer *ipolicer; in nix_setup_ipolicers() local
4668 hw->cap.ipolicer = false; in nix_setup_ipolicers()
4672 hw->cap.ipolicer = true; in nix_setup_ipolicers()
4673 nix_hw->ipolicer = devm_kcalloc(rvu->dev, BAND_PROF_NUM_LAYERS, in nix_setup_ipolicers()
4674 sizeof(*ipolicer), GFP_KERNEL); in nix_setup_ipolicers()
4675 if (!nix_hw->ipolicer) in nix_setup_ipolicers()
4681 ipolicer = &nix_hw->ipolicer[layer]; in nix_setup_ipolicers()
4684 ipolicer->band_prof.max = cfg & 0XFFFF; in nix_setup_ipolicers()
4687 ipolicer->band_prof.max = (cfg >> 16) & 0XFFFF; in nix_setup_ipolicers()
4690 ipolicer->band_prof.max = (cfg >> 32) & 0XFFFF; in nix_setup_ipolicers()
[all …]
Drvu_debugfs.c1791 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_ctx_display() local
1797 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_ctx_display()
1809 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_ctx_display()
1811 for (idx = 0; idx < ipolicer->band_prof.max; idx++) { in rvu_dbg_nix_band_prof_ctx_display()
1812 if (is_rsrc_free(&ipolicer->band_prof, idx)) in rvu_dbg_nix_band_prof_ctx_display()
1826 pcifunc = ipolicer->pfvf_map[idx]; in rvu_dbg_nix_band_prof_ctx_display()
1845 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_rsrc_display() local
1850 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_rsrc_display()
1861 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_rsrc_display()
1863 ipolicer->band_prof.max, in rvu_dbg_nix_band_prof_rsrc_display()
[all …]
Drvu.h316 struct nix_ipolicer *ipolicer; member
337 bool ipolicer; member