sonic-net / sonic-sairedis

SAI object interface to Redis database, as used in the SONiC project
Other
56 stars 263 forks source link

[syncd] Add workaround for SET operation on SAI_HOSTIF_ATTR_QUEUE #1345

Closed kcudnik closed 7 months ago

kcudnik commented 7 months ago

On broadcom platform it may happen on warm boot that new firmware will support query switch capability SET operation for this attribute, but firmware is not actually implementing that operation, OA in this case will add new attribute SAI_HOSTIF_ATTR_QUEUE to create HOSTIF object, and comparison logic will generate SET operation to update existing object. If set is not supported, then this will cause syncd to crash because operation will be not successfull.

We are adding this workaround for time being until this will be supported, then this needs to be removed.