From: David S. Miller Date: Thu, 2 Jan 2020 23:40:14 +0000 (-0800) Subject: Merge branch 'mlxsw-Allow-setting-default-port-priority' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f5e5d27248ffbb8bc86706efa4717eb41c114718;p=linux.git Merge branch 'mlxsw-Allow-setting-default-port-priority' Ido Schimmel says: ==================== mlxsw: Allow setting default port priority Petr says: When LLDP APP TLV selector 1 (EtherType) is used with PID of 0, the corresponding entry specifies "default application priority [...] when application priority is not otherwise specified." mlxsw currently supports this type of APP entry, but uses it only as a fallback for unspecified DSCP rules. However non-IP traffic is prioritized according to port-default priority, not according to the DSCP-to-prio tables, and thus it's currently not possible to prioritize such traffic correctly. This patchset extends the use of the abovementioned APP entry to also set default port priority (in patches #1 and #2) and then (in patch #3) adds a selftest. ==================== Signed-off-by: David S. Miller --- f5e5d27248ffbb8bc86706efa4717eb41c114718