Hi Kingwei, [nr] if you skip this then the tunnels are not part of the FIB graph and hence any updates in the forwarding to the tunnel’s destination will go unnoticed and hence you potentially black hole the tunnel traffic indefinitely (since the tunnel is not re-stacked). It is a linked list, but apart from the pool allocation of the list element, the list element insertion is O(1), no? [kingwel] You are right that the update will not be noticed, but we think it is acceptable for a p2p tunnel interface. The list element itself is ok when being inserted, but the following restack operation will walk through all inserted elements. This is the point I’m talking about. restacking will indeed walk all of the child objects of a parent, but this is an operation that occurs only when the forwarding of that parent changes (which in this case is the route to the tunnel’s destination) and this walk is done asynchronously, since the child uses a recursive path. You should not see these walks occurring whilst you are creating tunnels (please confirm) so they should not affect the tunnel setup time.
/neale -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8991): https://lists.fd.io/g/vpp-dev/message/8991 View All Messages In Topic (10): https://lists.fd.io/g/vpp-dev/topic/17543966 Mute This Topic: https://lists.fd.io/mt/17543966/21656 New Topic: https://lists.fd.io/g/vpp-dev/post Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656 Group Home: https://lists.fd.io/g/vpp-dev Contact Group Owner: vpp-dev+ow...@lists.fd.io Terms of Service: https://lists.fd.io/static/tos Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub -=-=-=-=-=-=-=-=-=-=-=-