Lines Matching refs:priority

37 				   u32 *priority, bool fillup_priority)
42 *priority = 0;
51 if (rulei->priority >= max_priority)
54 /* Unlike in TC, in HW, higher number means higher priority. */
55 *priority = max_priority - rulei->priority;
180 unsigned int priority; /* Priority within the vregion and group */
202 .key_offset = offsetof(struct mlxsw_sp_acl_tcam_vchunk, priority),
349 /* As a priority of a vregion, return priority of the first vchunk */
352 return vchunk->priority;
364 return vchunk->priority;
386 unsigned int priority,
405 /* Position the region inside the list according to priority */
409 priority)
448 unsigned int priority)
454 /* Position the vregion inside the list according to priority */
457 if (mlxsw_sp_acl_tcam_vregion_prio(vregion2) > priority)
464 priority, NULL);
488 unsigned int priority,
499 /* First, check if the requested priority does not rather belong
505 if (priority >=
513 /* If requested element usage would not fit and the priority
519 priority < mlxsw_sp_acl_tcam_vregion_prio(vregion))
522 /* If requested element usage would not fit and the priority
529 priority > mlxsw_sp_acl_tcam_vregion_max_prio(vregion))
533 * the requested priority. Split is needed when requested
772 unsigned int priority,
805 priority);
860 unsigned int priority,
867 vregion = mlxsw_sp_acl_tcam_vgroup_vregion_find(vgroup, priority,
871 /* According to priority, new vchunk should belong to
887 return mlxsw_sp_acl_tcam_vregion_create(mlxsw_sp, vgroup, priority,
914 ops->chunk_init(region->priv, chunk->priv, vchunk->priority);
931 unsigned int priority,
939 if (priority == MLXSW_SP_ACL_TCAM_CATCHALL_PRIO)
946 vchunk->priority = priority;
951 priority, elusage);
975 /* Position the vchunk inside the list according to priority */
978 if (vchunk2->priority > priority)
1021 unsigned int priority,
1026 vchunk = rhashtable_lookup_fast(&vgroup->vchunk_ht, &priority,
1036 priority, elusage);
1117 vchunk = mlxsw_sp_acl_tcam_vchunk_get(mlxsw_sp, vgroup, rulei->priority,
1397 unsigned int priority = mlxsw_sp_acl_tcam_vregion_prio(vregion);
1422 new_region, priority,