Skip to content

[QoS] Support generating QoS test parameters according to configuration on Mellanox platform#1886

Merged
liat-grozovik merged 10 commits intosonic-net:masterfrom
stephenxs:generate-qos-param-from-config
Aug 6, 2020
Merged

[QoS] Support generating QoS test parameters according to configuration on Mellanox platform#1886
liat-grozovik merged 10 commits intosonic-net:masterfrom
stephenxs:generate-qos-param-from-config

Conversation

@stephenxs
Copy link
Copy Markdown
Contributor

@stephenxs stephenxs commented Jul 13, 2020

Description of PR

Summary:

  1. Add a plugin that generates QoS test parameters according to configuration for the Mellanox platform.
    The plugin will be load fixture dutQosConfig
  2. Sometimes a deviation can be introduced by calculating test parameters automatically.
    Support passing margin from the qos_params for the purpose of covering the deviation.
  3. Support passing packet size from the qos_params for lossy queue and queue shared watermark test.

Signed-off-by: Stephen Sun stephens@mellanox.com

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

…on on Mellanox platform

1. Add a plugin which generate QoS test parameters according to configuration for Mellanox platform.
   The plugin will be load fixture dutQosConfig
2. Sometimes a deviation cab be introduced by calculating test parameters automatically.
   Support passing margin from the qos_params for the purpose of convering the deviation.
3. Support passing packet size from the qos_params for lossy queue and queue shared watermark test.

Signed-off-by: Stephen Sun <stephens@mellanox.com>
@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jul 13, 2020

This pull request introduces 2 alerts when merging 3804b93 into 01f4a98 - view on LGTM.com

new alerts:

  • 2 for Unused local variable

@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jul 13, 2020

This pull request introduces 2 alerts when merging 7c48158 into 01f4a98 - view on LGTM.com

new alerts:

  • 2 for Unused local variable

Stephen Sun added 2 commits July 13, 2020 14:58
For the functions where packet_size is fetched from test parameters
@stephenxs stephenxs marked this pull request as ready for review July 14, 2020 03:39
@stephenxs stephenxs requested a review from neethajohn July 14, 2020 03:45
@liat-grozovik
Copy link
Copy Markdown
Collaborator

retest vsimage please

Stephen Sun added 2 commits July 15, 2020 12:32
Signed-off-by: Stephen Sun <stephens@mellanox.com>
Copy link
Copy Markdown
Contributor

@neethajohn neethajohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has this code been tested with the new single ingress pool changes?

stephenxs and others added 3 commits August 4, 2020 08:34
…t in QSharedWatermarkTest

Signed-off-by: Stephen Sun <stephens@mellanox.com>
…iQSharedWatermark or testQosSaiPgSharedWatermark

Signed-off-by: Stephen Sun <stephens@mellanox.com>
Signed-off-by: Stephen Sun <stephens@mellanox.com>
@stephenxs stephenxs requested a review from neethajohn August 5, 2020 02:06
@liat-grozovik liat-grozovik merged commit e9130a3 into sonic-net:master Aug 6, 2020
@stephenxs stephenxs deleted the generate-qos-param-from-config branch August 6, 2020 10:08
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
* c3691d3 [202012][pfcwd] Convert polling interval from ms to us in LUA scripts (sonic-net#1909)
* 549c804 Mux state order change (sonic-net#1902)
* 6b0b2c4 Update acl type check logic (sonic-net#1886)

Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Submodule update for sonic-utilities with following change:

ec9e5ee Backport [generate_dump] remove secrets from dump files sonic-net#1886 to 202012 (sonic-net#1938)
ce3b856 [fdbshow]: Handle FDB cleanup gracefully. (sonic-net#1926)
1437bf2 [202012] Add DHCPv6 Relay counter and ipv6 helper CLI (sonic-net#1917)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants