Hi Ranadip, 

Yes, the session layer updates all vms when it adds a new arc from 
session_queue_node to whatever the transport wants to use for output. I don’t 
remember now why we did things that way, but it may be that it’s not needed 
anymore. 

Florin

> On Oct 2, 2019, at 9:23 PM, Ranadip Das <ranadip....@gmail.com> wrote:
> 
> The session_register_transport() has the foreach code.
> 
>  1381  /* *INDENT-OFF* */
>  <> 1382  if (output_node != ~0)
>  <> 1383  {
>  <> 1384  foreach_vlib_main 
> <https://docs.fd.io/vpp/19.08/db/d96/threads_8h.html#a26faa6aef056b1bbb12dc83ce874923c>
>  (({
>  <> 1385  next_index = vlib_node_add_next 
> <https://docs.fd.io/vpp/19.08/d8/dd1/node__funcs_8h.html#a09e4a0c3cf563727b0132cbac6429021>
>  (this_vlib_main,
>  <> 1386  session_queue_node 
> <https://docs.fd.io/vpp/19.08/da/d46/session_8h.html#a6ce226a8e2ca912465cb5e93a288b7c8>.index,
>  <> 1387  output_node);
>  <> 1388  }));
>  <> 1389  }
>  <> 1390  /* *INDENT-ON* */
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#14103): https://lists.fd.io/g/vpp-dev/message/14103
> Mute This Topic: https://lists.fd.io/mt/34376308/675152
> Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480544
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [fcoras.li...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14109): https://lists.fd.io/g/vpp-dev/message/14109
Mute This Topic: https://lists.fd.io/mt/34376308/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to