sonic-swss
sonic-swss copied to clipboard
Dynamic port configuration - add port buffer cfg to the port ref counter
What I did
This PR replace PR #2022
Added increasing/decreasing to the port ref counter each time a port buffer configuration is added or removed Implemented according to the - https://github.com/Azure/SONiC/pull/900
Why I did it In order to avoid cases where a port is removed before the buffer configuration on this port were removed also
How I verified it VS Test was added in order to test it. we remove a port with buffer configuration and the port is not removed. only after all buffer configurations on this port were removed - this port will be removed.
Details if related
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run
/azp run Azure.sonic-swss
Azure Pipelines successfully started running 1 pipeline(s).
/azp run Azure.sonic-swss
Commenter does not have sufficient privileges for PR 2194 in repo Azure/sonic-swss
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run