Re: [vpp-dev] set mapping from node to thread

2017-07-10 Thread Yuliang Li
Thanks Ole. Could you please be more specific on the "state space"? According to my understanding, the SNAT will remember the port mapping when a new connection from inside to outside starts. Is this the state that you mean? If so, does that mean the states are split by the RSS? On Sat, Jul 8,

Re: [vpp-dev] set mapping from node to thread

2017-07-08 Thread Ole Troan
Yulilang, > Thanks for the detailed response. > > However, from the experiment I did, I see the same packet being processed by > two threads. That is why I asked this question. Maybe I made some mistakes, > here is what I did: > > - In vlib_main_or_worker_loop function, I print out all

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Rekha Rawat (rrawat)
www w×××Sent from my Verizon, Samsung Galaxy smartphone Original message From: Florin Coras <fcoras.li...@gmail.com> Date: 7/8/17 6:41 AM (GMT+05:30) To: Yuliang Li <yuliang...@yale.edu> Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] set mapping from node t

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Yuliang Li
u32 next_frame_index; >> >> >> >> /* Special value for next_frame_index when there is no next frame. */ >> >> #define VLIB_PENDING_FRAME_NO_NEXT_FRAME ((u32) ~0) >> >> } vlib_pending_frame_t; >> >> >> >> Thanks… Dave >>

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Florin Coras
> Thanks… Dave > > > > From: Yuliang Li [mailto:yuliang...@yale.edu <mailto:yuliang...@yale.edu>] > Sent: Friday, July 7, 2017 8:04 PM > To: Dave Barach (dbarach) <dbar...@cisco.com <mailto:dbar...@cisco.com>> > Cc: vpp-dev@lists.fd.io <mailto:vpp-dev@lis

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Yuliang Li
* Special value for next_frame_index when there is no next frame. */ > > #define VLIB_PENDING_FRAME_NO_NEXT_FRAME ((u32) ~0) > > } vlib_pending_frame_t; > > > > Thanks… Dave > > > > *From:* Yuliang Li [mailto:yuliang...@yale.edu] > *Sent:* Friday, July 7, 201

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Dave Barach (dbarach)
To: Dave Barach (dbarach) <dbar...@cisco.com> Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] set mapping from node to thread Hi Dave, Thanks for the detailed response. However, from the experiment I did, I see the same packet being processed by two threads. That is why I asked this question. M

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Dave Barach (dbarach)
Sent: Friday, July 7, 2017 1:14 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] set mapping from node to thread Hi, Is there a way to set which node should run on which thread? And is there a command that shows the mapping from nodes to threads? Thanks, -- Yuliang Li PhD student Department

[vpp-dev] set mapping from node to thread

2017-07-07 Thread Yuliang Li
Hi, Is there a way to set which node should run on which thread? And is there a command that shows the mapping from nodes to threads? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list