Lines Matching full:priority

59 /* ksz_supported_apptrust[] - Supported apptrust selectors and Priority Order
60 * of Internal Priority Map (IPM) sources.
63 * the index within the array indicates the priority of the selector - lower
64 * indices correspond to higher priority. This fixed priority scheme is due to
65 * the hardware's design, which does not support configurable priority among
66 * different priority sources.
68 * The priority sources, including Tail Tag, ACL, VLAN PCP and DSCP are ordered
70 * non-configurable precedence where certain types of priority information
73 * 1. Tail Tag - Highest priority, overrides ACL, VLAN PCP, and DSCP priorities.
75 * 3. VLAN PCP - Overrides DSCP priority.
76 * 4. DSCP - Lowest priority, does not override any other priority source.
78 * In this context, the array's lower index (higher priority) for
79 * 'DCB_APP_SEL_PCP' suggests its relative priority over
80 * 'IEEE_8021QAZ_APP_SEL_DSCP' within the system's fixed priority scheme.
82 * DCB_APP_SEL_PCP - Priority Code Point selector
109 * ksz_get_dscp_prio_reg - Retrieves the DSCP-to-priority-mapping register
115 * This function retrieves the DSCP to priority mapping register, the number of
163 * ksz_port_get_default_prio - Retrieves the default priority for a port on a
166 * @port: Port number from which to get the default priority
168 * This function fetches the default priority for the specified port on a KSZ
171 * Return: The default priority of the port on success, or a negative error
190 * ksz_port_set_default_prio - Sets the default priority for a port on a KSZ
193 * @port: Port number for which to set the default priority
194 * @prio: Priority value to set
196 * This function sets the default priority for the specified port on a KSZ
216 * ksz_port_get_dscp_prio - Retrieves the priority for a DSCP value on a KSZ
219 * @port: Port number for which to get the priority
220 * @dscp: DSCP value for which to get the priority
222 * This function fetches the priority value from switch global DSCP-to-priorty
225 * Return: The priority value for the DSCP on success, or a negative error
237 * Priority Map (IPM) in ksz_port_get_dscp_prio()
245 * Internal Priority Map (IPM) in ksz_port_get_dscp_prio()
253 * priority mapping table. in ksz_port_get_dscp_prio()
266 * ksz_set_global_dscp_entry - Sets the global DSCP-to-priority mapping entry
268 * @dscp: DSCP value for which to set the priority
269 * @ipm: Priority value to set
271 * This function sets the global DSCP-to-priority mapping entry for the
290 * ksz_init_global_dscp_map - Initializes the global DSCP-to-priority mapping
293 * This function initializes the global DSCP-to-priority mapping table for the
318 * Internal Priority Map (IPM) in the switch. in ksz_init_global_dscp_map()
344 * ksz_port_add_dscp_prio - Adds a DSCP-to-priority mapping entry for a port on
347 * @port: Port number for which to add the DSCP-to-priority mapping entry
348 * @dscp: DSCP value for which to add the priority
349 * @prio: Priority value to set
364 * ksz_port_del_dscp_prio - Deletes a DSCP-to-priority mapping entry for a port
367 * @port: Port number for which to delete the DSCP-to-priority mapping entry
368 * @dscp: DSCP value for which to delete the priority
369 * @prio: Priority value to delete
415 dev_err(dev->dev, "Invalid apptrust selector or priority order. Supported: %s\n", in ksz_apptrust_error()
430 * IEEE_8021QAZ_APP_SEL_DSCP. The priority order of the selectors is fixed and
432 * 1. DCB_APP_SEL_PCP - Priority Code Point selector (highest priority)
434 * (lowest priority)
455 /* Ensure that no higher priority selector (lower index) in ksz_port_set_apptrust_validate()
456 * precedes a lower priority one in ksz_port_set_apptrust_validate()
563 * default priority and apptrust selectors.
564 * The default priority is set to Best Effort, and the apptrust selectors are
583 /* Set the default priority for the port to Best Effort */ in ksz_dcb_init_port()
597 * DSCP-to-priority mapping table is initialized.