Re: [vpp-dev] vpp node implementation

2016-11-18 Thread Dave Barach (dbarach)
From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Mli Sent: Friday, November 18, 2016 2:55 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] vpp node implementation We plan to implement a new node in VPP. I have the following 2 small questions (1) 2 + 2 prin

[vpp-dev] vpp node implementation

2016-11-18 Thread Mli
We plan to implement a new node in VPP. I have the following 2 small questions (1)2 + 2 principle For each vpp node, first it prefetch the next 2 packets (see the following codes) and then process the 2 current packets. Do we must to follow this programming style? Can we do 4+4 or 6+6