Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/abm/
Dcls.c121 unsigned int i, bits_per_prio, prios_per_word, base_shift; in nfp_abm_update_band_map() local
127 bits_per_prio = roundup_pow_of_two(order_base_2(abm->num_bands)); in nfp_abm_update_band_map()
128 field_mask = (1 << bits_per_prio) - 1; in nfp_abm_update_band_map()
129 prios_per_word = sizeof(u32) * BITS_PER_BYTE / bits_per_prio; in nfp_abm_update_band_map()
140 offset = (i % prios_per_word) * bits_per_prio; in nfp_abm_update_band_map()