sonic-swss
sonic-swss copied to clipboard
Don't query buffer profile attributes before APPLY_VIEW
Change required to not query SAI_QUEUE_ATTR_BUFFER_PROFILE_ID and SAI_INGRESS_PRIORITY_GROUP_ATTR_BUFFER_PROFILE before APPLY_VIEW, because in warm boot scenario is bringing previous buffer profile into OA scope, and this is causing extra buffer profile to be created in syncd.
Issue in depth is described here: https://github.com/Azure/sonic-sairedis/issues/1030#issuecomment-1094077178
Hello, do we have any update on this one? Thanks!
@prsunny ping
I see the original issue refers to zero-buffer pools. A related change is here - https://github.com/Azure/sonic-swss/pull/2304. @neethajohn , @stephenxs , can you check if its related?
I see the original issue refers to zero-buffer pools. A related change is here - #2304. @neethajohn , @stephenxs , can you check if its related?
I’ll check it. Originally the purpose was to share the zero buffer profile by PFCWD with the existing one. Now that we will not apply zero buffer profile on ingress side, this change is not required
#2304
Hi, I doubt if this problem has anything to do with #2304. #2231 is seen specifically when warmboot is done while PFC storm is ongoing. After warmboot we see 4 zero buffer profiles instead of the expected and that throws things into disarray.
I see the original issue refers to zero-buffer pools. A related change is here - #2304. @neethajohn , @stephenxs , can you check if its related?
I’ll check it. Originally the purpose was to share the zero buffer profile by PFCWD with the existing one. Now that we will not apply zero buffer profile on ingress side, this change is not required
Hi Stephen, can you please look at #2319. Why were the zero buffer profile attribute values changed as part of #2185? Thanks.
I see the original issue refers to zero-buffer pools. A related change is here - #2304. @neethajohn , @stephenxs , can you check if its related?
I’ll check it. Originally the purpose was to share the zero buffer profile by PFCWD with the existing one. Now that we will not apply zero buffer profile on ingress side, this change is not required
Hi Stephen, can you please look at #2319. Why were the zero buffer profile attribute values changed as part of #2185? Thanks.
Hi I'm working on analyzing the issue. Will let you know once I have an answer