This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

swmslink start Sequence? different will lead swms don't work well

Hi:

   today met a issue,swms start later than next link,then it's can't work well, I want to know reason,

  my link chain:

  

 if use normal start sequence,it can't work well:

 normal start sequence:

 vdis_start->vcap_start

 then I do a test, found nsf link should start early than swms0 or swms0 start up then Immediately startup nsf0

 these two situation can work well,

if start swms0 first,then delay 1 second to start nsf0, it can work well , the issue is:

 the swms put back the butt to preview link, log msg is:

d
 [m3vpss ]  
 [m3vpss ]  *** CAPTURE Statistics *** 
 [m3vpss ] 964800: CAPTURE: Queued to driver = 44, Dequeued from driver = 33
 [m3vpss ] CAPTURE [0] Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
 [m3vpss ] Full Q -> count 0, wrPtr 33, rdPtr 33
 [m3vpss ]  
 [m3vpss ]  *** [DUP0] DUP Statistics *** 
 [m3vpss ] 964851: DUP: Rcvd from prev = 6, Returned to prev = 0
 [m3vpss ]  
 [m3vpss ]  *** [DUP0] Dup channel statisc*****
 [m3vpss ] Channel      |ForwardCount   |ReleaseCount
 [m3vpss ] 00           |6              |5
 [m3vpss ] 01           |0              |0
 [m3vpss ] dup Channel 00 Buf Q Status
 [m3vpss ] Empty Q -> count 319, wrPtr 325, rdPtr 6
 [m3vpss ] Full Q -> count 0, wrPtr 6, rdPtr 6
 [m3vpss ] dup Channel 01 Buf Q Status
 [m3vpss ] Empty Q -> count 314, wrPtr 320, rdPtr 6
 [m3vpss ] Full Q -> count 6, wrPtr 6, rdPtr 0
 [m3vpss ]  
 [m3vpss ]  *** [MERGE0] Merge Statistics *** 
 [m3vpss ] Channel      |FrameInputCount        |FrameReturnCount
 [m3vpss ] 00           |6                      |5
 [m3vpss ] 01           |0                      |0
 [m3vpss ] MERGE0 Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
 [m3vpss ] Full Q -> count 0, wrPtr 6, rdPtr 6
 [m3vpss ]  
 [m3vpss ]  *** [NSF0] NSF Statistics *** 
 [m3vpss ] 964902: NSF: Rcvd from prev = 0, Returned to prev = 0
 [m3vpss ] NSF Out [0] Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
 [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
 [m3vpss ]  
 [m3vpss ]  *** [SWMS1] Mosaic Statistics *** 
 [m3vpss ] 964903: SWMS: Rcvd from prev = 6, Returned to prev = 5
 [m3vpss ] SWMS Out  Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 39, rdPtr 39
 [m3vpss ] Full Q -> count 1, wrPtr 39, rdPtr 38
 [m3vpss ]  
 [m3vpss ]  *** [SWMS0] Mosaic Statistics *** 
 [m3vpss ] 965904: SWMS: Rcvd from prev = 33, Returned to prev = 0
 [m3vpss ] SWMS Out  Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 6, rdPtr 6
 [m3vpss ] Full Q -> count 0, wrPtr 6, rdPtr 6
 [m3vpss ]  
 [m3vpss ]  *** Display Statistics *** 
 [m3vpss ] 966904: DISPLAY: Rcvd from prev = 24734, Returned to prev = 24730, BufsInDriver = 6

the swms link should start as special sequence?  or it's bug?

my RDK version RDK350

 Add that:

           if  not start link display, swms0 and swm1 both can't work well.the log msg as below:

 [m3vpss ]  
 [m3vpss ]  *** CAPTURE Statistics *** 
 [m3vpss ] 1396191: CAPTURE: Queued to driver = 44, Dequeued from driver = 33
 [m3vpss ] CAPTURE [0] Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
 [m3vpss ] Full Q -> count 0, wrPtr 33, rdPtr 33
 [m3vpss ]  
 [m3vpss ]  *** [DUP0] DUP Statistics *** 
 [m3vpss ] 1396241: DUP: Rcvd from prev = 9, Returned to prev = 3
 [m3vpss ]  
 [m3vpss ]  *** [DUP0] Dup channel statisc*****
 [m3vpss ] Channel      |ForwardCount   |ReleaseCount
 [m3vpss ] 00           |9              |3
 [m3vpss ] 01           |9              |9
 [m3vpss ] dup Channel 00 Buf Q Status
 [m3vpss ] Empty Q -> count 314, wrPtr 323, rdPtr 9
 [m3vpss ] Full Q -> count 0, wrPtr 9, rdPtr 9
 [m3vpss ] dup Channel 01 Buf Q Status
 [m3vpss ] Empty Q -> count 320, wrPtr 329, rdPtr 9
 [m3vpss ] Full Q -> count 0, wrPtr 9, rdPtr 9
 [m3vpss ]  
 [m3vpss ]  *** [MERGE0] Merge Statistics *** 
 [m3vpss ] Channel      |FrameInputCount        |FrameReturnCount
 [m3vpss ] 00           |9                      |3
 [m3vpss ] 01           |9                      |2
 [m3vpss ] MERGE0 Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
 [m3vpss ] Full Q -> count 0, wrPtr 18, rdPtr 18
 [m3vpss ]  
 [m3vpss ]  *** [NSF0] NSF Statistics *** 
 [m3vpss ] 1396292: NSF: Rcvd from prev = 9, Returned to prev = 9
 [m3vpss ] NSF Out [0] Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
 [m3vpss ] Full Q -> count 0, wrPtr 9, rdPtr 9
 [m3vpss ]  
 [m3vpss ]  *** [SWMS1] Mosaic Statistics *** 
 [m3vpss ] 1396293: SWMS: Rcvd from prev = 18, Returned to prev = 5
 [m3vpss ] SWMS Out  Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 5, rdPtr 5
 [m3vpss ] Full Q -> count 5, wrPtr 5, rdPtr 0
 [m3vpss ]  
 [m3vpss ]  *** [SWMS0] Mosaic Statistics *** 
 [m3vpss ] 1397293: SWMS: Rcvd from prev = 33, Returned to prev = 0
 [m3vpss ] SWMS Out  Buf Q Status
 [m3vpss ] Empty Q -> count 0, wrPtr 9, rdPtr 9
 [m3vpss ] Full Q -> count 0, wrPtr 9, rdPtr 9