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

DPB: Handle VLAN dependency #1150

Closed
wants to merge 1 commit into from

Conversation

vasant17
Copy link
Contributor

@vasant17 vasant17 commented Dec 13, 2019

Note: This PR is dependent on #1112 and #1147

  • VLAN dependency handling for Dynamic Port Breakout:
    Set port::VLAN_DEP bit when port is added to first VLAN
    Clear port::VLAN_DEP bit when port is removed from all VLANs

What I did
Track VLAN dependency on port and set/clear the dependency bit accordingly

Why I did it
So, that we can breakout the port when its part of VLAN(s)

How I verified it
Wrote VS test cases, and ran existing VS test cases

Details if related

* VLAN dependency handling for Dynamic Port Breakout:
    Set port::VLAN_DEP bit when port is added to first VLAN
    Clear port::VLAN_DEP bit when port is removed from all VLANs
@vasant17 vasant17 changed the title DPB: VLAN dependency handling DPB: Handle VLAN dependency Dec 13, 2019
@prsunny
Copy link
Collaborator

prsunny commented Jan 30, 2020

Is this PR relevant as #1147 is closed?

@vasant17
Copy link
Contributor Author

This is still relevant, but as discussed with Microsoft team, I will update the way we check dependency

@vasant17
Copy link
Contributor Author

Obsolete. As changes have been captured in other PR.

EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
* Fix the issue where Rx counts were overwritten by the Tx counts

Signed-off-by: Neetha John <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants