> why do you need to open host_if_frame for each packet If you refer to the fact that I can just create one frame outside the loop, you are correct :). I tried to get the code to the simplest working example that will correctly mirror the packets so I started to "dumb down" things :) I'm aware that it is not efficient.
> why do you use vlib_get_frame_to_node instead of simply registering next > indices like 99% of VPP nodes are doing…. I followed this code example from the documentation: https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vnet.html?highlight=quad#enqueueing-packets-for-lookup-and-transmission Is there a better way of doing this?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19150): https://lists.fd.io/g/vpp-dev/message/19150 Mute This Topic: https://lists.fd.io/mt/81938105/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-