Repository navigation
fix: set NDK PFC bandwidth to 50% per traffic class - #23
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates Dell OS10 NDK PFC configuration to use an even QoS bandwidth split between the first two traffic classes.
Changes:
- Changed
configure_pfc_ndk()to create the QoS policy with a[50, 50, 0, 0, 0, 0, 0, 0]bandwidth distribution instead of[90, 10, 0, 0, 0, 0, 0, 0]. - Updated the corresponding unit test assertion to match the new QoS policy parameters.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tests/unit/test_mfd_switchmanagement/test_vendors/test_dell/test_dell_os10/test_base.py | Adjusts unit test expectation for the updated QoS bandwidth split used by NDK PFC configuration. |
| mfd_switchmanagement/vendors/dell/dell_os10/base.py | Changes the QoS policy bandwidth weights applied during configure_pfc_ndk() from 90/10 to 50/50. |
Comments suppressed due to low confidence (1)
mfd_switchmanagement/vendors/dell/dell_os10/base.py:1
- The docstring for
configure_pfc_ndkdoesn’t describe the QoS policy it applies (e.g., which TCs are affected and the intended bandwidth split). Since this PR changes behavior from 90/10 to 50/50, documenting the expected policy at a high level (and why) would reduce ambiguity for operators and future maintainers.
# Copyright (C) 2025 Intel Corporation
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Update configure_pfc_ndk to distribute bandwidth equally (50/50) across both traffic classes instead of the previous 90/10 split. Update corresponding unit test assertion to match new values. Signed-off-by: Marek Wasilewski <marek.wasilewski@intel.com>
mkwasile
force-pushed
the
change-pfc-bandwith
branch
from
June 9, 2026 09:41
4e9b8cb to
fc60eb7
Compare
mchromin
approved these changes
Jun 9, 2026
adrianlasota
approved these changes
Jun 10, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update configure_pfc_ndk to distribute bandwidth equally (50/50) across both traffic classes instead of the previous 90/10 split. Update corresponding unit test assertion to match new values.