Skip to content

DPB: Handle VLAN dependency#1150

Closed
vasant17 wants to merge 1 commit intosonic-net:masterfrom
vasant17:DPB_VLAN_DEPENDENCY
Closed

DPB: Handle VLAN dependency#1150
vasant17 wants to merge 1 commit intosonic-net:masterfrom
vasant17:DPB_VLAN_DEPENDENCY

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