Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c5247 struct nix_ipolicer *ipolicer; in nix_setup_ipolicers() local
5253 hw->cap.ipolicer = false; in nix_setup_ipolicers()
5257 hw->cap.ipolicer = true; in nix_setup_ipolicers()
5258 nix_hw->ipolicer = devm_kcalloc(rvu->dev, BAND_PROF_NUM_LAYERS, in nix_setup_ipolicers()
5259 sizeof(*ipolicer), GFP_KERNEL); in nix_setup_ipolicers()
5260 if (!nix_hw->ipolicer) in nix_setup_ipolicers()
5266 ipolicer = &nix_hw->ipolicer[layer]; in nix_setup_ipolicers()
5269 ipolicer->band_prof.max = cfg & 0XFFFF; in nix_setup_ipolicers()
5272 ipolicer->band_prof.max = (cfg >> 16) & 0XFFFF; in nix_setup_ipolicers()
5275 ipolicer->band_prof.max = (cfg >> 32) & 0XFFFF; in nix_setup_ipolicers()
[all …]
Drvu_debugfs.c2239 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_ctx_display() local
2245 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_ctx_display()
2257 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_ctx_display()
2259 for (idx = 0; idx < ipolicer->band_prof.max; idx++) { in rvu_dbg_nix_band_prof_ctx_display()
2260 if (is_rsrc_free(&ipolicer->band_prof, idx)) in rvu_dbg_nix_band_prof_ctx_display()
2274 pcifunc = ipolicer->pfvf_map[idx]; in rvu_dbg_nix_band_prof_ctx_display()
2293 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_rsrc_display() local
2298 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_rsrc_display()
2309 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_rsrc_display()
2311 ipolicer->band_prof.max, in rvu_dbg_nix_band_prof_rsrc_display()
[all …]
Drvu.h346 struct nix_ipolicer *ipolicer; member
367 bool ipolicer; member