Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move QoS singleton port lookup into BfChassisManager #822

Merged
merged 3 commits into from
Aug 31, 2021

Conversation

pudelkoM
Copy link
Member

The sdk wrapper has no knowledge about singleton ports, thus can not look up the correct dev port for them. This change fixes a bug where the singleton port ID is confused with the front panel number, leading to dev port lookup errors and failing a ChassisConfig push.

@codecov
Copy link

codecov bot commented Aug 23, 2021

Codecov Report

Merging #822 (b4e2acb) into main (f715051) will decrease coverage by 0.01%.
The diff coverage is 64.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #822      +/-   ##
==========================================
- Coverage   78.60%   78.59%   -0.02%     
==========================================
  Files         334      334              
  Lines       30011    30039      +28     
==========================================
+ Hits        23590    23608      +18     
- Misses       6421     6431      +10     
Impacted Files Coverage Δ
stratum/hal/lib/barefoot/bf_chassis_manager.cc 72.41% <64.28%> (-0.25%) ⬇️

@pudelkoM pudelkoM force-pushed the bfrt-qos-singleton-ports branch 2 times, most recently from 9bc7a89 to d97d16b Compare August 30, 2021 17:20
@pudelkoM pudelkoM marked this pull request as ready for review August 30, 2021 18:48
The sdk wrapper has no knowledge about singleton ports, thus can not look up the correct dev port for them. This change fixes a bug where the singleton port ID is confused with the front panel number, leading to dev port lookup errors and failing a ChassisConfig push.
@pudelkoM pudelkoM merged commit 373b25d into main Aug 31, 2021
@pudelkoM pudelkoM deleted the bfrt-qos-singleton-ports branch August 31, 2021 20:54
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.

None yet

1 participant