lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 29 Dec 2019 13:48:26 +0200 From: Ido Schimmel <idosch@...sch.org> To: netdev@...r.kernel.org Cc: davem@...emloft.net, jiri@...lanox.com, petrm@...lanox.com, mlxsw@...lanox.com, Ido Schimmel <idosch@...lanox.com> Subject: [PATCH net-next 0/3] mlxsw: Allow setting default port priority From: Ido Schimmel <idosch@...lanox.com> 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. Petr Machata (3): mlxsw: reg: Add QoS Port DSCP to Priority Mapping Register mlxsw: spectrum_dcb: Allow setting default port priority selftests: mlxsw: Add a self-test for port-default priority drivers/net/ethernet/mellanox/mlxsw/reg.h | 33 ++++ .../ethernet/mellanox/mlxsw/spectrum_dcb.c | 17 ++ .../drivers/net/mlxsw/qos_defprio.sh | 176 ++++++++++++++++++ tools/testing/selftests/net/forwarding/lib.sh | 23 +++ 4 files changed, 249 insertions(+) create mode 100755 tools/testing/selftests/drivers/net/mlxsw/qos_defprio.sh -- 2.24.1
Powered by blists - more mailing lists