Test method and device for scheduler in switch chip, equipment and medium
The embodiment of the invention discloses a testing method and device for a scheduler in a switch chip, equipment and a medium. The specific embodiment of the method comprises the following steps: for a target to-be-forwarded data queue in at least one to-be-forwarded data queue corresponding to a s...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
28.03.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The embodiment of the invention discloses a testing method and device for a scheduler in a switch chip, equipment and a medium. The specific embodiment of the method comprises the following steps: for a target to-be-forwarded data queue in at least one to-be-forwarded data queue corresponding to a switching chip, performing backfilling in response to a traffic flag value corresponding to the target to-be-forwarded data queue, so that the traffic flag value is converted from a negative number to a non-negative number, sampling a backfill value and a backfill flow mark value corresponding to the backfill time point; determining an actual backfilling weight of the target to-be-forwarded data queue according to the backfilling value and a backfilled flow mark value corresponding to the backfilling time point; comparing the actual backfill weight with an expected backfill weight value contained in the configuration file; in response to the fact that the actual backfill weight is inconsistent with the expected back |
---|---|
Bibliography: | Application Number: CN202211526619 |