Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/abm/
Dctrl.c320 size = DIV_ROUND_UP(size * abm->num_prios, BITS_PER_BYTE); in nfp_abm_ctrl_prio_map_size()
382 abm->num_prios = res; in nfp_abm_ctrl_find_addrs()
392 abm->dscp_mask = GENMASK(7, 8 - order_base_2(abm->num_prios)); in nfp_abm_ctrl_find_addrs()
395 if (!is_power_of_2(abm->num_bands) || !is_power_of_2(abm->num_prios) || in nfp_abm_ctrl_find_addrs()
396 abm->num_bands > U16_MAX || abm->num_prios > U16_MAX || in nfp_abm_ctrl_find_addrs()
397 (abm->num_bands == 1) != (abm->num_prios == 1)) { in nfp_abm_ctrl_find_addrs()
400 abm->num_bands, abm->num_prios); in nfp_abm_ctrl_find_addrs()
Dcls.c132 base_shift = 8 - order_base_2(abm->num_prios); in nfp_abm_update_band_map()
134 for (i = 0; i < abm->num_prios; i++) { in nfp_abm_update_band_map()
Dmain.h68 unsigned int num_prios; member