Lines Matching full:priority
640 /* Priority peek from a specific set of precedences */
669 /* Priority dequeue from a specific set of precedences */
1127 int priority = 0;
1150 /* DSCP priority gets precedence over 802.1P (vlan tag) */
1152 priority = dscp_prio;
1155 priority = vlan_prio;
1159 * If the DSCP priority is not the same as the VLAN priority,
1160 * then overwrite the priority field in the vlan tag, with the
1161 * DSCP priority value. This is required for Linux APs because
1162 * the VLAN driver on Linux, overwrites the skb->priority field
1163 * with the priority value in the vlan tag
1165 if (update_vtag && (priority != vlan_prio)) {
1167 vlan_tag |= (uint16)priority << VLAN_PRI_SHIFT;
1174 priority = (int)(tos_tc >> IPV4_TOS_PREC_SHIFT);
1178 ASSERT(priority >= 0 && priority <= MAXPRIO);
1179 PKTSETPRIO(pkt, priority);
1180 return (rc | priority);