Skip to content

Add drop probability configurability to ecnconfig#297

Merged
lguohan merged 3 commits intosonic-net:masterfrom
wendani:wred_drop
Aug 16, 2018
Merged

Add drop probability configurability to ecnconfig#297
lguohan merged 3 commits intosonic-net:masterfrom
wendani:wred_drop

Conversation

@wendani
Copy link
Contributor

@wendani wendani commented Aug 9, 2018

Signed-off-by: Wenda wenni@microsoft.com

- What I did

- How I did it

- How to verify it

Tested on DUT with sonic-net/sonic-swss#571

- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

-->

Signed-off-by: Wenda <wenni@microsoft.com>
Signed-off-by: Wenda <wenni@microsoft.com>
@wendani wendani requested a review from jleveque August 10, 2018 18:45
@lguohan lguohan merged commit d13eaa7 into sonic-net:master Aug 16, 2018
wendani added a commit to wendani/sonic-utilities that referenced this pull request Aug 18, 2018
* Add drop probability configurability to ecnconfig

Signed-off-by: Wenda <wenni@microsoft.com>

* Correct variable names

* Correct syntax error

Signed-off-by: Wenda <wenni@microsoft.com>
lguohan pushed a commit that referenced this pull request Aug 19, 2018
… on/off status on queues (#303)

* Add drop probability configurability to ecnconfig (#297)

* Add drop probability configurability to ecnconfig

Signed-off-by: Wenda <wenni@microsoft.com>

* Correct variable names

* Correct syntax error

Signed-off-by: Wenda <wenni@microsoft.com>

* Add the capability of show and change ECN on/off status on queues to
ecnconfig

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Address comments: 1) usage format for ecn on/off; 2) add sample outputs

* Address comments: 1) usage format for ecn on/off; 2) add sample outputs;
3) avoid variable name reuse for different entities; 4) iterate over
dictionary key-value tuples using .items(); 5) replace
SonicV2Connector.set() call by ConfigDBConnector.mod_entry() for
performance improvement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants