Hi Nagp,

It picks up those next-nodes because it is a sibling of ip4-lookup – by 
definition siblings share next-nodes. The VLIB code ensures this by tracking 
sibling relationships and adding a next node to all siblings.

Regards,
neale

From: <vpp-dev-boun...@lists.fd.io> on behalf of Nagaprabhanjan Bellaru 
<nagp.li...@gmail.com>
Date: Wednesday, 25 January 2017 at 15:13
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] How are dpo nodes plugged in the graph?

Hi,
I am trying to understand how the nodes defined in the dpo files, for example 
"lookup-ip4-dst-itf" in lookup_dpo.c are linked to the graph in the data plane.
For example, "show vlib graph" shows a number of next nodes for 
"lookup-ip4-dst-itf" like "ip4-local", "ip4-arp", "ip4-glean" etc., but I dont 
see any plumbing code that makes this binding.
Any help in understanding this would be great!
Thanks,
-nagp
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to