commit | 8040c96b4fc60d2f2c7e7eb3bfe65b633a30af90 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Fri Mar 13 01:10:58 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 14 21:03:46 2020 -0700 |
tree | 6b59ac91823534c818266625a1b7ff95d6774e21 | |
parent | 0a7fad2376ba6b37c6b1a1072ed2a2381d82cd18 [diff] |
mlxsw: spectrum_qdisc: Offload RED ECN nodrop mode RED ECN nodrop mode means that non-ECT traffic should not be early-dropped, but enqueued normally instead. In Spectrum systems, this is achieved by disabling CWTPM.ew (enable WRED) for a given traffic class. So far CWTPM.ew was unconditionally enabled. Instead disable it when the RED qdisc is in nodrop mode. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>