Hi Olivier, We could remove the ctrlmbuf from this app and replace it with something else, but I am afraid we do not have that something else yet defined and agreed. And I would like to avoid doing the same work twice: change this app now to replace the ctrlmbuf with something else, and then replace this something else with whatever we decide to use for message passing as part of the 1.8 mbuf refresh discussion.
We need a message type defined for message passing between cores, and pktmbuf is definitely not the right approach. I can also invent something new, but it is unlikely people will accept it now without a debate, so it will only make this problem worse. Not to mention that we do not even have consensus to remove ctrlmbuf :(. My proposal is (as also discussed with Ivan on a different thread) to take the mbuf refresh discussion during 1.8 timeframe, which should include the decision on what to use for message passing. I can commit now to send a patch for this app at that time to do these changes, would this work? Thanks, Cristian -----Original Message----- From: Olivier MATZ [mailto:olivier.m...@6wind.com] Sent: Monday, June 9, 2014 10:12 AM To: Dumitrescu, Cristian; dev at dpdk.org Subject: Re: [dpdk-dev] [v2 22/23] Packet Framework IPv4 pipeline sample app Hi Cristian, On 06/04/2014 08:08 PM, Cristian Dumitrescu wrote: > This Packet Framework sample application illustrates the capabilities of the > Intel DPDK Packet Framework toolbox. > > It creates different functional blocks used by a typical IPv4 framework like: > flow classification, firewall, routing, etc. > > CPU cores are connected together through standard interfaces built on SW > rings, which each CPU core running a separate pipeline instance. > > Please refer to Intel DPDK Sample App Guide for full description. > > Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com> Would it be possible to replace the ctrlmbuf by something else (a pktmbuf for instance)? As you know this would conflict if we want to remove the ctrlmbuf from the rte_mbuf structure. Regards, Olivier -------------------------------------------------------------- Intel Shannon Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 Business address: Dromore House, East Park, Shannon, Co. Clare This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.