sonic-swss
sonic-swss copied to clipboard
[portsorch] query SAI_HOSTIF_ATTR_QUEUE switch capability once
What I did
Support for SAI_HOSTIF_ATTR_QUEUE is a switch level capability, no need to query it per port.
Why I did it
As part of the goal to optimize boot time for systems with many ports. This one is the first step into that direction, extracting all non per-port operations.
How I verified it
Boot the system, verify no call to query SAI_HSOTIF_ATTR_QUEUE per port happens.
Details if related
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
/azpw run
/AzurePipelines run
Azure Pipelines successfully started running 1 pipeline(s).
@prsunny @liat-grozovik Could you please help to merge?