Thanks Damjan, this is good to know. In the past I've used the skeleton from extras/emacs/make-plugin.sh, which uses vlib_{get,put}_next_frame (and maybe other dated paradigms). Same for examples/sample-plugin/sample/node.c.

I see now that extras/emacs/ hasn't been updated since 2019, looks like it's no longer maintained.

Is there a recommended template to follow for new nodes? Where to look for VPP best practices?

Thanks,
Jeff

On 4/3/26 18:23, Damjan Marion via lists.fd.io wrote:
Hi Robin,

vlib_buffer_enqueue_to_next is more optimized and simpler to use and most of 
new features are using it.
vlib_{get,put}_next_frame is there for compatibility reasons, still many nodes 
are using it.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26932): https://lists.fd.io/g/vpp-dev/message/26932
Mute This Topic: https://lists.fd.io/mt/118569760/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to