sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.27k stars 1.13k forks source link

Enable ECN in SONIC link queues #788

Open joyanta55 opened 3 years ago

joyanta55 commented 3 years ago

Hello,

I am pretty new in SONIC environment. We have a barefoot tofino switch, which has SONIC installed and running. Now what we were looking for enabling Explicit Congestion Notification (ECN) in that barefoot tofino switch, that will mark the ECN field of the packet when the queue depth exceeds some threshold. We looked into this resource, https://github.com/Azure/SONiC/wiki/Enable-ECN-on-lossless-queues, but seems like the QoS configuration for TD2 link is broken. Also the steps it describes, as a newbie, it was really hard for us to follow.

Could anyone help us on this issue?

TUJitGupta commented 3 years ago

Facing similar issue with creating WRED profile. This link (https://github.com/Azure/sonic-utilities/blob/master/doc/Command-Reference.md#ecn-config-commands) states that we can configure ECN even if WRED profile is not created as it creates it by itself but that does not seem to be a case. There is also no documentation for creating WRED profile. Without it we cannot configure ECN it seems.