add_priority
Description:
Adds a priority mapping to the ingress_priority_map or egress_priority_map properties of the setting.
If from
is already in the given priority map, this function will overwrite the existing entry with the new to
.
If map
is INGRESS_MAP then from
is the
incoming 802.1q VLAN Priority Code Point (PCP) value, and to
is the Linux SKB priority value.
If map
is EGRESS_MAP then from
is the Linux
SKB priority value and to
is the outgoing 802.1q VLAN Priority Code Point (PCP) value.
Parameters:
this |
the SettingVlan |
map |
the type of priority map |
from |
the priority to map to |
to |
the priority to map |
Returns:
true. |