-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix simple_switch CLI commands to configure queues (#1276)
The queue id for the `set_queue_rate` and `set_queue_depth` commands did not match the "datapath" queue id, as used in the P4 program. This patch fixes the inconsistency by changing the priority queue implementation so that the queue with the highest numerical priority is served first. For the P4 programmer, the observable behavior is not changed: queue with priority 0 is the lowest priority queue. However, the CLI commands now work as expected. Fixes #1264 Signed-off-by: Rizky Ramadhana <rizkyramadhana26@gmail.com>
- Loading branch information
1 parent
508bb19
commit 005c6cf
Showing
5 changed files
with
49 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters