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];
to_next_thread++;
n_left_to_next_thread--;

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

Thanks,
Chris.

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): https://lists.fd.io/g/vpp-dev/message/13933
Mute This Topic: https://lists.fd.io/mt/34077019/1826170
Group Owner: vpp-dev+owner@...
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [chopps@...]
-=-=-=-=-=-=-=-=-=-=-=-

Join vpp-dev@lists.fd.io to automatically receive all group messages.