Skip to content

[bufferorch] : Support for buffer profiles for VoQ on chassis#2465

Merged
vmittal-msft merged 2 commits intosonic-net:masterfrom
vmittal-msft:vmittal/chassis-voq
Dec 21, 2022
Merged

[bufferorch] : Support for buffer profiles for VoQ on chassis#2465
vmittal-msft merged 2 commits intosonic-net:masterfrom
vmittal-msft:vmittal/chassis-voq

Conversation

@vmittal-msft
Copy link
Contributor

@vmittal-msft vmittal-msft commented Sep 20, 2022

What I did
Added support for applying QoS profiles on VoQ on chassis

Why I did it
egress_lossy_profile/egress_lossless_profiles were not applied on remote ports on the DUT and were only available for local ports.

How I verified it
Verified that buffer profiles are applied properly on lossy/lossless VoQs on real HW.

Details if related
This PR is dependent on -

#1913
sonic-net/sonic-buildimage#12156
#2467

@vmittal-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vmittal-msft vmittal-msft force-pushed the vmittal/chassis-voq branch 5 times, most recently from 194dc69 to 347a3ae Compare October 12, 2022 19:52
@neethajohn neethajohn requested a review from stephenxs October 13, 2022 22:27
@lgtm-com
Copy link

lgtm-com bot commented Oct 25, 2022

This pull request introduces 1 alert and fixes 1 when merging b9edabe into dbdf31c - view on LGTM.com

new alerts:

  • 1 for Unused import

fixed alerts:

  • 1 for Unused local variable

return task_process_status::task_invalid_entry;
}
if (port.m_queue_lock[ind])
std :: vector<sai_object_id_t> queue_ids = gPortsOrch->getPortVoQIds(port);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like it can be called only once out of the loop.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please elaborate ? If you are comparing this with regular queue, i am not using port.m_queue_lock[ind] check. Is that a problem ?

@vmittal-msft vmittal-msft force-pushed the vmittal/chassis-voq branch 2 times, most recently from 0603883 to ab22eba Compare December 1, 2022 05:55
@vmittal-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vmittal-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 2465 in repo sonic-net/sonic-swss

@vmittal-msft vmittal-msft force-pushed the vmittal/chassis-voq branch 2 times, most recently from 58d4276 to 60ec2df Compare December 10, 2022 22:25
@prsunny
Copy link
Collaborator

prsunny commented Dec 16, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Collaborator

prsunny commented Dec 19, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Updated swss with latest from master

temp check in

review feedback

Commented out test for chassis

fix for compilation issue

Fixed test failure

feedback comments

fix for processQ

fix for processQ

fix for processQ

mock test update

test_vlan.py fix

skipping failing test for virtual chassis

disable test_PortAutoNegWarm test

minor fix

disabling virtual chassis tests for now

temp check in

unskip failing test

unkipped sonic-net#2 test

fix minor errors

temporarily disable test as PR sonic-net#2541 is having the fix
@vmittal-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yxieca
Copy link
Contributor

yxieca commented Jan 5, 2023

@vmittal-msft cherry-picking this PR to 202205 branch causes build failure, please raise separate PR.

Failure message:
portsorch.cpp:7795:12: note: suggested alternative: 'gbport_stat_ids'return m_port_voq_ids[port.m_alias];^~~~~~~~~~~~~~gbport_stat_ids

vmittal-msft added a commit to vmittal-msft/sonic-swss that referenced this pull request Jan 12, 2023
prsunny pushed a commit that referenced this pull request Mar 8, 2023
…#2618)

* Support for buffer profiles for VoQ on chassis
* Always enable VoQ as well as TxQ stats for chassis.
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants