Re: [vpp-dev] I want to construct some packets to be sent by a specified thread,what can I do?

2019-09-11 Thread Christian Hopps
> On Sep 11, 2019, at 2:07 AM, wei_sky2...@163.com wrote: > > On Tue, Sep 10, 2019 at 12:44 AM, Christian Hopps wrote: > UTSL > Thank you for reply。 > In our scenario,we use the Intel ‘s DDP feature to hash different GTP > packets into different threads。And We want the GTP packets from the

Re: [vpp-dev] I want to construct some packets to be sent by a specified thread,what can I do?

2019-09-11 Thread wei_sky2008
On Tue, Sep 10, 2019 at 12:44 AM, Christian Hopps wrote: > > UTSL Thank you for reply。 In our  scenario,we use the Intel ‘s DDP feature to hash different GTP packets into different threads。And We want the GTP packets from the same UE to be hashed on the same thread,DDP can‘t implement this

Re: [vpp-dev] I want to construct some packets to be sent by a specified thread,what can I do?

2019-09-10 Thread 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_sky2...@163.com wrote:

Re: [vpp-dev] I want to construct some packets to be sent by a specified thread,what can I do?

2019-09-10 Thread wei_sky2008
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

Re: [vpp-dev] I want to construct some packets to be sent by a specified thread,what can I do?

2019-09-09 Thread Christian Hopps
https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vlib.html#handing-off-buffers-between-threads > On Sep 9, 2019, at 2:28 AM, wei_sky2...@163.com wrote: > > our process mode need to construct some packets which is to be sent by a > specified thread > in A thread ,a node