Re: I want to construct some packets to be sent by a specified thread,what can I do?

Christian Hopps

UTSL. :)

vlib_buffer_enqueue_to_thread (vlib_main_t * vm, u32 frame_queue_index,
to_next_thread[0] = buffer_indices[0];

i.e., it does not copy the buffers.


On Sep 10, 2019, at 3:24 AM, wei_sky2008@... wrote:

Thank you for your response。
I still have another question,does this mechanism involve copying?We need to ensure packet forwarding efficiency -=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13933):
Mute This Topic:
Group Owner: vpp-dev+owner@...
Unsubscribe: [chopps@...]

Join to automatically receive all group messages.