@@ -636,7 +636,7 @@ class AsicView
636
636
637
637
if (it == m_vidReference.end ())
638
638
{
639
- SWSS_LOG_THROW (" vid %s don 't exist in reference map" ,
639
+ SWSS_LOG_THROW (" vid %s doesn 't exist in reference map" ,
640
640
sai_serialize_object_id (vid).c_str ());
641
641
}
642
642
@@ -740,7 +740,7 @@ class AsicView
740
740
741
741
if (it == m_vidReference.end ())
742
742
{
743
- SWSS_LOG_THROW (" vid %s don 't exist in reference map" ,
743
+ SWSS_LOG_THROW (" vid %s doesn 't exist in reference map" ,
744
744
sai_serialize_object_id (vid).c_str ());
745
745
}
746
746
@@ -779,7 +779,7 @@ class AsicView
779
779
* @brief Insert new VID reference.
780
780
*
781
781
* Inserts new reference to be tracked. This also make sure that
782
- * reference don 't exists yet, as a sanity check if same reference
782
+ * reference doesn 't exist yet, as a sanity check if same reference
783
783
* would be inserted twice.
784
784
*
785
785
* @param[in] vid Virtual ID reference to be inserted.
@@ -1725,7 +1725,7 @@ void checkMatchedPorts(
1725
1725
*
1726
1726
* In case of really long list, easier way to solve this can be getting all the
1727
1727
* RIDs from current view (they must exist), getting all the matched RIDs from
1728
- * temporary list (if one of them don 't exists then lists are not equal) sort
1728
+ * temporary list (if one of them doesn 't exist then lists are not equal) sort
1729
1729
* both list nlog(n) and then compare sequentially.
1730
1730
*
1731
1731
* @param currentView Current view.
@@ -1814,13 +1814,13 @@ bool hasEqualObjectList(
1814
1814
if (temporaryIt == temporaryView.vidToRid .end ())
1815
1815
{
1816
1816
/*
1817
- * Temporary RID don 't exist yet for this object, so it mean's
1817
+ * Temporary RID doesn 't exist yet for this object, so it means
1818
1818
* this object will be created in the future after all
1819
1819
* comparison logic finishes.
1820
1820
*
1821
1821
* Here we know that this temporary object is not processed yet
1822
1822
* but during recursive processing we know that this OID value
1823
- * was already processed, and two things could happened :
1823
+ * was already processed, and two things could happen :
1824
1824
*
1825
1825
* - we matched existing current object for this VID and actual
1826
1826
* RID was assigned, or
@@ -1829,7 +1829,7 @@ bool hasEqualObjectList(
1829
1829
* not assigned, and this object will be created later on
1830
1830
* which will assign new RID
1831
1831
*
1832
- * Since we are here where RID don 't exist this is the second
1832
+ * Since we are here where RID doesn 't exist this is the second
1833
1833
* case, also we know that current object VID exists so his RID
1834
1834
* also exists, so those RID's can't be equal, we need return
1835
1835
* false here.
@@ -1839,7 +1839,7 @@ bool hasEqualObjectList(
1839
1839
* needs to be created.
1840
1840
*/
1841
1841
1842
- SWSS_LOG_INFO (" temporary RID don 't exists (VID %s), attributes are not equal" ,
1842
+ SWSS_LOG_INFO (" temporary RID doesn 't exist (VID %s), attributes are not equal" ,
1843
1843
sai_serialize_object_id (temporaryVid).c_str ());
1844
1844
1845
1845
return false ;
@@ -2374,15 +2374,15 @@ std::shared_ptr<SaiObj> findCurrentBestMatchForGenericObject(
2374
2374
* attributes are existing and both are equal, so here it
2375
2375
* returned false, so it may mean 2 things:
2376
2376
*
2377
- * - attribute don 't exists in current view, or
2377
+ * - attribute doesn 't exist in current view, or
2378
2378
* - attributes are different
2379
2379
*
2380
2380
* If we check if attribute also exists in current view and has
2381
2381
* CREATE_ONLY flag then attributes are different and we
2382
2382
* disqualify this object since new temporary object needs to
2383
2383
* pass new different attribute with CREATE_ONLY flag.
2384
2384
*
2385
- * Case when attribute don 't exists is much more complicated
2385
+ * Case when attribute doesn 't exist is much more complicated
2386
2386
* since it maybe conditional and have default value, we will
2387
2387
* do that check when we select best match.
2388
2388
*/
@@ -2567,7 +2567,7 @@ bool exchangeTemporaryVidToCurrentVid(
2567
2567
* This is just sanity check, should never happen.
2568
2568
*/
2569
2569
2570
- SWSS_LOG_THROW (" found tempoary RID %s but current VID don 't exists , FATAL" ,
2570
+ SWSS_LOG_THROW (" found tempoary RID %s but current VID doesn 't exist , FATAL" ,
2571
2571
sai_serialize_object_id (temporaryRid).c_str ());
2572
2572
}
2573
2573
@@ -2597,7 +2597,7 @@ bool exchangeTemporaryVidToCurrentVid(
2597
2597
* struct and do dictionary lookup on serialized neighbor_entry.
2598
2598
*
2599
2599
* With this approach for many entries this is the quickest possible way. In
2600
- * case when RID don 't exist, that means we have invalid neighbor entry, so we
2600
+ * case when RID doesn 't exist, that means we have invalid neighbor entry, so we
2601
2601
* must return null.
2602
2602
*
2603
2603
* @param currentView Current view.
@@ -2680,7 +2680,7 @@ std::shared_ptr<SaiObj> findCurrentBestMatchForNeighborEntry(
2680
2680
* and do dictionary lookup on serialized route_entry.
2681
2681
*
2682
2682
* With this approach for many entries this is the quickest possible way. In
2683
- * case when RID don 't exist, that means we have invalid route entry, so we
2683
+ * case when RID doesn 't exist, that means we have invalid route entry, so we
2684
2684
* must return null.
2685
2685
*
2686
2686
* @param currentView Current view.
@@ -2761,7 +2761,7 @@ std::shared_ptr<SaiObj> findCurrentBestMatchForRouteEntry(
2761
2761
* lookup on serialized fdb_entry.
2762
2762
*
2763
2763
* With this approach for many entries this is the quickest possible way. In
2764
- * case when RID don 't exist, that means we have invalid fdb entry, so we must
2764
+ * case when RID doesn 't exist, that means we have invalid fdb entry, so we must
2765
2765
* return null.
2766
2766
*
2767
2767
* @param currentView Current view.
@@ -3230,7 +3230,7 @@ sai_object_id_t translateTemporaryVidToCurrentVid(
3230
3230
3231
3231
/*
3232
3232
* This method is used to translate temporary VID to current VID using RID
3233
- * which should be present in both views. If RID don 't exist, then we
3233
+ * which should be present in both views. If RID doesn 't exist, then we
3234
3234
* check whether object was created if so, then we return temporary VID
3235
3235
* instead of creating new current VID and we don't need to track mapping
3236
3236
* of those vids not having actual RID. This function should be used only
@@ -3496,7 +3496,7 @@ void createNewObjectFromTemporaryObject(
3496
3496
* trap group to asic view, so if user will query default one, they will be
3497
3497
* matched by RID.
3498
3498
*
3499
- * Default trap group is transferred to view on init if it don 't exist.
3499
+ * Default trap group is transferred to view on init if it doesn 't exist.
3500
3500
*
3501
3501
* There should be no such action here, since this scenario would mean that
3502
3502
* there is default switch object in temporary view, but not in current
@@ -3703,7 +3703,7 @@ void UpdateObjectStatus(
3703
3703
temporaryView.vidToRid [tvid] = rid;
3704
3704
3705
3705
/*
3706
- * TODO: Set new VID if it don 't exist in current view with NULL RID
3706
+ * TODO: Set new VID if it doesn 't exist in current view with NULL RID
3707
3707
* that will mean we created new object, this VID will be later
3708
3708
* used to count references and as a sanity check if we are
3709
3709
* increasing valid reference.
@@ -3895,7 +3895,7 @@ std::shared_ptr<SaiAttr> getSaiAttrFromDefaultValue(
3895
3895
3896
3896
if (tg == currentView.ridToVid .end ())
3897
3897
{
3898
- SWSS_LOG_THROW (" default trap group RID 0x%lx don 't exist in current view" , currentView.defaultTrapGroupRid );
3898
+ SWSS_LOG_THROW (" default trap group RID 0x%lx doesn 't exist in current view" , currentView.defaultTrapGroupRid );
3899
3899
}
3900
3900
3901
3901
sai_attribute_t at;
0 commit comments