From 027de8f98aed3e43dda1f4ea09ff73e4c43bad35 Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Thu, 9 Apr 2020 08:00:15 -0700 Subject: [PATCH] Do not translateVidToRid for processBulkQuadEvent in InitViewMode (#598) --- syncd/Syncd.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/syncd/Syncd.cpp b/syncd/Syncd.cpp index 08b576b89b26..5eb1f0abc958 100644 --- a/syncd/Syncd.cpp +++ b/syncd/Syncd.cpp @@ -625,6 +625,11 @@ sai_status_t Syncd::processBulkQuadEvent( strObjectType.c_str(), objectIds.size()); + if (isInitViewMode()) + { + return processBulkQuadEventInInitViewMode(objectType, objectIds, api, attributes); + } + if (api != SAI_COMMON_API_BULK_GET) { // translate attributes for all objects @@ -638,11 +643,6 @@ sai_status_t Syncd::processBulkQuadEvent( } } - if (isInitViewMode()) - { - return processBulkQuadEventInInitViewMode(objectType, objectIds, api, attributes); - } - auto info = sai_metadata_get_object_type_info(objectType); if (info->isobjectid)